Rizin
unix-like reverse engineering framework and cli tools
|
#include "demangler_types.h"
Go to the source code of this file.
Functions | |
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... | |
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().
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().