#[repr(C)]pub struct LvarLoc {
pub atype: u32,
pub reg1: u32,
pub reg2: u32,
pub sval: i64,
pub pieces: *const LocPiece,
pub npieces: u32,
}Expand description
A local variable’s location, decoded from IDA’s argloc_t and passed to
EmitVtbl::l_lvar. atype is the ALOC_* discriminant; only the fields it selects are
meaningful: reg1 (REG1 / REG2 low / RREL reg), reg2 (REG2 high), sval (STACK offset /
STATIC ea / RREL displacement). pieces/npieces describe a scattered location and are
empty otherwise.
Fields§
§atype: u32§reg1: u32§reg2: u32§sval: i64§pieces: *const LocPiece§npieces: u32Trait Implementations§
Auto Trait Implementations§
impl !Send for LvarLoc
impl !Sync for LvarLoc
impl Freeze for LvarLoc
impl RefUnwindSafe for LvarLoc
impl Unpin for LvarLoc
impl UnsafeUnpin for LvarLoc
impl UnwindSafe for LvarLoc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more