mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
C++: Make output clearer in cases where the function name is a macro expansion (I've seen this more than once).
This commit is contained in:
@@ -82,4 +82,6 @@ where
|
||||
amount = strictcount(Expr e | computeHeuristic(e) and e.getEnclosingFunction() = f) and
|
||||
amount >= 8 and
|
||||
exists(f.getFile().getRelativePath()) // exclude library files
|
||||
select f, "This may be a custom implementation of a cryptographic primitive."
|
||||
select f,
|
||||
"This function, \"" + f.getName() +
|
||||
"\", may be a custom implementation of a cryptographic primitive."
|
||||
|
||||
Reference in New Issue
Block a user