Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 37c8e32

Browse files
committed
Step 2.1
1 parent 9c47820 commit 37c8e32

File tree

4 files changed

+609
-1
lines changed

4 files changed

+609
-1
lines changed

courses/cpp/uboot/answers/step-21.ql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/**
2+
* @kind problem
3+
*/
4+
5+
import cpp
6+
7+
from Function f, FunctionCall fc
8+
where f.getName() = "memcpy" and
9+
fc.getTarget() = f
10+
select fc, "a call to memcpy"

courses/cpp/uboot/image/config/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"expectedResults": {
55
"step-11.ql": "step-11.csv",
66
"step-12.ql": "step-12.csv",
7-
"step-13.ql": "step-13.csv"
7+
"step-13.ql": "step-13.csv",
8+
"step-21.ql": "step-21.csv"
89
}
910
}

0 commit comments

Comments
 (0)