erroneously skip symbols that were not mangled at all. Fix this by moving the return into the preceding if block. While here, simplify the code by letting __cxa_demangle() allocate the needed space for the demangled symbol. This also fixes a memory leak, which would occur whenever __cxa_demangle() failed. Reported by: pgj MFC after: 3 days |
||
---|---|---|
.. | ||
test | ||
_libproc.h | ||
libproc.h | ||
Makefile | ||
proc_bkpt.c | ||
proc_create.c | ||
proc_regs.c | ||
proc_rtld.c | ||
proc_sym.c | ||
proc_util.c |