-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
18a1ae6
commit 453c243
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
|
||
import cpp | ||
from MacroInvocation maci | ||
where maci.getMacro().getName().regexpMatch("ntoh(s|l|ll)") | ||
select maci.getExpr() | ||
//搜索宏定义的调用 |
453c243
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 queries changed between
4511dfe
and453c243
after push torefs/heads/step-8
:7_macro_invocations.ql
8_macro_expressions.ql
Results for
7_macro_invocations.ql
: correct (107 results)Results for
8_macro_expressions.ql
: correct (107 results)453c243
There was a problem hiding this comment.
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 8 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.