From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Platform:Android" |
|---|
| claim | "The .note.android.ident ELF note emitted by bionic's crtbrand: Elf_Nhdr {namesz, descsz, type=1 NT_ANDROID_TYPE_IDENT}, name "Android\0" (8 bytes), then a desc starting with the int32 PLATFORM_SDK_VERSION (the API level). Bionic built for Linux hosts uses the name "LinuxBionic" and no desc. Other Android note types: 3 KUSER, 4 MEMTAG, 5 PAD_SEGMENT." |
|---|
| scope | | level | "platform" |
|---|
| applies_to | "Platform:Android" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "note.android.ident" |
|---|
| size_min | 24 |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "namesz" |
|---|
| notes | "8 for Android" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "descsz" |
|---|
| notes | "4 in the bionic source read; NDK-built files may have a longer desc (unverified)" |
|---|
|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "type" |
|---|
| notes | "NT_ANDROID_TYPE_IDENT = 1" |
|---|
|
| offset | 12 |
|---|
| size | 8 |
|---|
| type | "char[8]" |
|---|
| name | "name" |
|---|
| notes | "Android + NUL" |
|---|
|
| offset | 20 |
|---|
| size | 4 |
|---|
| type | "int32_t" |
|---|
| name | "android_api" |
|---|
| notes | "API level" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "abitag note layout and section name" |
|---|
| repo | "https://android.googlesource.com/platform/bionic" |
|---|
| commit | "731631f300090436d7f5df80d50b6275c8c60a93" |
|---|
| path | "libc/arch-common/bionic/crtbrand.S" |
|---|
| lines | "34-48" |
|---|
|
| type | "source" |
|---|
| detail | "NT_ANDROID_TYPE_IDENT 1, KUSER 3, MEMTAG 4, PAD_SEGMENT 5" |
|---|
| repo | "https://android.googlesource.com/platform/bionic" |
|---|
| commit | "731631f300090436d7f5df80d50b6275c8c60a93" |
|---|
| path | "libc/private/bionic_asm_note.h" |
|---|
| lines | "31-34" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "note.android.ident" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:42:38.518Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T22:05:56.037Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read crtbrand.S and bionic_asm_note.h at bionic 731631f: namesz/descsz/type longs, name "Android\0" then PLATFORM_SDK_VERSION; non-Android branch uses "LinuxBionic\0" with no desc; note types 1,3,4,5 match." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T22:05:55.756Z" |
|---|
| summary | "Layout and note type values re-read at the cited commit; raising to high" |
|---|
| changed | |
|---|
|
|
|---|