-
Notifications
You must be signed in to change notification settings - Fork 145
Assignment 2
JoelYYoung edited this page Jul 30, 2026
·
34 revisions
$tree Assignment-2
├── Assignment-2.cpp
├── Assignment-2.h
├── CMakeLists.txt
├── test-exes
│ └── Test.cpp
└── testcase
├── bc
│ ├── test1.ll
│ ├── test2.ll
│ └── test3.ll
└── src
├── test1.c
├── test2.c
└── test3.c
Make sure to switch your program to ass2 before coding.
- Implement
DFSmethods of classICFGTraversalinAssignment-2.cpp. - Pass the tests without any assertion using
test-exes/Test.cpp. - Submit
Assignment-2.cppto canvas. Your implementation will be evaluated against our 10 internal tests, which are not publicly available. You are encouraged to add more test cases by yourself to validate the correctness of your implementation.
*You will be working on Assignment-2.cpp only and there is NO need to modify other files under the Assignment-2 folder
SVF APIs to help with your implementation SVF CPP API.
Visualize ICFG by following here.
We have also provided three test cases under testcase/src and their corresponding LLVM bc files under testcase/bc. You are encouraged to add more test cases by yourself to validate the correctness of your implementation.