This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Symbols names in AddressSanitizer backtrace
- From: Markus Trippelsdorf <markus at trippelsdorf dot de>
- To: niXman <i dot nixman at gmail dot com>
- Cc: David Abdurachmanov <david dot abd at gmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Fri, 29 Mar 2013 08:46:31 +0100
- Subject: Re: Symbols names in AddressSanitizer backtrace
- References: <CAMPTgK2n1UxsxVu00pN7cpBu4BFBhzQFK_HyucgJFCDdkyDbLg at mail dot gmail dot com> <C82D89C4-6F8C-4403-BA19-2EB12134CC6D at gmail dot com> <CAMPTgK1hvqpA9c6wsVB+ViC+s09yULZ0Y=NNP9EXUs8HOEUuzg at mail dot gmail dot com>
On 2013.03.29 at 10:24 +0400, niXman wrote:
> 2013/3/29 David Abdurachmanov:
> > Hi,
> >
> > Pipe the output through: https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/scripts/asan_symbolize.py
>
> But with C-code problem the same:
> http://liveworkspace.org/code/2XMeB7$3
You need to redirect stderr, e.g.:
% ./a.out 2>&1 | asan_symbolize.py | c++filt
--
Markus