Struct binaryninja::platform::Platform
source · pub struct Platform { /* private fields */ }
Implementations§
source§impl Platform
impl Platform
pub fn by_name<S: BnStrCompatible>(name: S) -> Option<Ref<Self>>
pub fn list_all() -> Array<Platform>
pub fn list_by_arch(arch: &CoreArchitecture) -> Array<Platform>
pub fn list_by_os<S: BnStrCompatible>(name: S) -> Array<Platform>
pub fn list_by_os_and_arch<S: BnStrCompatible>( name: S, arch: &CoreArchitecture ) -> Array<Platform>
pub fn list_available_os() -> Array<BnString>
pub fn new<A: Architecture, S: BnStrCompatible>(arch: &A, name: S) -> Ref<Self>
pub fn name(&self) -> BnString
pub fn arch(&self) -> CoreArchitecture
pub fn get_type_libraries_by_name( &self, name: &QualifiedName ) -> Array<TypeLibrary>
pub fn register_os<S: BnStrCompatible>(&self, os: S)
pub fn get_default_calling_convention( &self ) -> Option<Ref<CallingConvention<CoreArchitecture>>>
pub fn set_default_calling_convention<A: Architecture>( &self, cc: &CallingConvention<A> )
pub fn get_cdecl_calling_convention( &self ) -> Option<Ref<CallingConvention<CoreArchitecture>>>
pub fn set_cdecl_calling_convention<A: Architecture>( &self, cc: &CallingConvention<A> )
pub fn get_stdcall_calling_convention( &self ) -> Option<Ref<CallingConvention<CoreArchitecture>>>
pub fn set_stdcall_calling_convention<A: Architecture>( &self, cc: &CallingConvention<A> )
pub fn get_fastcall_calling_convention( &self ) -> Option<Ref<CallingConvention<CoreArchitecture>>>
pub fn set_fastcall_calling_convention<A: Architecture>( &self, cc: &CallingConvention<A> )
pub fn get_syscall_convention( &self ) -> Option<Ref<CallingConvention<CoreArchitecture>>>
pub fn set_syscall_convention<A: Architecture>(&self, cc: &CallingConvention<A>)
pub fn calling_conventions(&self) -> Array<CallingConvention<CoreArchitecture>>
pub fn types(&self) -> Array<QualifiedNameAndType>
pub fn variables(&self) -> Array<QualifiedNameAndType>
pub fn functions(&self) -> Array<QualifiedNameAndType>
Trait Implementations§
source§impl CoreArrayProvider for Platform
impl CoreArrayProvider for Platform
source§impl PartialEq for Platform
impl PartialEq for Platform
source§impl ToOwned for Platform
impl ToOwned for Platform
source§impl TypeParser for Platform
impl TypeParser for Platform
fn parse_types_from_source<S: BnStrCompatible, P: AsRef<Path>>( &self, source: S, filename: S, include_directories: &[P], auto_type_source: S ) -> Result<TypeParserResult, String>
impl Eq for Platform
impl Send for Platform
impl StructuralPartialEq for Platform
impl Sync for Platform
Auto Trait Implementations§
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