-
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.
Merge pull request #11 from dnsdudrla97/step-6
step-6
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,14 @@ | ||
import cpp | ||
|
||
// from FunctionCall call, Function fcn | ||
// where | ||
// call.getTarget() = fcn and | ||
// fcn.getDeclaringType().getSimpleName() = "map" and | ||
// fcn.getDeclaringType().getNamespace().getName() = "std" and | ||
// fcn.hasName("find") | ||
// select call | ||
|
||
from FunctionCall call | ||
where | ||
call.getTarget().getName() = "memcpy" | ||
select call |
66173cf
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.
1 query changed between
9555679
and66173cf
after push torefs/heads/main
:6_memcpy_calls.ql
Results for
6_memcpy_calls.ql
: correct (596 results)66173cf
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 6 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.