Skip to content

Commit 0ce1a1b

Browse files
committed
Rust: Make the qldoc for hasher-input MAD sinks a bit clearer.
1 parent ce98214 commit 0ce1a1b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rust/ql/lib/codeql/rust/security/WeakSensitiveDataHashingExtensions.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,8 @@ module ComputationallyExpensiveHashFunction {
174174
}
175175

176176
/**
177-
* An externally modeled operation that hashes data, for example a call to `md5::Md5::digest(data)`.
177+
* An externally modeled operation that hashes data, for example a call to `md5::Md5::digest(data)`. The
178+
* model should identify the argument of a call that is the data to be hashed.
178179
*/
179180
class ModeledHashOperation extends Cryptography::CryptographicOperation::Range {
180181
DataFlow::Node input;

0 commit comments

Comments
 (0)