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

Why cannot run calculate-coverage.sh successfully? I got a filenotfound error. #3

Open
Felicity-Zhao opened this issue Dec 30, 2023 · 0 comments

Comments

@Felicity-Zhao
Copy link

When running the bash calculate.sh command, it appears an error. After reading the kafl_cov.py, qemu.py, I still cannot understand the reason. Anyone can help me find the reason? Thanks in advance.

[QEMU-Nyx] Booting VM to start fuzzing...
self.payload_size: 131072
self.payload_filename: 131072
qemu-system-x86_64: terminating on signal 15 from pid 206264 (/home/felicity/sgxfuzz/venv-python3/bin/python3) | 0/82 [00:00<?, ?it/s]
Process Process-1:
Traceback (most recent call last):
File "/usr/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/felicity/sgxfuzz/kafl/kAFL-Fuzzer/kafl_cov.py", line 349, in generate_traces_worker
with open(work_dir + "/redqueen_workdir_1337/pt_trace_results.txt", 'rb') as f_in:
FileNotFoundError: [Errno 2] No such file or directory: '/home/felicity/sgxfuzz/SimpleFuzzTest-T0-2023-12-05/sgx_workdir_Process-1/redqueen_workdir_1337/pt_trace_results.txt'
Process-1: 0%|

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

1 participant