Open Silur opened 7 years ago
cause seems like to be this line, I'll try to resolve it and make a PR:
elf.c:97 h->dsyms[h->dsc].name = xstrdup(&SymStrTable[symtab->st_name]);
Okay, got the problem, binflow.h:39 #define MAX_SYMS 8192 * 2
, my executable has more symbols than this and there is no proper error handling for that. Definitely have to change handle->dsyms to a pointer to allow dynamic accommodation.
No matter whether tracing with
-b
or-p
, binflow always crashes with a segfault. trace:Runing on Arch linux x86_64 4.8.13-1