LIEF: Library to Instrument Executable Formats Version 2.0.0
Loading...
Searching...
No Matches
LIEF::dwarf::LocationEntry Struct Reference

Location associated with the range of addresses where it is valid. More...

#include <Location.hpp>

Public Member Functions

std::string to_string () const
 Human-readable description of this entry (e.g. [0x1130, 0x1136): register 5).

Public Attributes

std::optional< range_t > range
 Range of addresses [low, high) where the location is valid.
std::optional< uint64_t > section_index
 Index of the object's section containing the range (if any).
std::unique_ptr< Location > location
 The location or a nullptr if the DWARF expression can't be decoded.

Detailed Description

Location associated with the range of addresses where it is valid.

Member Function Documentation

◆ to_string()

std::string LIEF::dwarf::LocationEntry::to_string ( ) const

Human-readable description of this entry (e.g. [0x1130, 0x1136): register 5).

Referenced by operator<<.

Member Data Documentation

◆ location

std::unique_ptr<Location> LIEF::dwarf::LocationEntry::location

The location or a nullptr if the DWARF expression can't be decoded.

◆ range

std::optional<range_t> LIEF::dwarf::LocationEntry::range

Range of addresses [low, high) where the location is valid.

◆ section_index

std::optional<uint64_t> LIEF::dwarf::LocationEntry::section_index

Index of the object's section containing the range (if any).


The documentation for this struct was generated from the following file: