mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
Update cpp/ql/src/experimental/Security/CWE/CWE-1041/FindWrapperFunctions.ql
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
@@ -49,7 +49,7 @@ predicate conditionsOutsideWrapper(FunctionCall fcp) {
|
||||
not exists(ExprCall ectmp | fcp = ectmp.getAnArgument().getAChild*())
|
||||
}
|
||||
|
||||
/** Held if the conditions for calling `fcp` inside the `fnp` wrapper function are met. */
|
||||
/** Holds if the conditions for calling `fcp` inside the `fnp` wrapper function are met. */
|
||||
pragma[inline]
|
||||
predicate conditionsInsideWrapper(FunctionCall fcp, Function fnp) {
|
||||
not exists(FunctionCall fctmp2 |
|
||||
|
||||
Reference in New Issue
Block a user