Skip to content

Conversation

@domenukk
Copy link
Member

Description

describe your PR here

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

@domenukk domenukk mentioned this pull request Jan 6, 2026
1 task
unsafe {
let signal = &Signal::try_from(sig).unwrap();
#[cfg(feature = "std")]
eprintln!("DEBUG: Handling signal: {:?}", signal);
Copy link
Member Author

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
Copy link
Member Author

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++");
Copy link
Member Author

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)]
Copy link
Member Author

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}");
Copy link
Member Author

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),
Copy link
Member Author

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

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

Successfully merging this pull request may close these issues.

2 participants