Struct range_t
#[repr(C)]pub struct range_t {
pub start_ea: ea_t,
pub end_ea: ea_t,
}
Expand description
\file lines.hpp
\brief High level functions that deal with the generation of the disassembled text lines.
This file also contains definitions for the syntax highlighting.
Finally there are functions that deal with anterior/posterior user-defined lines.
Fields§
§start_ea: ea_t
< start_ea included
end_ea: ea_t
< end_ea excluded
Implementations§
§impl range_t
impl range_t
pub unsafe fn new(ea1: c_ulonglong, ea2: c_ulonglong) -> impl New<Output = Self>
§impl range_t
impl range_t
pub unsafe fn contains(&self, ea: c_ulonglong) -> bool
pub unsafe fn contains(&self, ea: c_ulonglong) -> bool
Is ‘ea’ in the address range?
§impl range_t
impl range_t
pub unsafe fn size(&self) -> c_ulonglong
pub unsafe fn size(&self) -> c_ulonglong
Get #end_ea - #start_ea
§impl range_t
impl range_t
pub unsafe fn extend(self: Pin<&mut Self>, ea: c_ulonglong)
pub unsafe fn extend(self: Pin<&mut Self>, ea: c_ulonglong)
Ensure that the range_t includes ‘ea’
Trait Implementations§
§impl AsRef<range_t> for qbasic_block_t
impl AsRef<range_t> for qbasic_block_t
§fn as_ref(self: &qbasic_block_t) -> &range_t
fn as_ref(self: &qbasic_block_t) -> &range_t
Converts this type into a shared reference of the (usually inferred) input type.
§impl ExternType for range_t
impl ExternType for range_t
§impl MakeCppStorage for range_t
impl MakeCppStorage for range_t
§unsafe fn allocate_uninitialized_cpp_storage() -> *mut range_t
unsafe fn allocate_uninitialized_cpp_storage() -> *mut range_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 range_t)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut range_t)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for range_t
impl VectorElement for range_t
impl WeakPtrTarget for range_t
Auto Trait Implementations§
impl Freeze for range_t
impl RefUnwindSafe for range_t
impl Send for range_t
impl Sync for range_t
impl Unpin for range_t
impl UnwindSafe for range_t
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