Struct gimli::DebugRngLists
[−]
[src]
pub struct DebugRngLists<R: Reader> { /* fields omitted */ }
The DebugRngLists
struct represents the contents of the
.debug_rnglists
section.
Methods
impl<'input, Endian> DebugRngLists<EndianSlice<'input, Endian>> where
Endian: Endianity,
[src]
Endian: Endianity,
pub fn new(debug_rnglists_section: &'input [u8], endian: Endian) -> Self
[src]
Construct a new DebugRngLists
instance from the data in the
.debug_rnglists
section.
It is the caller's responsibility to read the .debug_rnglists
section and present it as a &[u8]
slice. That means using some ELF
loader on Linux, a Mach-O loader on OSX, etc.
use gimli::{DebugRngLists, LittleEndian}; let debug_rnglists = DebugRngLists::new(read_debug_rnglists_section_somehow(), LittleEndian);
Trait Implementations
impl<R: Debug + Reader> Debug for DebugRngLists<R>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<R: Clone + Reader> Clone for DebugRngLists<R>
[src]
fn clone(&self) -> DebugRngLists<R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R: Copy + Reader> Copy for DebugRngLists<R>
[src]
impl<R: Reader> Section<R> for DebugRngLists<R>
[src]
fn section_name() -> &'static str
[src]
Returns the ELF section name for this type.
impl<R: Reader> From<R> for DebugRngLists<R>
[src]
Auto Trait Implementations
impl<R> Send for DebugRngLists<R> where
R: Send,
R: Send,
impl<R> Sync for DebugRngLists<R> where
R: Sync,
R: Sync,