pub struct Symbol<'a> {
pub name: &'a str,
pub binding: &'static str,
pub typ: &'static str,
pub visibility: &'static str,
pub address: u64,
pub size: u64,
}
Expand description
Struct Symbol contains properties of object file’s symbols.
§Range
- Binding: LOCAL, GLOBAL, WEAK, …
- Typ: NOTYPE, OBJECT, FUNC, SECTION, FILE, COMMON, TLS, …
Fields§
§name: &'a str
Symbol’s name
binding: &'static str
Symbol’s binding
typ: &'static str
Symbol’s type
visibility: &'static str
Symbol’s visibility
address: u64
Symbol’s virtual address
size: u64
Symbol’s size
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Symbol<'a>
impl<'a> RefUnwindSafe for Symbol<'a>
impl<'a> Send for Symbol<'a>
impl<'a> Sync for Symbol<'a>
impl<'a> Unpin for Symbol<'a>
impl<'a> UnwindSafe for Symbol<'a>
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