Struct disassemble::Symbol [] [src]

pub struct Symbol {
    pub address: Address,
    pub name: Option<String>,
}

A symbol within an executable or library. This is a named address.

Fields

address

The address of this symbol.

name

The name of this symbol.

Methods

impl Symbol

fn new(address: Address, name: Option<&str>) -> Self

Construct a Symbol.

Trait Implementations

Derived Implementations

impl Debug for Symbol

fn fmt(&self, __arg_0: &mut Formatter) -> Result