asan_symbolize-3.8 -V (return code: 2)
usage: asan_symbolize-3.8 [-h] [-d] [-s SYSROOT] [-c CROSS_COMPILE]
[-l LOGFILE]
[path_to_cut [path_to_cut ...]]
asan_symbolize-3.8: error: unrecognized arguments: --version
asan_symbolize-3.8 --help (return code: 0)
usage: asan_symbolize-3.8 [-h] [-d] [-s SYSROOT] [-c CROSS_COMPILE]
[-l LOGFILE]
[path_to_cut [path_to_cut ...]]
ASan symbolization script
positional arguments:
path_to_cut pattern to be cut from the result file path
optional arguments:
-h, --help show this help message and exit
-d, --demangle demangle function names
-s SYSROOT set path to sysroot for sanitized binaries
-c CROSS_COMPILE set prefix for binutils
-l LOGFILE, --logfile LOGFILE
set log file name to parse, default is stdin
Example of use:
asan_symbolize.py -c "$HOME/opt/cross/bin/arm-linux-gnueabi-" -s "$HOME/SymbolFiles" < asan.log