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

When some workers are STALLED, the value of CurExec is wrong #302

Open
ycdxsb opened this issue Dec 27, 2024 · 3 comments
Open

When some workers are STALLED, the value of CurExec is wrong #302

ycdxsb opened this issue Dec 27, 2024 · 3 comments

Comments

@ycdxsb
Copy link

ycdxsb commented Dec 27, 2024

There is a problem with kAFL's status update. When a node is displayed as STALLED, CurExec still calculates it. As shown in the figure, the status of worker 1 2 3 is displayed as STALLED. CurExec should be the value of worker 0, not the fixed value of worker 1 2 3 plus the current value of worker 0.
pic

@ycdxsb
Copy link
Author

ycdxsb commented Dec 27, 2024

At the same time, I also want to understand why the STALLED situation occurs. Does kAFL have some native options, such as timeout settings, to avoid or rescue the worker from the STALLED state?
Below is the backtrace of a STALLED worker.

    run_qemu (kafl_fuzzer/worker/qemu.py)
    send_payload (kafl_fuzzer/worker/qemu.py)
    __execute (kafl_fuzzer/worker/worker.py)
    execute (kafl_fuzzer/worker/worker.py)
    execute (kafl_fuzzer/worker/state_logic.py)
    mutate_seq_havoc_array (kafl_fuzzer/technique/havoc.py)
    handle_initial (kafl_fuzzer/worker/state_logic.py)
    process_node (kafl_fuzzer/worker/state_logic.py)
    handle_node (kafl_fuzzer/worker/worker.py)
    loop (kafl_fuzzer/worker/worker.py)
    start (kafl_fuzzer/worker/worker.py)
    worker_loader (kafl_fuzzer/worker/worker.py)

@ycdxsb
Copy link
Author

ycdxsb commented Jan 9, 2025

It seems that qemu is stuck and not responding, similar to #243

@Wenzel
Copy link
Contributor

Wenzel commented Jan 10, 2025

Hi @ycdxsb !

Thanks for opening this issue
I can start having a look at it in 2 weeks

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

2 participants