Skip to content

Commit

Permalink
Step 5: lookup ntoh* macros
Browse files Browse the repository at this point in the history
  • Loading branch information
b1tg committed Mar 20, 2021
1 parent d24d9a9 commit 55955ea
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 5_macro_definitions.ql
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
import cpp

from Macro m
where m.getName() in ["ntohs", "ntohl", "ntohll"]
select m, "ntoh* macros"

2 comments on commit 55955ea

@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 d24d9a9 and 55955ea after push to refs/heads/main:

  • 5_macro_definitions.ql

Results for 5_macro_definitions.ql: correct (4 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 5 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.