Go to the documentation of this file.
15#ifndef LIEF_DWARF_EDITOR_VARIABLE_H
16#define LIEF_DWARF_EDITOR_VARIABLE_H
36 Variable(std::unique_ptr<details::Variable> impl);
37 Variable&
set_addr(uint64_t address);
52 Variable&
set_type(
const Type& type);
59 std::unique_ptr<details::Variable> impl_;
This class is the base class for any types created when editing DWARF debug info.
Definition DWARF/editor/Type.hpp:36
This class represents an editable DWARF variable which can be scoped by a function or a compilation u...
Definition editor/Variable.hpp:33
Variable(std::unique_ptr< details::Variable > impl)
Variable & set_stack_offset(uint64_t offset)
Set the stack offset of this variable.
Variable & set_external()
Mark this variable as imported
Variable & set_addr(uint64_t address)
Set the global address of this variable. Setting this address is only revelant in the case of a stati...
Variable & set_type(const Type &type)
Set the type of the current variable.
Definition DWARF/editor/CompilationUnit.hpp:36
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