pub struct DvmDisassembledMethod { /* private fields */ }Expand description
Type alias for Shuriken’s dvmdisassembled_method_t
Structure that represents a disassembled method from the dalvik file
Implementations§
Source§impl DvmDisassembledMethod
impl DvmDisassembledMethod
pub fn from_dvmdisassembled_method_t( dvm_disas: dvmdisassembled_method_t_, dvm_method: DvmMethod, ) -> Self
Sourcepub fn from_ptr(ptr: dvmdisassembled_method_t_) -> Self
pub fn from_ptr(ptr: dvmdisassembled_method_t_) -> Self
Create from raw pointer
This is basically a wrapper around from_dvmdisassembled_method_t
Sourcepub fn n_of_registers(&self) -> usize
pub fn n_of_registers(&self) -> usize
Return the number of registers
Sourcepub fn n_of_exceptions(&self) -> usize
pub fn n_of_exceptions(&self) -> usize
Return the number of exceptions
Sourcepub fn exception_information(&self) -> &[DvmException]
pub fn exception_information(&self) -> &[DvmException]
Return a reference to the exception information
Sourcepub fn n_of_instructions(&self) -> usize
pub fn n_of_instructions(&self) -> usize
Return the number of instructions
Sourcepub fn method_string(&self) -> &str
pub fn method_string(&self) -> &str
Return the method string
Sourcepub fn instructions(&self) -> &[DvmInstruction]
pub fn instructions(&self) -> &[DvmInstruction]
Return the instructions
Trait Implementations§
Source§impl Debug for DvmDisassembledMethod
impl Debug for DvmDisassembledMethod
Source§impl PartialEq for DvmDisassembledMethod
impl PartialEq for DvmDisassembledMethod
impl StructuralPartialEq for DvmDisassembledMethod
Auto Trait Implementations§
impl Freeze for DvmDisassembledMethod
impl RefUnwindSafe for DvmDisassembledMethod
impl Send for DvmDisassembledMethod
impl Sync for DvmDisassembledMethod
impl Unpin for DvmDisassembledMethod
impl UnwindSafe for DvmDisassembledMethod
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