-
-
Notifications
You must be signed in to change notification settings - Fork 434
Just even more just #3626
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
base: main
Are you sure you want to change the base?
Just even more just #3626
Conversation
| unsafe { | ||
| let signal = &Signal::try_from(sig).unwrap(); | ||
| #[cfg(feature = "std")] | ||
| eprintln!("DEBUG: Handling signal: {:?}", signal); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
| #[cfg(unix)] | ||
| let child_status = if self.fork { | ||
| self.shmem_provider.pre_fork()?; | ||
| // Block SIGINT to ensure we can check if it was delivered after waitpid |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't seem to work? :/
| // Force linking against libc++ | ||
| if target_vendor != "apple" && target_family == "unix" { | ||
| println!("cargo:rustc-link-lib=dylib=c++"); | ||
| println!("cargo:rustc-link-lib=dylib=stdc++"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure?
| @@ -1,3 +1,4 @@ | |||
| #![allow(unused_imports)] | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
| } else { | ||
| "lqemu".to_string() | ||
| }; | ||
| println!("cargo:warning=API: {api}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably should go
| Ok(QemuExitReason::End(QemuShutdownCause::HostSignal( | ||
| Signal::SigInterrupt, | ||
| ))) => process::exit(0), | ||
| ))) => process::exit(libafl_bolts::os::CTRL_C_EXIT), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That didn't do the trick. Nice try tough
Description
describe your PR here
Checklist
./scripts/precommit.shand addressed all comments