seclab-ucr / SyzGenPlusPlus

MIT License
7 stars 2 forks source link

Missing requirements.txt #1

Open threeearcat opened 1 month ago

threeearcat commented 1 month ago

Hello,

I'm trying to run SyzGen++ on my machine. In this repo, I can find setup.sh which seems to set up the environment for running SyzGen++. I ran it and I immediately ran into ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt', as there is no requirements.txt in the repo.

Could you check this please?

Thank you

threeearcat commented 1 month ago

I tried to install some python packages (eg, angr) manually, and ran genConfig.py like python scripts/genConfig.py --name 6.8 -t linux --type qemu --image linux-distro/image --version 6.8. And I saw a python error like ImportError: cannot import name 'ExternalCodeLocation' from 'angr.analyses.reaching_definitions.external_codeloc' (SyzGenPlusPlus/fuzz/lib/python3.12/site-packages/angr/analyses/reaching_definitions/external_codeloc.py).

Could you help me solve this? Many thanks.

x0v0l commented 1 month ago

I solved this python error by downgrading angr to version 9.2.63. I found (https://docs.angr.io/en/v9.2.63/_modules/angr/analyses/reaching_definitions/external_codeloc.html) that module ExternalCodeLocation exists in version 9.2.63. However, through 'pip install angr' I downloaded the latest version of angr (version 9.2.102). Therefore, I attempted to downgrade angr to resolve this problem.

FINatiend commented 1 month ago

I solved this python error by downgrading angr to version 9.2.63. I found (https://docs.angr.io/en/v9.2.63/_modules/angr/analyses/reaching_definitions/external_codeloc.html) that module ExternalCodeLocation exists in version 9.2.63. However, through 'pip install angr' I downloaded the latest version of angr (version 9.2.102). Therefore, I attempted to downgrade angr to resolve this problem.

Hello, I have a usage problem, Can you run the following command normally? Will there be a situation where failed to connect to debugger occurs?

python main.py --target autofs --find_cmds --dynamic