Struct ropr::disassembler::Disassembly
source · [−]pub struct Disassembly<'b> { /* private fields */ }
Implementations
sourceimpl<'b> Disassembly<'b>
impl<'b> Disassembly<'b>
pub fn new(section: &'b Section<'_>) -> Option<Self>
pub fn bytes(&self) -> &[u8]ⓘNotable traits for &'_ [u8]impl Read for &'_ [u8]impl Write for &'_ mut [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
) -> GadgetIterator<'_>ⓘNotable traits for GadgetIterator<'_>impl Iterator for GadgetIterator<'_> type Item = Gadget;
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more