retdec
|
#include <demangler.h>
Static Public Member Functions | |
static Demangler * | addDemangler (llvm::Module *llvmModule, Config *config, const std::shared_ptr< ctypesparser::TypeConfig > &typeConfig) |
static Demangler * | getDemangler (llvm::Module *m) |
static bool | getDemangler (llvm::Module *m, Demangler *&d) |
static void | clear () |
Static Private Attributes | |
static std::map< llvm::Module *, std::unique_ptr< Demangler > > | _module2demangler |
Mapping of modules to demanglers associated with them. More... | |
Completely static object – all members and methods are static -> it can be used by anywhere in bin2llvmirl. It provides mapping of modules to demanglers associated with them.
|
static |
Create and add to provider a demangler for the given module m and tools t.
nullptr
if something went wrong and it was not successfully created.
|
static |
Clear all stored data.
|
static |
nullptr
if there is no associated demangler.
|
static |
Get demangler d associated with the module m.
[in] | m | Module for which to get demangler. |
[out] | d | Set to demangler associated with m module, or nullptr if there is no associated demangler. |
True
if demangler d was set ok and can be used. False
otherwise.
|
staticprivate |
Mapping of modules to demanglers associated with them.