Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing requirements.txt #1

Open
threeearcat opened this issue May 7, 2024 · 3 comments
Open

Missing requirements.txt #1

threeearcat opened this issue May 7, 2024 · 3 comments

Comments

@threeearcat
Copy link

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
Copy link
Author

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
Copy link

x0v0l commented May 28, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants