-
Notifications
You must be signed in to change notification settings - Fork 140
Assignment 2
Yulei Sui edited this page Mar 2, 2021
·
33 revisions
$tree Assignment-2
├── Assignment-2.cpp
├── Assignment-2.h
├── CMakeLists.txt
├── Test2.h
└── testcase
├── bc
│ ├── test1.ll
│ └── test2.ll
├── dot
│ ├── icfg_test1.dot
│ └── icfg_test2.dot
└── src
├── test1.c
└── test2.c
* Before coding, please type cd $HOME/SVF-Teaching and git pull in your terminal to make sure you always have the latest version of the code template before each assignment.

- Implement
DFSmethods of classICFGTraversalinAssignment-2.cpp - Pass the test without any assertion by
Test2.h

- Open the dot file in
/Assignment-2/testcase/dot/icfg_test1.dotwhich is the ICFG of the program and call out the command palette

- Enter
Graphvizand select `Interactive Preview (beside)

- You will see the ICFG on the right hand side
