Skip to content

Instantly share code, notes, and snippets.

View bitflippersanonymous's full-sized avatar

Ryan Henderson bitflippersanonymous

View GitHub Profile
@rurban
rurban / asan_addr2dis
Created November 24, 2011 19:41
asan_addr2dis
#!/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