From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "The defined-versions table (.gnu.version_d, DT_VERDEF, SHT_GNU_verdef 0x6ffffffd) is a chain of 20-byte Elf_Verdef records each followed by vd_cnt 8-byte Elf_Verdaux records; the first Verdef has VER_FLG_BASE (0x1) and names the file itself." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Elf_Verdef / Elf_Verdaux" |
|---|
| size | 20 |
|---|
| fields | | name | "vd_version" |
|---|
| offset | 0 |
|---|
| type | "uint16" |
|---|
| note | "1" |
|---|
|
| name | "vd_flags" |
|---|
| offset | 2 |
|---|
| type | "uint16" |
|---|
| note | "VER_FLG_BASE 0x1, VER_FLG_WEAK 0x2" |
|---|
|
| name | "vd_ndx" |
|---|
| offset | 4 |
|---|
| type | "uint16" |
|---|
| note | "index referenced by .gnu.version" |
|---|
|
| name | "vd_cnt" |
|---|
| offset | 6 |
|---|
| type | "uint16" |
|---|
| note | "number of Verdaux" |
|---|
|
| name | "vd_hash" |
|---|
| offset | 8 |
|---|
| type | "uint32" |
|---|
| note | "elf_hash of the version name" |
|---|
|
| name | "vd_aux" |
|---|
| offset | 12 |
|---|
| type | "uint32" |
|---|
| note | "bytes to first Verdaux" |
|---|
|
| name | "vd_next" |
|---|
| offset | 16 |
|---|
| type | "uint32" |
|---|
| note | "bytes to next Verdef, 0 at end" |
|---|
|
| name | "vda_name" |
|---|
| offset | 0 |
|---|
| type | "uint32" |
|---|
| note | "Verdaux (8 bytes): .dynstr offset of the name" |
|---|
|
| name | "vda_next" |
|---|
| offset | 4 |
|---|
| type | "uint32" |
|---|
| note | "Verdaux: bytes to next Verdaux" |
|---|
|
|
|---|
| endianness | "mixed" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Elf32/64_Verdef and Verdaux typedefs, VER_FLG_*" |
|---|
| repo | "https://github.com/bminor/glibc" |
|---|
| commit | "04e750e75b73957cf1c791535a3f4319534a52fc" |
|---|
| path | "elf/elf.h" |
|---|
| lines | "1049-1108" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Verdef and Verdaux" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T09:13:24.687Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:39:41.083Z" |
|---|
| summary | "Set byte order mixed: version-definition records use the byte order of the ELF file (EI_DATA)." |
|---|
| changed | |
|---|
|
|
|---|