c - Objdump gives Segmentation Fault with -S option -


i trying use objdump display source disassembly using -s option. running objdump on cygwin. built objdump arm on cygwin. compiler build gcc.

the elf file built arm processor using thumb2 instruction set using ti arm compiler.

i able run objdump extract disassembly(using -d option). however, getting segmentation fault when try use display source well. crashes reaches .text section. output of using objdump -mforce-thumb -s prog.out is:

prog.out: file format elf32-littlearm

disassembly of section .text:

000000c0 <add_function>:
segmentation fault (core dumped)

objdump not decompiler, disassembler. disassembly (comparatively) simple, provided binary not using anti-disassembly tricks. decompilation, contrast, difficult thing do, , objdump makes no attempt it. can dump source if binary included it. that's not common native binaries, heard, java binaries tend include source.


Comments

Popular posts from this blog

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

double exclamation marks in haskell -

javascript - How to get D3 Tree link text to transition smoothly? -