CodeQL library for Rust
codeql/rust-all 0.2.6 (changelog, source)
Search

Class NormalHashFunction::Sink

A data flow sink for “use of a broken or weak cryptographic hashing algorithm on sensitive data” vulnerabilities that applies to data that does not require computationally expensive hashing. That is, a broken or weak hashing algorithm.

Import path

import codeql.rust.security.WeakSensitiveDataHashingExtensions

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAlgorithmName

Gets the name of the weak hashing algorithm.

getSinkType

Gets a string that describes the type of this sink (usually the query it applies to).

Inherited predicates

asExpr

Gets the expression that corresponds to this node, if any.

from NodePublic
asParameter

Gets the parameter that corresponds to this node, if any.

from NodePublic
asPat

Gets the pattern that corresponds to this node, if any.

from NodePublic
getLocation

Gets the location of this node.

from NodePublic
toString

Gets a textual representation of this node.

from NodePublic