Go to the documentation of this file.
15#ifndef LIEF_DWARF_EDITOR_H
16#define LIEF_DWARF_EDITOR_H
38 Editor(std::unique_ptr<details::Editor> impl);
39 static std::unique_ptr<Editor>
from_binary(LIEF::Binary& bin);
45 void write(
const std::string& output);
52 std::unique_ptr<details::Editor> impl_;
Abstract binary that exposes an uniform API for the different executable file formats.
Definition Abstract/Binary.hpp:52
This class exposes the main API to create DWARF information.
Definition Editor.hpp:35
Editor(std::unique_ptr< details::Editor > impl)
static std::unique_ptr< Editor > from_binary(LIEF::Binary &bin)
Instantiate an editor for the given binary object.
void write(const std::string &output)
Write the DWARF file to the specified output.
std::unique_ptr< editor::CompilationUnit > create_compilation_unit()
Create a new compilation unit.
This class represents an editable DWARF compilation unit.
Definition DWARF/editor/CompilationUnit.hpp:41
Definition DWARF/CompilationUnit.hpp:30
Namespace for the DWARF debug format.
Definition DWARF/CompilationUnit.hpp:28
LIEF namespace.
Definition Abstract/Binary.hpp:39
#define LIEF_API
Definition visibility.h:41