Rizin
unix-like reverse engineering framework and cli tools
demangler.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2015 inisider <inisider@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef DEMANGLER_H
5 #define DEMANGLER_H
6 
7 #include "demangler_types.h"
8 
10 // Usage of SDemangler:
11 // SDemangler *mangler = 0;
12 // char *demangled_name = 0;
13 // create_demangler(&mangler); // can be checked == eDemanlerErrMemoryAlloc...
14 // if (init_demangler(mangler, str) == eDemanglerErrOK) {
15 // mangler->demangle(mangler, &demangled_name);
16 // }
17 // free_demangler(mangler);
19 
27 
37 EDemanglerErr init_demangler(SDemangler *demangler, char *sym);
38 
44 void free_demangler(SDemangler *demangler);
45 
46 #endif // DEMANGLER_H
void free_demangler(SDemangler *demangler)
Deallocate demangler object.
Definition: demangler.c:96
EDemanglerErr init_demangler(SDemangler *demangler, char *sym)
Initialize object of demangler.
Definition: demangler.c:56
EDemanglerErr create_demangler(SDemangler **demangler)
Create object of demangler.
Definition: demangler.c:38
EDemanglerErr
Enum of possible errors while demangler working.
Demangler object.