Struct idalib_sys::hexrays::citem_t

#[repr(C)]
pub struct citem_t { pub ea: c_ulonglong, pub op: c_uint, pub label_num: c_int, pub index: c_int, }
Expand description

Basic ctree item. This is an abstract class (but we don’t use virtual functions in ctree, so the compiler will not disallow you to create citem_t instances). However, items of pure citem_t type must never be created. Two classes, cexpr_t and cinsn_t are derived from it.

Fields§

§ea: c_ulonglong

< address that corresponds to the item. may be BADADDR

§op: c_uint

< item type

§label_num: c_int

< label number. -1 means no label. items of the expression < types (cot_…) should not have labels at the final maturity < level, but at the intermediate levels any ctree item < may have a label. Labels must be unique. Usually < they correspond to the basic block numbers.

§index: c_int

< an index in cfunc_t::treeitems. < meaningful only after print_func()

Trait Implementations§

§

impl Debug for citem_t

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl ExternType for citem_t

§

type Id = (c, i, t, e, m, __, t)

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

type Kind = Opaque

Auto Trait Implementations§

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.