pub struct FunctionLifterContext {
pub function: Ref<LowLevelILMutableFunction>,
pub platform: Ref<Platform>,
pub logger: Ref<Logger>,
pub blocks: Vec<Ref<BasicBlock<NativeBlock>>>,
pub no_return_calls: HashSet<Location>,
pub contextual_returns: HashMap<Location, bool>,
pub inlined_remapping: HashMap<Location, Location>,
pub user_indirect_branches: HashMap<Location, HashSet<Location>>,
pub auto_indirect_branches: HashMap<Location, HashSet<Location>>,
pub inlined_calls: HashSet<u64>,
/* private fields */
}Fields§
§function: Ref<LowLevelILMutableFunction>§platform: Ref<Platform>§logger: Ref<Logger>§blocks: Vec<Ref<BasicBlock<NativeBlock>>>§no_return_calls: HashSet<Location>§contextual_returns: HashMap<Location, bool>§inlined_remapping: HashMap<Location, Location>§user_indirect_branches: HashMap<Location, HashSet<Location>>§auto_indirect_branches: HashMap<Location, HashSet<Location>>§inlined_calls: HashSet<u64>Implementations§
Source§impl FunctionLifterContext
impl FunctionLifterContext
pub unsafe fn from_raw( function: *mut BNLowLevelILFunction, handle: *mut BNFunctionLifterContext, ) -> Self
pub fn prepare_block_translation( &self, func: &LowLevelILMutableFunction, arch: &CoreArchitecture, address: u64, )
pub fn get_function_arch_context<A: ArchitectureWithFunctionContext>( &self, _arch: &A, ) -> Option<&A::FunctionArchContext>
Auto Trait Implementations§
impl Freeze for FunctionLifterContext
impl RefUnwindSafe for FunctionLifterContext
impl !Send for FunctionLifterContext
impl !Sync for FunctionLifterContext
impl Unpin for FunctionLifterContext
impl UnwindSafe for FunctionLifterContext
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