Rizin
unix-like reverse engineering framework and cli tools
demangler_types.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_TYPES_H
5 #define DEMANGLER_TYPES_H
6 #include "demangler_util.h"
7 
9 typedef enum EDemanglerErr {
18 
19 struct SDemangler;
20 typedef EDemanglerErr (*demangle_func)(struct SDemangler *, char **res);
21 
23 typedef struct SDemangler {
24  char *symbol;
27 
28 #endif // DEMANGLER_TYPES_H
EDemanglerErr(* demangle_func)(struct SDemangler *, char **res)
struct SDemangler SDemangler
Demangler object.
EDemanglerErr
Enum of possible errors while demangler working.
@ eDemanglerErrUncorrectMangledSymbol
uncorrect mangled symbol
@ eDemanglerErrUnsupportedMangling
unsupported mangling scheme yet
@ eDemanglerErrUnkown
unknown mangling scheme
@ eDemanglerErrOK
if all is OK
@ eDemanglerErrMemoryAllocation
some memory allocation problem
@ eDemanglerErrInternal
when something very wrong happens
@ eDemanglerErrMax
Demangler object.
demangle_func demangle
function that will use for demangling
char * symbol
symbol that need to be demangled