|
PebbleOS
|
GNU build ID note inserted by the linker. More...
Data Structures | |
| struct | ElfExternalNote |
| ELF note, the format the linker uses to insert the build ID. More... | |
Macros | |
| #define | BUILD_ID_EXPECTED_LEN (20) |
| Length of the build ID, a SHA-1 hash. | |
| #define | BUILD_ID_NAME_EXPECTED_LEN (4) |
| Length of the build ID note name, "GNU" and its terminator. | |
| #define | BUILD_ID_TOTAL_EXPECTED_LEN (sizeof(ElfExternalNote) + BUILD_ID_NAME_EXPECTED_LEN + BUILD_ID_EXPECTED_LEN) |
| Total size of a build ID note. | |
Functions | |
| bool | build_id_contains_gnu_build_id (const ElfExternalNote *note) |
| Check whether a note holds a GNU build ID of the expected length. | |
GNU build ID note inserted by the linker.
| struct ElfExternalNote |
ELF note, the format the linker uses to insert the build ID.
| #define BUILD_ID_EXPECTED_LEN (20) |
Length of the build ID, a SHA-1 hash.
| #define BUILD_ID_NAME_EXPECTED_LEN (4) |
Length of the build ID note name, "GNU" and its terminator.
| #define BUILD_ID_TOTAL_EXPECTED_LEN (sizeof(ElfExternalNote) + BUILD_ID_NAME_EXPECTED_LEN + BUILD_ID_EXPECTED_LEN) |
Total size of a build ID note.
| bool build_id_contains_gnu_build_id | ( | const ElfExternalNote * | note | ) |
Check whether a note holds a GNU build ID of the expected length.
| note | ELF note. |
note is a 20-byte NT_GNU_BUILD_ID note named "GNU".