Skip to content

Commit ff1dbda

Browse files
committed
Step 8
1 parent 808d443 commit ff1dbda

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

8_macro_expressions.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.getExpr(), "macro invokation found"

0 commit comments

Comments
 (0)