curl-fuzzer icon indicating copy to clipboard operation
curl-fuzzer copied to clipboard

"python read_corpus.py" instruction is not working

Open bagder opened this issue 8 months ago • 1 comments

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'

bagder avatar Mar 12 '25 08:03 bagder