Struct idalib_sys::func::func_t

#[repr(C, align(8))]
pub struct func_t { /* private fields */ }
Expand description

A function is a set of continuous ranges of addresses with characteristics

Implementations§

§

impl func_t

pub unsafe fn compare(self: &func_t, r: &func_t) -> c_int

pub unsafe fn new( start: c_ulonglong, end: c_ulonglong, f: c_ulonglong, ) -> impl New<Output = Self>

§

impl func_t

pub unsafe fn is_far(&self) -> bool

Is a far function?

§

impl func_t

pub unsafe fn does_return(&self) -> bool

Does function return?

§

impl func_t

pub unsafe fn analyzed_sp(&self) -> bool

Has SP-analysis been performed?

§

impl func_t

pub unsafe fn need_prolog_analysis(&self) -> bool

Needs prolog analysis?

Trait Implementations§

§

impl AsRef<range_t> for func_t

§

fn as_ref(self: &func_t) -> &range_t

Converts this type into a shared reference of the (usually inferred) input type.
§

impl CopyNew for func_t

§

unsafe fn copy_new(other: &func_t, this: Pin<&mut MaybeUninit<func_t>>)

Synthesized copy constructor.

§

impl Drop for func_t

§

fn drop(self: &mut func_t)

Synthesized destructor.

§

impl ExternType for func_t

§

type Id = (f, u, n, c, __, t)

A type-level representation of the type’s C++ namespace and type name. Read more
§

type Kind = Opaque

§

impl MakeCppStorage for func_t

§

unsafe fn allocate_uninitialized_cpp_storage() -> *mut func_t

Allocates heap space for this type in C++ and return a pointer to that space, but do not initialize that space (i.e. do not yet call a constructor). Read more
§

unsafe fn free_uninitialized_cpp_storage(arg0: *mut func_t)

Frees a C++ allocation which has not yet had a constructor called. Read more
§

impl MoveNew for func_t

§

unsafe fn move_new( other: Pin<MoveRef<'_, func_t>>, this: Pin<&mut MaybeUninit<func_t>>, )

Synthesized move constructor.

§

impl SharedPtrTarget for func_t

§

impl UniquePtrTarget for func_t

§

impl VectorElement for func_t

§

impl WeakPtrTarget for func_t

Auto Trait Implementations§

§

impl !Freeze for func_t

§

impl !RefUnwindSafe for func_t

§

impl !Send for func_t

§

impl !Sync for func_t

§

impl !Unpin for func_t

§

impl UnwindSafe for func_t

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.