Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libcdb buildid offsets #1703

Merged
merged 2 commits into from
Oct 20, 2020

Conversation

peace-maker
Copy link
Member

Recent libcs from Debian and Ubuntu have different offsets for the build id.
Running the following to count buildid offsets on a local libc-database with ubuntu and debian:

function check_arch() {
readelf -SW $(file -L * | grep -i "$1" | cut -d ':' -f 1) \
      | grep .note.gnu.build-id \
      | sort \
      | uniq -c
}
$ check_arch 80386
     83   [ 1] .note.gnu.build-id NOTE            00000174 000174 000024 00   A  0   0  4
     19   [ 1] .note.gnu.build-id NOTE            000001b4 0001b4 000024 00   A  0   0  4
     16   [ 1] .note.gnu.build-id NOTE            000001d4 0001d4 000024 00   A  0   0  4
$ check_arch "x86-64"
     84   [ 1] .note.gnu.build-id NOTE            0000000000000270 000270 000024 00   A  0   0  4
     14   [ 1] .note.gnu.build-id NOTE            00000000000002e0 0002e0 000024 00   A  0   0  4
     16   [ 2] .note.gnu.build-id NOTE            0000000000000370 000370 000024 00   A  0   0  4

Recent libcs from Debian and Ubuntu have different offsets for the build id.
@Arusekk Arusekk merged commit cde5106 into Gallopsled:dev Oct 20, 2020
@peace-maker peace-maker deleted the libcdb_buildid_offsets branch October 20, 2020 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants