Closed GoogleCodeExporter closed 9 years ago
Symbolizing _start should work after r183213:
$ ./bin/clang++ -fsanitize=address -g
llvm/projects/compiler-rt/lib/asan/lit_tests/use-after-free.cc
$ ./a.out
=================================================================
==26740==ERROR: AddressSanitizer: heap-use-after-free on address 0x60200000eff5
at pc 0x428ec3 bp 0x7fff64ad63b0 sp 0x7fff64ad63a8
READ of size 1 at 0x60200000eff5 thread T0
#0 0x428ec2 in main /usr/local/google/llvm/projects/compiler-rt/lib/asan/lit_tests/use-after-free.cc:22
#1 0x7f5f4aa4176c (/lib/x86_64-linux-gnu/libc.so.6+0x2176c)
#2 0x428c54 in _start (/usr/local/google/llvm_build_clang/a.out+0x428c54)
<...>
Original comment by samso...@google.com
on 4 Jun 2013 at 8:03
Note that to symbolize __libc_start_main we should understand .gnu_debuglink
section (there's issue 169 for that)
Original comment by samso...@google.com
on 4 Jun 2013 at 8:05
Original issue reported on code.google.com by
euge...@google.com
on 20 Feb 2013 at 2:10