Skip to content

BuildId printing is required #3

@Klayflash

Description

@Klayflash

Hello.

I'm found that the library does not print BuildId like android's crash dumper.

xUnwind example:

: #00 pc 001b5548  /data/app/~~e_GE1lEQefY82roFs1FWDA==/com.example.Tests-a19SzXnXizKY4uhToyS7lA==/lib/x86/libmain.so

android crush dumper example (contains BuildId at end of a line):

12-20 00:03:53.008 11002 11002 F DEBUG   :       #00 pc 001c4af7  /data/app/~~e_GE1lEQefY82roFs1FWDA==/com.example.Tests-a19SzXnXizKY4uhToyS7lA==/lib/x86/libmain.so (BuildId: 1235265346346457347346765467547645865548)

readelf dump of symbols:

D:\android-ndk-r21b\toolchains\llvm\prebuilt\windows-x86_64\bin\i686-linux-android-readelf.exe -n D:\temp\symbols\x86\libmain.so

Displaying notes found at file offset 0x00000134 with length 0x00000098:
  Owner                 Data size       Description
  Android              0x00000084       NT_VERSION (version)

Displaying notes found at file offset 0x000001cc with length 0x00000024:
  Owner                 Data size       Description
  GNU                  0x00000014       NT_GNU_BUILD_ID (unique build ID bitstring)
    Build ID: 1235265346346457347346765467547645865548

Displaying notes found at file offset 0x08b4a990 with length 0x0000001c:
  Owner                 Data size       Description
  GNU                  0x00000009       NT_GNU_GOLD_VERSION (gold version)
    Version: gold 1.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions