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

"python read_corpus.py" instruction is not working #138

Open
bagder opened this issue Mar 12, 2025 · 1 comment
Open

"python read_corpus.py" instruction is not working #138

bagder opened this issue Mar 12, 2025 · 1 comment

Comments

@bagder
Copy link
Member

bagder commented Mar 12, 2025

In REPRODUCING.md there is a documented command line to run read_corpus.py to show the details of a testcase.

This needs updating as it does not work like this since the script moved. I tried:

with cd

$ cd src/curl_fuzzer_tools/
$ python3 read_corpus.py --input ~/Downloads/clusterfuzz-testcase-minimized-curl_fuzzer_imap-5207860820901888
Traceback (most recent call last):
  File "/home/dast/src/curl-fuzzer/src/curl_fuzzer_tools/read_corpus.py", line 9, in <module>
    from curl_fuzzer_tools import common_logging
ModuleNotFoundError: No module named 'curl_fuzzer_tools'

without cd

$ python3 src/curl_fuzzer_tools/read_corpus.py --input ~/Downloads/clusterfuzz-testcase-minimized-curl_fuzzer_imap-5207860820901888
Traceback (most recent call last):
  File "/home/dast/src/curl-fuzzer/src/curl_fuzzer_tools/read_corpus.py", line 9, in <module>
    from curl_fuzzer_tools import common_logging
ModuleNotFoundError: No module named 'curl_fuzzer_tools'
@cmeister2
Copy link
Collaborator

I'll update this. There is a section in the main README for the Python tooling which should hopefully get you going in the meantime

https://github.com/curl/curl-fuzzer?tab=readme-ov-file#how-do-i-install-the-python-tooling

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

No branches or pull requests

2 participants