Update LateCheckOfFunctionArgument.ql

This commit is contained in:
ihsinme
2021-03-09 18:22:11 +03:00
committed by GitHub
parent 07769c7322
commit c281820f0f

View File

@@ -61,4 +61,6 @@ where
dominates(ifc1, fc) and
globalValueNumber(fc.getArgument(na)) = globalValueNumber(ifc1.getCondition().getAChild*())
)
select fc, "The value of argument '$@' appears to be checked after the call, rather than before it.", fc.getArgument(na), fc.getArgument(na).toString()
select fc,
"The value of argument '$@' appears to be checked after the call, rather than before it.",
fc.getArgument(na), fc.getArgument(na).toString()