---
tags: comp-decomp
title: Perturbing Manually
---
# Environment
Use the `perturb_manually.py` to initiate the perturbation environment. It uses `initial.pyc` as the target pyc file. While it utilizes the `temp.py` in `test` folder as where you can manually perturb.
Usage:
```
python bin/perturb_manually.py
```
For each iteration, it generates two files:
1. `initial.png`: This will be the cfg of the target file
2. `temp.png`: This will be the cfg for the perturbed file
Setup the windows as follows for effective testing:

# Reading supporting Data:
Additionally the script loads the data from previous data and finds closest matching for remaining of the target binary.
It outputs the meta data in file `temp.log`.
It first contains the closest matching code (seed):
Example:

And then following it, it contains code for each offset in target binary as follows:
