-
Notifications
You must be signed in to change notification settings - Fork 19
Assignment 3
Yulei Sui edited this page Apr 20, 2022
·
2 revisions
$tree Assignment-3
├── Assignment-3.cpp
├── Assignment-3.h
├── CMakeLists.txt
├── Test3.cpp
* Before coding, please type cd $HOME/Teaching-Software-Verification
and git pull
in your terminal to make sure you always have the latest version of the code template before each assignment.
If git pull
fails due to the conflict with your local changes, type git stash
to store your current code in a temporal branch and type git pull
again. If you want to retrieve your code back, type git stash pop
.
Make sure to switch your program to assign-3
before coding.
- Implement methods from
Z3ExampleMgr::test1()
toZ3ExampleMgr::test7()
in classZ3ExampleMgr
inAssignment-3.cpp
- Pass the test without any assertion by
Test3.cpp
. - Submit
Assignment-3.cpp
to canvas. Your implementation will be evaluated against our 7 internal tests. You will get the full marks if your code can pass them all. We have providedZ3ExampleMgr::test0()
inTest3.cpp
as an example to help get started.
*You will be working on Assignment-3.cpp
only and there is NO need to modify other files under the Assignment-3 folder
SVF Z3Mgr APIs to help with your implementation SVF Z3Mgr API.
Visualize ICFG by following here
You can debug by printing all the values of all expressions using printExprValues()
method in Z3ExampleMgr
class.