LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
LIEF::dwarf Namespace Reference

Namespace for the DWARF debug format. More...

Namespaces

namespace  details
 
namespace  types
 

Classes

class  CompilationUnit
 This class represents a DWARF compilation unit. More...
 
class  DebugInfo
 This class represents a DWARF debug information. It can embed different compilation units which can be accessed through compilation_units() . More...
 
class  Function
 This class represents a DWARF function which can be associated with either: DW_TAG_subprogram or DW_TAG_inlined_subroutine. More...
 
class  Scope
 This class materializes a scope in which Function, Variable, Type, ... can be defined. More...
 
class  Type
 This class represents a DWARF Type which includes: More...
 
class  Variable
 This class represents a DWARF variable which can be owned by a dwarf::Function or a dwarf::CompilationUnit. More...
 

Enumerations

enum class  EH_ENCODING {
  ABSPTR = 0x00 , OMIT = 0xff , ULEB128 = 0x01 , UDATA2 = 0x02 ,
  UDATA4 = 0x03 , UDATA8 = 0x04 , SLEB128 = 0x09 , SDATA2 = 0x0a ,
  SDATA4 = 0x0b , SDATA8 = 0x0c , SIGNED = 0x09 , PCREL = 0x10 ,
  INDIRECT = 0x80 , TEXTREL = 0x20 , DATAREL = 0x30 , FUNCREL = 0x40 ,
  ALIGNED = 0x50
}
 

Functions

std::unique_ptr< DebugInfoload (const std::string &pdb_path)
 Load DWARF file from the given path.
 

Detailed Description

Namespace for the DWARF debug format.

Enumeration Type Documentation

◆ EH_ENCODING

enum class LIEF::dwarf::EH_ENCODING
strong
Enumerator
ABSPTR 
OMIT 
ULEB128 
UDATA2 
UDATA4 
UDATA8 
SLEB128 
SDATA2 
SDATA4 
SDATA8 
SIGNED 
PCREL 
INDIRECT 
TEXTREL 
DATAREL 
FUNCREL 
ALIGNED 

Function Documentation

◆ load()

std::unique_ptr< DebugInfo > LIEF::dwarf::load ( const std::string & pdb_path)
inline

Load DWARF file from the given path.

References LIEF::dwarf::DebugInfo::from_file().