LIEF: Library to Instrument Executable Formats Version 0.17.0
Loading...
Searching...
No Matches
LIEF::dwarf::Editor Class Reference

This class exposes the main API to create DWARF information. More...

#include <Editor.hpp>

Public Member Functions

 Editor ()=delete
 
 Editor (std::unique_ptr< details::Editor > impl)
 
std::unique_ptr< editor::CompilationUnitcreate_compilation_unit ()
 Create a new compilation unit.
 
void write (const std::string &output)
 Write the DWARF file to the specified output.
 
 ~Editor ()
 

Static Public Member Functions

static std::unique_ptr< Editorfrom_binary (LIEF::Binary &bin)
 Instantiate an editor for the given binary object.
 

Detailed Description

This class exposes the main API to create DWARF information.

Constructor & Destructor Documentation

◆ Editor() [1/2]

LIEF::dwarf::Editor::Editor ( )
delete

◆ Editor() [2/2]

LIEF::dwarf::Editor::Editor ( std::unique_ptr< details::Editor > impl)

◆ ~Editor()

LIEF::dwarf::Editor::~Editor ( )

Member Function Documentation

◆ create_compilation_unit()

std::unique_ptr< editor::CompilationUnit > LIEF::dwarf::Editor::create_compilation_unit ( )

Create a new compilation unit.

◆ from_binary()

static std::unique_ptr< Editor > LIEF::dwarf::Editor::from_binary ( LIEF::Binary & bin)
static

Instantiate an editor for the given binary object.

◆ write()

void LIEF::dwarf::Editor::write ( const std::string & output)

Write the DWARF file to the specified output.


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