Update QEMU to v9.2.2 (#3088)

* update qemu to v9.2.2

* alignment field has been removed
This commit is contained in:
Romain Malmain 2025-03-25 14:34:44 +01:00 committed by GitHub
parent bd12639f8e
commit 58607dc333
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 509 additions and 415 deletions

View File

@ -11,7 +11,7 @@ use crate::cargo_add_rpath;
pub const QEMU_URL: &str = "https://github.com/AFLplusplus/qemu-libafl-bridge"; pub const QEMU_URL: &str = "https://github.com/AFLplusplus/qemu-libafl-bridge";
pub const QEMU_DIRNAME: &str = "qemu-libafl-bridge"; pub const QEMU_DIRNAME: &str = "qemu-libafl-bridge";
pub const QEMU_REVISION: &str = "4df4d2dcfa0d2eecfb267cddf5ebfb8ef9f58d87"; pub const QEMU_REVISION: &str = "2a676d9cd8c474b5c0db1d77d2769e56e2ed8524";
pub struct BuildResult { pub struct BuildResult {
pub qemu_path: PathBuf, pub qemu_path: PathBuf,
@ -100,7 +100,7 @@ fn configure_qemu(
} }
if cfg!(feature = "qemu_sanitizers") { if cfg!(feature = "qemu_sanitizers") {
cmd.arg("--enable-sanitizers"); cmd.arg("--enable-asan");
} }
if is_usermode { if is_usermode {

View File

@ -1,5 +1,5 @@
/* 1.87.0-nightly */ /* 1.87.0-nightly */
/* qemu git hash: fea68856b9410ca6f0076a6bf9ccc4b4b11aa09c */ /* qemu git hash: 2a676d9cd8c474b5c0db1d77d2769e56e2ed8524 */
/* automatically generated by rust-bindgen 0.71.1 */ /* automatically generated by rust-bindgen 0.71.1 */
#[repr(C)] #[repr(C)]

View File

@ -1,5 +1,5 @@
/* 1.87.0-nightly */ /* 1.87.0-nightly */
/* qemu git hash: fea68856b9410ca6f0076a6bf9ccc4b4b11aa09c */ /* qemu git hash: 2a676d9cd8c474b5c0db1d77d2769e56e2ed8524 */
/* automatically generated by rust-bindgen 0.71.1 */ /* automatically generated by rust-bindgen 0.71.1 */
#[repr(C)] #[repr(C)]

View File

@ -108,7 +108,6 @@ pub struct ImageInfo {
pub vdso: GuestAddr, pub vdso: GuestAddr,
pub entry: GuestAddr, pub entry: GuestAddr,
pub brk: GuestAddr, pub brk: GuestAddr,
pub alignment: GuestAddr,
pub exec_stack: bool, pub exec_stack: bool,
} }
@ -251,7 +250,6 @@ impl Qemu {
vdso: image_info.vdso, vdso: image_info.vdso,
entry: image_info.entry, entry: image_info.entry,
brk: image_info.brk, brk: image_info.brk,
alignment: image_info.alignment,
exec_stack: image_info.exec_stack, exec_stack: image_info.exec_stack,
} }
} }