Trait binaryninja::architecture::ArchitectureExt
source · pub trait ArchitectureExt: Architecture {
Show 14 methods
// Provided methods
fn register_by_name<S: BnStrCompatible>(
&self,
name: S
) -> Option<Self::Register> { ... }
fn calling_conventions(&self) -> Array<CallingConvention<Self>> { ... }
fn get_default_calling_convention(
&self
) -> Option<Ref<CallingConvention<Self>>> { ... }
fn set_default_calling_convention(&self, cc: &CallingConvention<Self>) { ... }
fn get_cdecl_calling_convention(
&self
) -> Option<Ref<CallingConvention<Self>>> { ... }
fn set_cdecl_calling_convention(&self, cc: &CallingConvention<Self>) { ... }
fn get_stdcall_calling_convention(
&self
) -> Option<Ref<CallingConvention<Self>>> { ... }
fn set_stdcall_calling_convention(&self, cc: &CallingConvention<Self>) { ... }
fn get_fastcall_calling_convention(
&self
) -> Option<Ref<CallingConvention<Self>>> { ... }
fn set_fastcall_calling_convention(&self, cc: &CallingConvention<Self>) { ... }
fn standalone_platform(&self) -> Option<Ref<Platform>> { ... }
fn relocation_handler(
&self,
view_name: &str
) -> Option<Ref<CoreRelocationHandler>> { ... }
fn register_relocation_handler<S, R, F>(&self, name: S, func: F)
where S: BnStrCompatible,
R: 'static + RelocationHandler<Handle = CustomRelocationHandlerHandle<R>> + Send + Sync + Sized,
F: FnOnce(CustomRelocationHandlerHandle<R>, CoreRelocationHandler) -> R { ... }
fn register_function_recognizer<R>(&self, recognizer: R)
where R: 'static + FunctionRecognizer + Send + Sync + Sized { ... }
}
Expand description
Contains helper methods for all types implementing ‘Architecture’
Provided Methods§
fn register_by_name<S: BnStrCompatible>( &self, name: S ) -> Option<Self::Register>
fn calling_conventions(&self) -> Array<CallingConvention<Self>>
fn get_default_calling_convention(&self) -> Option<Ref<CallingConvention<Self>>>
fn set_default_calling_convention(&self, cc: &CallingConvention<Self>)
fn get_cdecl_calling_convention(&self) -> Option<Ref<CallingConvention<Self>>>
fn set_cdecl_calling_convention(&self, cc: &CallingConvention<Self>)
fn get_stdcall_calling_convention(&self) -> Option<Ref<CallingConvention<Self>>>
fn set_stdcall_calling_convention(&self, cc: &CallingConvention<Self>)
fn get_fastcall_calling_convention( &self ) -> Option<Ref<CallingConvention<Self>>>
fn set_fastcall_calling_convention(&self, cc: &CallingConvention<Self>)
fn standalone_platform(&self) -> Option<Ref<Platform>>
fn relocation_handler( &self, view_name: &str ) -> Option<Ref<CoreRelocationHandler>>
fn register_relocation_handler<S, R, F>(&self, name: S, func: F)where
S: BnStrCompatible,
R: 'static + RelocationHandler<Handle = CustomRelocationHandlerHandle<R>> + Send + Sync + Sized,
F: FnOnce(CustomRelocationHandlerHandle<R>, CoreRelocationHandler) -> R,
fn register_function_recognizer<R>(&self, recognizer: R)
Object Safety§
This trait is not object safe.