Demanglename

OllyDbg Plugin API

Demanglename

Demangles or undecorates name. Currently supports Borland and Microsoft mangling schemes. Returns 0 if name is not mangled (in this case buffer pointed to by undecorated is invalid and probably modified) and length of unmangled name on success. Attention, no guarantee that demangled name is unique!

int Demanglename(char *name,int type,char *undecorated);

Parameters:

name - pointer to mangled name;

type - type of name. Function treats names of types NM_IMPORT and NM_IMPNAME in a special way;

undecorated - pointer to output buffer of length at least TEXTLEN characters.