Skip to content

Commit

Permalink
Added step 4 code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Carlos Andreu committed Nov 30, 2020
1 parent 1c40f8c commit d4a9435
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 4_memcpy_definitions.ql
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@

import cpp

from Function f
where f.getName() = "memcpy"
select f, "a function named memcpy"

2 comments on commit d4a9435

@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 1c40f8c and d4a9435 after push to refs/heads/step-4:

  • 4_memcpy_definitions.ql

Results for 4_memcpy_definitions.ql: correct (3 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 4 finds the correct results!

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

Please sign in to comment.