Module yaxpeax_core::display::location [−][src]
Structs
OperandCursor
is a struct to select some operand and location in an instruction. for some
architectures, an operand may be the composition of multiple locations - consider the x86_64
example: dword [rax + rcx * 4 + 0x54320]
. this may be the first operand in the enclosing
instruction, such as mov dword [rax + rcx * 4 + 0x54320]
, and would thusly be referenced by
OperandCursor { operand: 0, location: None }
. rax
in the address expression would be
distinguished by OperandCursor { operand: 0, location: Some(0) }
.