addr2line排查地址

在prebuilts/tools/gcc-sdk中存在addr2line

addr2line -a -C -e libstagefright_omx.so  -f 00023808

 If no addresses are specified on the command line, they will be read from stdin
 The options are:
  @<file>                Read options from <file>
  -a --addresses         Show addresses
  -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
  -p --pretty-print      Make the output easier to read for humans
  -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

Mark 
 

猜你喜欢

转载自blog.csdn.net/chi_wy/article/details/82023672