We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89bea60 commit f956112Copy full SHA for f956112
cpp/ql/src/Likely Bugs/Likely Typos/UsingStrcpyAsBoolean.ql
@@ -21,10 +21,7 @@ import semmle.code.cpp.dataflow.DataFlow
21
* code).
22
*/
23
class InterestingStrcpyFunction extends StrcpyFunction {
24
- InterestingStrcpyFunction()
25
- {
26
- getType().getUnspecifiedType() instanceof PointerType
27
- }
+ InterestingStrcpyFunction() { getType().getUnspecifiedType() instanceof PointerType }
28
}
29
30
predicate isBoolean(Expr e1) {
0 commit comments