ampotos / dynStruct

Reverse engineering tool for automatic structure recovering and memory use analysis based on DynamoRIO and Capstone
MIT License
316 stars 34 forks source link

segf pf the data gatherer on "gcc dynStruct/tests/test.c" #21

Open ampotos opened 8 years ago

ampotos commented 8 years ago

Received SIGSEGV at client library pc 0x0000000072007563 in thread 6544 Base: 0x000055bbf6e50000 Registers:eax=0x00007f7dd3a0c018 ebx=0x00007f7dd4063ec0 ecx=0x5441554156415741 edx=0x5441554156415741 esi=0x00007f7dd37fee50 edi=0x000000004b8477b8 esp=0x000000004b68aa80 ebp=0x000000007220f088 r8 =0x000000004b5f68b0 r9 =0x0000000000000000 r10=0x0000000000000003 r11=0x0000000000000246 r12=0x0000000000000000 r13=0x0000000000000001 r14=0x00007f7dd3a0c018 r15=0x0000000000000002 eflags=0x0000000000010206 version 6.1.17025, build 0xac1015a -client_lib '/home/ampotos/dynStruct/dynStruct;0;' -code_api -stack_size 56K -max_elide_jmp 0 -max_elide_call 0 -early_inject -emulate_brk -no_inline_ignored_syscalls -native_exec_default_list '' -no_native_exec_managed_code -no_indcall2direct 0x000000007220f088 0x0000000000000000 0x000000004b782090 0x000000004ba16c80 0x000000004b6bf4d8 0x0000000000000000 /home/ampotos/dynStruct/dynStruct=0x0000000072000000 /home/ampotos/dynamorio/ext/lib64/release/libdrsyms.so=0x0000000000010000 /lib/x86_64-linux-gnu/libc.so.6=0x00007f7dd4a95000 /lib64/ld-linux-x86-64.so.2=0x00007f7dd486c000 /home/ampotos/dynamorio/ext/lib64/release/libdrwrap.so=0x0000000074000000 /home/ampotos/dynamorio/ext/lib64/release/libdrutil.so=0x0000000075000000 /home/ampotos/dynamorio/ext/lib64/release/libdrmgr.so=0x0000000073000000> collect2: error: ld returned 255 exit status Command exited with non-zero status 1

ampotos commented 8 years ago

The segfault seem to appear in the tree implementation.

ampotos commented 8 years ago

It happen when gcc use the program: x86_64-linux-gnu-ld.bfd