Skip to main content

read_signed_imm

Function read_signed_imm 

Source
pub fn read_signed_imm(code: &[u8], offset: usize, n: usize) -> u64
Expand description

Read n bytes from code at offset, sign-extend, and return as u64. Public for use by the recompiler’s inline decode path.