From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:Ar archive" |
|---|
| claim | "Special ar member names in libarchive's reader: '/' (the SVR4/GNU symbol table) is recognised and skipped, not returned as an entry; '//' is the GNU long-name string table, which is read and consumed and not returned; '#1/N' (BSD) names have their N-byte name stored at the start of the member data (the size reported is reduced by N; N above 1 MiB or above the entry size is an error); '/NNN' GNU names index into the '//' table. '/SYM64/' (64-bit GNU symbol table) and '__.SYMDEF' (BSD symbol table) are only named in a comment as future work: libarchive returns them as ordinary entries; '__.SYMDEF' only helps guess the BSD variant when no earlier clue exists." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Ar archive" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "member name" |
|---|
| effect | "'/' skipped, '//' consumed as the long-name table, '#1/N' prefixed name; '/SYM64/' and '__.SYMDEF' are returned as normal entries" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "comments and strcmp/strncmp on the names" |
|---|
| repo | "https://github.com/libarchive/libarchive" |
|---|
| commit | "7f149b1076f27449a6cfcb92e5046aea8590f833" |
|---|
| path | "libarchive/archive_read_support_format_ar.c" |
|---|
| lines | "194-198, 267, 336-340, 392-400" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Symbol table member names" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:05:20.801Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:28:13.133Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read libarchive archive_read_support_format_ar.c lines 175-470 at 7f149b1: '/' skipped (pathname NULL, read_header loops), '//' consumed, /NNN lookup, #1/N limits (1 MiB, entry size), '/SYM64/' and '__.SYMDEF' only in a comment (plus format guess) and returned as normal entries." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T06:38:41.461Z" |
|---|
| summary | "libarchive only special-cases '/', '//' and '#1/N'; '/SYM64/' and '__.SYMDEF' are just named in a comment as 'future work' and come out as ordinary entries. Read…" |
|---|
| changed | |
|---|
|
|
|---|