This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split
- From: "d.khalikov at partner dot samsung.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 06 Jun 2017 13:18:15 +0000
- Subject: [Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split
- Auto-submitted: auto-generated
- References: <bug-77631-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631
Denis Khalikov <d.khalikov at partner dot samsung.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #40963|0 |1
is obsolete| |
--- Comment #9 from Denis Khalikov <d.khalikov at partner dot samsung.com> ---
Created attachment 41478
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41478&action=edit
patch for PR sanitizer/77631
Hello everyone,
I updated the patch.
List of implemented functionality:
1. Reading .note.gnu.build-id section.
a. Parsing section data.
2. Reading.gnu_debuglink section.
a. Parsing section data.
b. Verifying crc32 sum.
3. Searching for separate debug info file.
a. /usr/lib/debug/.build-id
b. /path/to/executable
c. /path/to/executable/.debug
d. /usr/lib/debug/path/to/executable
This patch works for me.
Anyway still waiting for review:
https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01462.html