Skip to content

Commit 808d443

Browse files
committed
Step 7
1 parent 84ed435 commit 808d443

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

7_macro_invocations.ql

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
import cpp
12

3+
from MacroInvocation mi
4+
where mi.getMacroName() = "ntohs" or mi.getMacroName() = "ntohl" or mi.getMacroName() = "ntohll"
5+
select mi, "macro invokation found"

0 commit comments

Comments
 (0)