From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "Entries of .gnu.version (Versym, uint16 per .dynsym symbol): low 15 bits (mask 0x7fff, VERSYM_VERSION) are the version index, bit 15 (0x8000, VERSYM_HIDDEN) marks a hidden non-default version; 0 is local, 1 is global/base, 2 and up index verdef/vernaux entries, 0xff00 and above are reserved (0xff01 eliminate)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "VER_NDX" |
|---|
| underlying_type | "uint16" |
|---|
| values | | VER_NDX_LOCAL | 0 |
|---|
| VER_NDX_GLOBAL | 1 |
|---|
| VER_NDX_LORESERVE | 65280 |
|---|
| VER_NDX_ELIMINATE | 65281 |
|---|
| VERSYM_VERSION | 32767 |
|---|
| VERSYM_HIDDEN | 32768 |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "VER_NDX_*" |
|---|
| repo | "https://github.com/bminor/glibc" |
|---|
| commit | "04e750e75b73957cf1c791535a3f4319534a52fc" |
|---|
| path | "elf/elf.h" |
|---|
| lines | "1089-1092" |
|---|
|
| type | "source" |
|---|
| detail | "VERSYM_VERSION, VERSYM_HIDDEN" |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "fe04b9b583adcf40c44c3f525682ec28af4509ae" |
|---|
| path | "llvm/include/llvm/BinaryFormat/ELF.h" |
|---|
| lines | "1732-1733" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Versym values" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T09:13:24.755Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T08:57:49.827Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read glibc elf.h at 04e750e7 lines 1088-1092 (VER_NDX_LOCAL 0, GLOBAL 1, LORESERVE 0xff00, ELIMINATE 0xff01) and llvm ELF.h at fe04b9b5 lines 1728-1735 (VERSYM_VERSION 0x7fff, VERSYM_HIDDEN 0x8000); decimal values 65280/65281/32767/32768 match." |
|---|
| notes | "Complete." |
|---|
|
|
|---|