This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 13 Jun 2017 13:31:53 +0000
- Subject: [Bug sanitizer/81081] [ASAN] ASAN is not properly calling libbacktrace to symbolize program written on assembler
- Auto-submitted: auto-generated
- References: <bug-81081-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81081
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The thing is that for backtrace_pcinfo the callback can be called multiple
times.
And IMNSHO the hack you want to do (fill in file/line in the backtrace_pcinfo
call and function during backtrace_syminfo) is something you want to do only if
backtrace_pcinfo calls the callback just once.