Struct binaryninja::function::Function
source · [−]pub struct Function { /* private fields */ }
Implementations
sourceimpl Function
impl Function
pub fn arch(&self) -> CoreArchitecture
pub fn platform(&self) -> Ref<Platform>
pub fn view(&self) -> Ref<BinaryView>
pub fn symbol(&self) -> Ref<Symbol>
pub fn start(&self) -> u64
pub fn highest_address(&self) -> u64
pub fn address_ranges(&self) -> Array<AddressRange>
pub fn comment(&self) -> BnString
pub fn set_comment<S: BnStrCompatible>(&self, comment: S)
pub fn set_can_return_auto<T: Into<Conf<bool>>>(&self, can_return: T)
pub fn set_can_return_user<T: Into<Conf<bool>>>(&self, can_return: T)
pub fn comment_at(&self, addr: u64) -> BnString
pub fn set_comment_at<S: BnStrCompatible>(&self, addr: u64, comment: S)
pub fn basic_blocks(&self) -> Array<BasicBlock<NativeBlock>>
pub fn basic_block_containing(
&self,
arch: &CoreArchitecture,
addr: u64
) -> Option<Ref<BasicBlock<NativeBlock>>>
pub fn get_variable_name(&self, var: &Variable) -> BnString
pub fn high_level_il(
&self,
full_ast: bool
) -> Result<Ref<HighLevelILFunction>, ()>
pub fn medium_level_il(&self) -> Result<Ref<MediumLevelILFunction>, ()>
pub fn low_level_il(&self) -> Result<Ref<RegularFunction<CoreArchitecture>>, ()>
pub fn lifted_il(&self) -> Result<Ref<LiftedFunction<CoreArchitecture>>, ()>
pub fn return_type(&self) -> Conf<Ref<Type>>
pub fn function_type(&self) -> Ref<Type>
pub fn set_user_type(&self, t: Type)
pub fn stack_layout(&self) -> Array<NamedTypedVariable>
pub fn apply_imported_types(&self, sym: &Symbol, t: Option<&Type>)
Trait Implementations
sourceimpl<'a> CoreArrayWrapper<'a> for Function
impl<'a> CoreArrayWrapper<'a> for Function
sourceimpl CoreOwnedArrayProvider for Function
impl CoreOwnedArrayProvider for Function
sourceimpl RefCountable for Function
impl RefCountable for Function
sourceimpl ToOwned for Function
impl ToOwned for Function
impl Eq for Function
impl Send for Function
impl StructuralEq for Function
impl Sync for Function
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more