Struct binaryninja::platform::Platform
[−]pub struct Platform { /* private fields */ }
Implementations
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 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
impl<'a> CoreArrayWrapper<'a> for Platform
impl<'a> CoreArrayWrapper<'a> for Platform
impl CoreOwnedArrayProvider for Platform
impl CoreOwnedArrayProvider for Platform
impl RefCountable for Platform
impl RefCountable for Platform
impl ToOwned for Platform
impl ToOwned for Platform
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 StructuralEq for Platform
impl StructuralPartialEq for Platform
impl Sync for Platform
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