Skip to content

Commit

Permalink
Step 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bellma committed Jun 9, 2022
1 parent e162f57 commit 1b66d78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 7_macro_invocations.ql
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
import cpp

from MacroInvocation m
where m.getMacroName() in ["ntohs", "ntohl", "ntohll"]
select m, "a macro invocation to ntohXX"

2 comments on commit 1b66d78

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 query changed between e162f57 and 1b66d78 after push to refs/heads/main:

  • 7_macro_invocations.ql

Results for 7_macro_invocations.ql: correct (107 results)

@github-learning-lab
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations, looks like the query you introduced for step 7 finds the correct results!

Merge this Pull Request (unless you're on main), and take a look at the instructions for the next step to continue.

Please sign in to comment.