15#ifndef LIEF_DEBUG_DECL_OPT_H
16#define LIEF_DEBUG_DECL_OPT_H
18#include <unordered_map>
DeclOpt & desugar(bool value)
DeclOpt & include_locals(bool value)
DeclOpt & operator=(const DeclOpt &other)
DeclOpt & operator=(DeclOpt &&other) noexcept
bool show_extended_annotations() const
Enable extended comments and annotations.
bool include_types() const
Include full type definitions.
DeclOpt & show_field_offsets(bool value)
DeclOpt(const DeclOpt &other)
uint32_t indentation() const
The number of spaces for indentation.
bool is_cpp() const
Prefer C++ syntax over C syntax.
DeclOpt & type_aliases(type_aliases_t aliases)
bool include_locals() const
Emit a function body listing its local / stack variables.
DeclOpt(DeclOpt &&other) noexcept
std::unordered_map< std::string, std::string > type_aliases_t
Mapping between a type name and a user-friendly aliases. (e.g. std::basic_string<char,...
Definition DebugDeclOpt.hpp:42
DeclOpt & add_type_alias(std::string name, std::string alias)
Register a single type alias.
DeclOpt & indentation(uint32_t value)
DeclOpt & show_extended_annotations(bool value)
DeclOpt & include_types(bool value)
bool desugar() const
Resolve type aliases (sugar).
std::string_view target_triple() const
The LLVM target (e.g. aarch64-unknown-linux-gnu) used to build the AST from which the definitions are...
bool show_field_offsets() const
Show the relative offset of each field/attribute in structures.
DeclOpt & is_cpp(bool value)
const type_aliases_t & type_aliases() const
Mapping of type names to user-friendly aliases.
#define LIEF_LIFETIMEBOUND
Definition compiler_attributes.hpp:72
Definition Abstract/DebugInfo.hpp:27
LIEF namespace.
Definition Abstract/Binary.hpp:42
#define LIEF_API
Definition visibility.h:45