mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
add initial work for openssl signatures add basic C test files for ciphers and signatures more signature classes, comments for evp base classes more signature tests fix super calls for input consumers fix getOutputArtifact for tests formatting delete redundant test files move algorithm methods to OpenSSLOperation refactor ECKeyGenOperation for new EVP classes formatting fix getOutputArtifact fix cipher and digest operation test results mv openssl signature to another PR
15 lines
412 B
Plaintext
15 lines
412 B
Plaintext
import cpp
|
|
private import OpenSSLOperationBase
|
|
|
|
abstract class EVP_Hash_Initializer extends EVPInitialize { }
|
|
|
|
class EVP_DigestInit_Variant_Calls extends EVP_Hash_Initializer {
|
|
EVP_DigestInit_Variant_Calls() {
|
|
this.(Call).getTarget().getName() in [
|
|
"EVP_DigestInit", "EVP_DigestInit_ex", "EVP_DigestInit_ex2"
|
|
]
|
|
}
|
|
|
|
override Expr getAlgorithmArg() { result = this.(Call).getArgument(1) }
|
|
}
|