This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]