Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Typedefs | |
typedef enum EManglingType | EManglingType |
Enumerations | |
enum | EManglingType { eManglingMicrosoft = 0 , eManglingUnsupported , eManglingUnknown , eManglingTypeMax } |
Functions | |
static EManglingType | get_mangling_type (char *sym) |
EDemanglerErr | create_demangler (SDemangler **demangler) |
Create object of demangler. More... | |
EDemanglerErr | init_demangler (SDemangler *demangler, char *sym) |
Initialize object of demangler. More... | |
void | free_demangler (SDemangler *demangler) |
Deallocate demangler object. More... | |
typedef enum EManglingType EManglingType |
enum EManglingType |
Enumerator | |
---|---|
eManglingMicrosoft | |
eManglingUnsupported | |
eManglingUnknown | |
eManglingTypeMax |
Definition at line 9 of file demangler.c.
EDemanglerErr create_demangler | ( | SDemangler ** | demangler | ) |
Create object of demangler.
demangler | Object that will be created |
Definition at line 38 of file demangler.c.
References eDemanglerErrMemoryAllocation, eDemanglerErrOK, err, and malloc().
Referenced by libdemangle_handler_msvc().
void free_demangler | ( | SDemangler * | demangler | ) |
Deallocate demangler object.
demangler | Demangler object that will be deallocated |
Definition at line 96 of file demangler.c.
References RZ_FREE, and SDemangler::symbol.
Referenced by libdemangle_handler_msvc().
|
static |
Definition at line 17 of file demangler.c.
References eManglingMicrosoft, eManglingUnknown, and eManglingUnsupported.
Referenced by init_demangler().
EDemanglerErr init_demangler | ( | SDemangler * | demangler, |
char * | sym | ||
) |
Initialize object of demangler.
demangler | Object of demangler that will be initialized |
sym | Symbol that need to be demangled |
Definition at line 56 of file demangler.c.
References SDemangler::demangle, eDemanglerErrMemoryAllocation, eDemanglerErrOK, eDemanglerErrUnkown, eDemanglerErrUnsupportedMangling, eManglingUnknown, eManglingUnsupported, err, get_mangling_type(), microsoft_demangle(), strdup(), and SDemangler::symbol.
Referenced by libdemangle_handler_msvc().