Fix libafl-jumper for powerpc (#2866)

This commit is contained in:
Dominik Maier 2025-01-19 13:15:48 +00:00 committed by GitHub
parent 51d371acba
commit f2eefeb52a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,7 +55,7 @@ pub unsafe extern "C" fn libafl_jmp(target: *mut c_void) -> ! {
options(noreturn) options(noreturn)
); );
#[cfg(target_arch = "hexagon")] #[cfg(any(target_arch = "powerpc", target_arch = "powerpc64"))]
asm!( asm!(
"b {target}", // Branch instruction (PowerPC) "b {target}", // Branch instruction (PowerPC)
target = in(reg) target, target = in(reg) target,