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:
ihsinme
2021-10-08 11:50:45 +03:00
committed by GitHub
parent 13741ba137
commit d79596354e

View File

@@ -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 |