Skip to content

Question regarding the source of gen_run.py #349

@nevercodecorrect

Description

@nevercodecorrect

Hi,
I am trying to setup the tool and test it. However, I encountered the below error in the trial execution
The command executed is lafleur --fusil-path /root/project-repo/fusil/fuzzers/fusil-python-threaded .
Based on the log, the tool finds the crash but failed to save the crashes eveytime due to the error of missing gen_run.py as shown in the below logs.

[*] Generating new seed with command: /root/project-repo/pyjitfuzz/jitfuzz-env/bin/python /root/project-repo/fusil/fuzzers/fusil-python-threaded --jit-fuzz --jit-target-uop=ALL --source-output-path=tmp_fuzz_run/gen_run.py --classes-number=0 --functions-number=1 --methods-number=0 --objects-number=0 --sessions=1 --python=/root/project-repo/pyjitfuzz/jitfuzz-env/bin/python --no-jit-external-references --no-threads --no-async --jit-loop-iterations=300 --no-numpy --modules=encodings.ascii --only-generate
  [!!!] CRASH DETECTED! (EXIT:2). Saving...
  [!] Error saving crash artifacts: [Errno 2] No such file or directory: 'tmp_fuzz_run/gen_run.py'

After skimming the code, i only find gen_run.py referred in lafleur/corpus_manager.py:generate_new_seed(). Is this script auto generated or I missed certain steps?
Thanks for reading this.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions