CodeQL library for C/C++
codeql/cpp-all 0.12.10 (changelog, source)
Search

Predicate getInsecureAlgorithmRegex

Gets the regular expression used for matching strings that look like they contain an algorithm that is known to be insecure.

Consider using isInsecureEncryption rather than accessing this regular expression directly.

Import path

import semmle.code.cpp.security.Encryption
string getInsecureAlgorithmRegex()