Skip to content

Commit

Permalink
shorten query
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhnt2 committed Apr 15, 2020
1 parent 79467cf commit 49c2c78
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions 6_memcpy_calls.ql
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import cpp

from FunctionCall call, Function f
from FunctionCall call
where
call.getTarget() = f and
f.getName() = "memcpy"
call.getTarget().getName() = "memcpy"
select call

1 comment on commit 49c2c78

@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 4fce4ec and 49c2c78 after push to refs/heads/step-6:

  • 6_memcpy_calls.ql

Results for 6_memcpy_calls.ql: correct (596 results)

Please sign in to comment.