Struct ropr::disassembler::Disassembly
source · pub struct Disassembly<'b> { /* private fields */ }
Implementations§
source§impl<'b> Disassembly<'b>
impl<'b> Disassembly<'b>
pub fn new(section: &'b Section<'_>) -> Option<Self>
pub fn bytes(&self) -> &[u8] ⓘ
pub fn file_offset(&self) -> usize
pub fn instruction(&self, index: usize) -> Option<&Instruction>
pub fn is_tail_at( &self, index: usize, rop: bool, sys: bool, jop: bool, noisy: bool ) -> bool
pub fn gadgets_from_tail( &self, tail_index: usize, max_instructions: usize, noisy: bool, uniq: bool ) -> GadgetIterator<'_> ⓘ
Auto Trait Implementations§
impl<'b> RefUnwindSafe for Disassembly<'b>
impl<'b> Send for Disassembly<'b>
impl<'b> Sync for Disassembly<'b>
impl<'b> Unpin for Disassembly<'b>
impl<'b> UnwindSafe for Disassembly<'b>
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