Project

General

Profile

Feature #12353

libproc should also check the GNU build id in addition to the debug link

Added by Robert Mustacchi 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

While 12352 introduces one mechanism, there is a second mechanism that the GNU folks have introduced for storing separate debug information. This augments libproc to understand that as well.

#1

Updated by Robert Mustacchi 8 months ago

This was primarily tested at Joyent by using tools that use libproc such as mdb, dtrace, pstack, etc. on Linux binaries via the lx brand. This allowed us to test the actual GNU built (gcc/gld) versions of this. I used the debian and ubuntu debug packages for that.

#2

Updated by Electric Monk 8 months ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit 8d12444d6bc9b8e39d369d7700dcb29b0572abaf

commit  8d12444d6bc9b8e39d369d7700dcb29b0572abaf
Author: Robert Mustacchi <rm@joyent.com>
Date:   2020-03-16T10:59:44.000Z

    12353 libproc should also check the GNU build id in addition to the debug link
    Reviewed by: Patrick Mooney <patrick.f.mooney@gmail.com>
    Reviewed by: Joshua M. Clulow <jmc@joyent.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF