This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# | |
# Symbolize AddressSanitizer stacktraces via objdump -Sd. | |
# Expands the 0 frame srcline and for subsequent frames only the function name. | |
# | |
# OPTIONS: | |
# -l prints all lines, without -l only the expanded stacktraces. | |
# -f<n> disassembles the first n stackframes, not only the first | |
# -f0 disassembles all stackframes | |
# Copyright 2011 Reini Urban, BSD License |