From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "A 32-bit symbol Elf32_Sym is 16 bytes: uint32 st_name, uint32 st_value, uint32 st_size, uint8 st_info, uint8 st_other, uint16 st_shndx (value and size come before info, unlike Elf64_Sym)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Elf32_Sym" |
|---|
| size | 16 |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "st_name" |
|---|
|
| offset | 4 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "st_value" |
|---|
| notes | "ARM: bit 0 set for Thumb functions" |
|---|
|
| offset | 8 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "st_size" |
|---|
|
| offset | 12 |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "st_info" |
|---|
| notes | "bind << 4 | type" |
|---|
|
| offset | 13 |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "st_other" |
|---|
|
| offset | 14 |
|---|
| size | 2 |
|---|
| type | "uint16" |
|---|
| name | "st_shndx" |
|---|
|
|
|---|
| endianness | "mixed" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "_create_sym, elfclass 32 branch" |
|---|
| repo | "https://github.com/eliben/pyelftools" |
|---|
| commit | "5a04389392e25d8128e1acb59828a0a85be791b1" |
|---|
| path | "elftools/elf/structs.py" |
|---|
| lines | "363-371" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "android_dyntags.so.elf (ELF32 i386): 212 .dynsym entries of 16 bytes; all 137 symbols from GNU hash symoffset 75 are found by name" |
|---|
|
| type | "source" |
|---|
| detail | "ELFStructs(little_endian, elfclass): create_basic_structs picks ULInt* or UBInt* by little_endian" |
|---|
| repo | "https://github.com/eliben/pyelftools" |
|---|
| commit | "5a04389392e25d8128e1acb59828a0a85be791b1" |
|---|
| path | "elftools/elf/structs.py" |
|---|
| lines | "91-131" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Elf32_Sym" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T13:25:17.340Z" |
|---|
| verifications | |
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T12:37:02.137Z" |
|---|
| summary | "Set byte order mixed: multi-byte fields follow EI_DATA (little_endian flag of ELFStructs)." |
|---|
| changed | |
|---|
|
|
|---|