Struct gimli::RangeLists [−][src]
pub struct RangeLists<R: Reader> { /* fields omitted */ }
The DWARF data found in .debug_ranges and .debug_rnglists sections.
Methods
impl<R: Reader> RangeLists<R>[src]
impl<R: Reader> RangeLists<R>pub fn new(
debug_ranges: DebugRanges<R>,
debug_rnglists: DebugRngLists<R>
) -> Result<RangeLists<R>>[src]
pub fn new(
debug_ranges: DebugRanges<R>,
debug_rnglists: DebugRngLists<R>
) -> Result<RangeLists<R>>Construct a new RangeLists instance from the data in the .debug_ranges and
.debug_rnglists sections.
pub fn ranges(
&self,
offset: RangeListsOffset<R::Offset>,
unit_version: u16,
address_size: u8,
base_address: u64
) -> Result<RngListIter<R>>[src]
pub fn ranges(
&self,
offset: RangeListsOffset<R::Offset>,
unit_version: u16,
address_size: u8,
base_address: u64
) -> Result<RngListIter<R>>Iterate over the Range list entries starting at the given offset.
The unit_version and address_size must match the compilation unit that the
offset was contained in.
The base_address should be obtained from the DW_AT_low_pc attribute in the
DW_TAG_compile_unit entry for the compilation unit that contains this range list.
Can be used with
FallibleIterator.
pub fn raw_ranges(
&self,
offset: RangeListsOffset<R::Offset>,
unit_version: u16,
address_size: u8
) -> Result<RawRngListIter<R>>[src]
pub fn raw_ranges(
&self,
offset: RangeListsOffset<R::Offset>,
unit_version: u16,
address_size: u8
) -> Result<RawRngListIter<R>>Iterate over the RawRngListEntryies starting at the given offset.
The unit_version and address_size must match the compilation unit that the
offset was contained in.
This iterator does not perform any processing of the range entries, such as handling base addresses.
Can be used with
FallibleIterator.
Trait Implementations
impl<R: Debug + Reader> Debug for RangeLists<R>[src]
impl<R: Debug + Reader> Debug for RangeLists<R>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<R: Clone + Reader> Clone for RangeLists<R>[src]
impl<R: Clone + Reader> Clone for RangeLists<R>fn clone(&self) -> RangeLists<R>[src]
fn clone(&self) -> RangeLists<R>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<R: Copy + Reader> Copy for RangeLists<R>[src]
impl<R: Copy + Reader> Copy for RangeLists<R>Auto Trait Implementations
impl<R> Send for RangeLists<R> where
R: Send,
impl<R> Send for RangeLists<R> where
R: Send, impl<R> Sync for RangeLists<R> where
R: Sync,
impl<R> Sync for RangeLists<R> where
R: Sync,