Skip to content
Snippets Groups Projects

inspect-library: Add support for consuming deb-symbols(5) files

Merged Simon McVittie requested to merge wip/smcv/deb-symbols into master

(This branch includes !20 (merged))

The Steam Runtime is built using dpkg/apt, so we have this information already for a lot of the shared libraries, for example in /var/lib/dpkg/info/zlib1g:amd64.symbols in a SDK container.

For those that we don't, such as libcurl3, we can generate a deb-symbols(5) file by either improving the packaging, or using for example

dpkg-gensymbols -q -v0 -plibcurl3 -e/usr/lib/x86_64-linux-gnu/libcurl.so.3 -I/dev/null -O

(although the output of such commands will require some postprocessing and common sense to filter out private symbols that are not meant to be part of the ABI).

Format reference: deb-symbols(5)

Edited by Simon McVittie

Merge request reports

Pipeline #1290 passed

Pipeline passed for 24ac6293 on wip/smcv/deb-symbols

Merged by Simon McVittieSimon McVittie 5 years ago (Jul 29, 2019 1:01pm UTC)

Loading

Pipeline #1291 passed

Pipeline passed for 39c10151 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading