From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "magic" |
|---|
| subject | "Library:Libdragon" |
|---|
| claim | "A libdragon symbol table starts with ASCII 'SYMT' followed by a big-endian u32 version (2 on trunk, 5 on preview). It is the '.sym' entry of the rompak TOC and gives function names, source files and lines of the program even though the ROM's ELF is stripped." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:libdragon" |
|---|
| observed_in | |
|---|
|
|---|
| data | | bytes | "53 59 4D 54" |
|---|
| offset | "start of the .sym file (ROM offset from the TOC)" |
|---|
| meaning | "libdragon SYMT symbol table" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "every %.z64 rule runs $(N64_SYM) $< $<.sym and passes $<.sym to n64tool --toc" |
|---|
| repo | "https://github.com/DragonMinded/libdragon" |
|---|
| commit | "e356bf3f56f7afbf7e5246329562f145965cfdfc" |
|---|
| path | "n64.mk" |
|---|
| lines | "117-137" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "N64FlashcartMenu V0.3.4: 'SYMT', version 5, at 0x84CE0 (TOC entry N64FlashcartMenu.elf.sym, 99546 bytes): 54223 symbols, 193 files, 2311 functions." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "SYMT" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T04:49:51.803Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:57.618Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read n64.mk 112-140 and tools/n64sym.c 316-330 at e356bf3: n64sym writes fwrite("SYMT",4) then w32(out, 2) (version 2 at this commit), and the %.z64 rule passes $<.sym to n64tool --toc. The version 5 on preview and the N64FlashcartMenu dump were not re-checked." |
|---|
|
|
|---|