7 #ifndef RETDEC_LLVM_DEMANGLE_RETDEC_H
8 #define RETDEC_LLVM_DEMANGLE_RETDEC_H
44 explicit Demangler(
const std::string &compiler);
51 const std::string &mangled,
52 std::unique_ptr<ctypes::Module> &
module,
55 unsigned defaultBitWidth) = 0;
std::map< std::string, ctypes::IntegralType::Signess > TypeSignedness
Set container for C-types' signedness.
Definition: ctypes_parser.h:30
std::map< std::string, unsigned > TypeWidths
Set container for C-types' bit width.
Definition: ctypes_parser.h:28
Definition: demangler_base.h:31
Status status()
Definition: demangler_base.cpp:22
virtual std::shared_ptr< ctypes::Function > demangleFunctionToCtypes(const std::string &mangled, std::unique_ptr< ctypes::Module > &module, const ctypesparser::CTypesParser::TypeWidths &typeWidths, const ctypesparser::CTypesParser::TypeSignedness &typeSignedness, unsigned defaultBitWidth)=0
std::string _compiler
Definition: demangler_base.h:60
virtual std::string demangleToString(const std::string &mangled)=0
Demangler(const std::string &compiler)
Definition: demangler_base.cpp:16
virtual ~Demangler()=default
Status
Definition: demangler_base.h:34
@ invalid_mangled_name
Definition: demangler_base.h:39
@ init
Definition: demangler_base.h:36
@ unknown
Definition: demangler_base.h:40
@ memory_alloc_failure
Definition: demangler_base.h:38
@ init_fail
Definition: demangler_base.h:37
@ success
Definition: demangler_base.h:35
Status _status
Definition: demangler_base.h:61
ShPtr< Module > module
The current module.
Definition: hll_writer.cpp:100
Definition: archive_wrapper.h:19