Struct binaryninja::workflow::AnalysisContext
source · pub struct AnalysisContext { /* private fields */ }
Expand description
The AnalysisContext struct is used to represent the current state of analysis for a given function. It allows direct modification of IL and other analysis information.
Implementations§
source§impl AnalysisContext
impl AnalysisContext
sourcepub fn view(&self) -> Ref<BinaryView>
pub fn view(&self) -> Ref<BinaryView>
BinaryView for the current AnalysisContext
sourcepub unsafe fn lifted_il_function<F: FunctionForm>(
&self
) -> Option<Ref<Function<CoreArchitecture, Mutable, F>>>
pub unsafe fn lifted_il_function<F: FunctionForm>( &self ) -> Option<Ref<Function<CoreArchitecture, Mutable, F>>>
LowLevelILFunction used to represent Low Level IL
pub fn set_lifted_il_function<F: FunctionForm>( &self, value: &Function<CoreArchitecture, Mutable, F> )
sourcepub unsafe fn llil_function<F: FunctionForm>(
&self
) -> Option<Ref<Function<CoreArchitecture, Mutable, F>>>
pub unsafe fn llil_function<F: FunctionForm>( &self ) -> Option<Ref<Function<CoreArchitecture, Mutable, F>>>
LowLevelILFunction used to represent Low Level IL
pub fn set_llil_function<F: FunctionForm>( &self, value: &Function<CoreArchitecture, Mutable, F> )
sourcepub fn mlil_function(&self) -> Option<Ref<MediumLevelILFunction>>
pub fn mlil_function(&self) -> Option<Ref<MediumLevelILFunction>>
MediumLevelILFunction used to represent Medium Level IL
pub fn set_mlil_function(&self, value: &MediumLevelILFunction)
sourcepub fn hlil_function(&self, full_ast: bool) -> Option<Ref<HighLevelILFunction>>
pub fn hlil_function(&self, full_ast: bool) -> Option<Ref<HighLevelILFunction>>
HighLevelILFunction used to represent High Level IL
pub fn inform<S: BnStrCompatible>(&self, request: S) -> bool
pub fn set_basic_blocks<I>(&self, blocks: I)
Trait Implementations§
source§impl ToOwned for AnalysisContext
impl ToOwned for AnalysisContext
§type Owned = Ref<AnalysisContext>
type Owned = Ref<AnalysisContext>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
Auto Trait Implementations§
impl RefUnwindSafe for AnalysisContext
impl !Send for AnalysisContext
impl !Sync for AnalysisContext
impl Unpin for AnalysisContext
impl UnwindSafe for AnalysisContext
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