-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Adding support for shutdown upon Ctrl+C on Windows for LLMP #1704
Adding support for shutdown upon Ctrl+C on Windows for LLMP #1704
Conversation
Thanks! This just needs a pass of |
…hik/LibAFL into windows_ctrl_handler_llmp
can you format? then i can merge it. |
Somehow Diff in /home/runner/work/LibAFL/LibAFL/libafl/src/feedbacks/map.rs at line 547:
}
}*/
-
let steps = size / VectorType::LEN;
let left = size % VectorType::LEN; |
there're more fmts to fix |
I ran fmt at the root and fixed what ever it found. Hope this time it is OK. |
the log says you need to run it in ./fuzzers/tutorial |
What log? |
https://github.com/AFLplusplus/LibAFL/actions/runs/7096462809/job/19315022927?pr=1704 |
Finally fixed (I had to use nightly toolchain explicitly) |
This PR adds support shutdown upon Ctrl+C on Windows for LLMP. On Windows, Ctrl+C sent to console applications are not caught by the exception handler, but by a special CtrlHandler instead. I followed the design of Linux signal handlers and Windows exceptions handlers for the CtrlHandlers and integrated them in LLMP using the same approach as LlmpShutdownSignalHandler for unix