pub struct Function { /* private fields */ }Implementations§
Source§impl Function
impl Function
pub fn size(&self) -> u32
pub fn parse_function( options: FunctionParseOptions<'_>, ) -> Result<ParseFunctionResult, FunctionAnalysisError>
pub fn find_functions( options: FindFunctionsOptions<'_>, ) -> Result<BTreeMap<u32, Function>, FunctionAnalysisError>
pub fn add_local_symbols_to_map( &self, symbol_map: &mut SymbolMap, ) -> Result<(), SymbolMapError>
pub fn find_secure_area_functions( module_code: &[u8], base_addr: u32, symbol_map: &mut SymbolMap, ) -> BTreeMap<u32, Function>
pub fn parser<'a>( &'a self, module_code: &'a [u8], base_address: u32, ) -> Parser<'a>
pub fn code<'a>(&self, module_code: &'a [u8], base_address: u32) -> &'a [u8] ⓘ
pub fn name(&self) -> &str
pub fn start_address(&self) -> u32
pub fn end_address(&self) -> u32
pub fn first_instruction_address(&self) -> u32
pub fn is_thumb(&self) -> bool
pub fn labels(&self) -> impl Iterator<Item = &u32>
pub fn jump_tables(&self) -> impl Iterator<Item = &JumpTable>
pub fn inline_tables(&self) -> &InlineTables
pub fn get_inline_table_at(&self, address: u32) -> Option<&InlineTable>
pub fn pool_constants(&self) -> &PoolConstants
pub fn iter_pool_constants<'a>( &'a self, module_code: &'a [u8], base_address: u32, ) -> impl Iterator<Item = PoolConstant> + 'a
pub fn function_calls(&self) -> &FunctionCalls
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnwindSafe for Function
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