Wednesday, June 26, 2013

Binary Hacks

GNU Tools: What the following commands can do for your debugging?
arm-linux-addr2line
arm-linux-cpp
arm-linux-gcov
arm-linux-nm
arm-linux-size
arm-linux-ar
arm-linux-elfedit
arm-linux-gdb
arm-linux-objcopy
arm-linux-sprite
arm-linux-as
arm-linux-g++
arm-linux-gdbtui
arm-linux-objdump
arm-linux-strings
arm-linux-c++
arm-linux-gcc
arm-linux-gprof
arm-linux-ranlib
arm-linux-strip
arm-linux-c++filt
arm-linux-ld
arm-linux-readelf


  • Linux Kernel

  • Case1: Oops (NULL Pointer exception)

    The arm-linux-addr2line can find exactly where the oops occurred.
    Example:
    [ ] # arm-linux-addr2line -f -e vmlinux  <PC> 

  • Linux Application


  • Reference:

    Book:
    Binary Hacks

    No comments: