Lab Exercise 3 - SVF-tools/Software-Security-Analysis GitHub Wiki

Lab-Exercise-3 folder layout

$tree
├── CMakeLists.txt
├── CPP
│   ├── AEMgr.cpp
│   ├── AEMgr.h
│   └── test.cpp
└── Python
    └── Lab3.ipynb

1. Get the latest Lab-Exercise-3 code template

Before coding, update your local repository:

cd "$HOME/Software-Security-Analysis"
git pull

if you use pysvf, update pysvf

pip install pysvf -U  # or: pip install -U pysvf --force-reinstall

1.1 Launch.json

For C++, see this section (recommended)
For Python, see this section

2. Lab Exercise 3 task

For C++, see this section (recommended)
For Python, see this section

3. Debugging

For C++, see this section (recommended)
For Python, see this section

4. Widening and Narrowing implementation for the below loop example in lecture slides

For C++, see this section (recommended)
For Python, see this section