$ addr2line --help Usage: addr2line [option(s)] [addr(s)] Convert addresses into line number/file name pairs. If no addresses are specified on the command line, they will be read from stdin The options are: @<file> Read options from <file> -b --target=<bfdname> Set the binary file format -e --exe=<executable> Set the input file name (default is a.out) -i --inlines Unwind inlined functions -j --section=<name> Read section-relative offsets instead of addresses -s --basenames Strip directory names -f --functions Show function names -C --demangle[=style] Demangle function names -h --help Display this information -v --version Display the program's version addr2line: supported targets: elf32-i386 a.out-i386-linux efi-app-ia32 elf32-little elf32-big srec symbolsrec tekhex binary ihex trad-core Report bugs to <URL:http://www.sourceware.org/bugzilla/> and hjl@lucon.org |
$ addr2line -e a.out -f 0xaaaaaaa
이런식으로 사용하면 함수 이름이 뿅 하고 나오나?
[발견 : http://blog.naver.com/carnola?Redirect=Log&logNo=70033330562]
'Linux' 카테고리의 다른 글
libjpeg - Independent JPEG Group (0) | 2009.04.28 |
---|---|
convert(1) - convert between image formats as well as resize an image (0) | 2009.04.28 |
Fixing up unaligned userspace access (0) | 2009.04.24 |
GTK_IM_MODULE을 이용하여 기본 IM을 설정하자(default Input Method) (0) | 2009.04.15 |
/dev/random 을 이용한 랜덤값 얻기 (3) | 2009.04.14 |