Skip to content

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

Open
@bagder

Description

@bagder

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions