From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:BinHex 4.0" |
|---|
| claim | "BinHex 4.0 is recognised by the text '(This file must be converted with BinHex' within the first 8192 bytes, then a ':' after the line break, and a decoded header whose CRC-16 (0x1021) over name length + 19 + name bytes matches." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:BinHex 4.0" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "text banner then ':' stream" |
|---|
| indicator | "(This file must be converted with BinHex ... newline ':' ; decoded: u8 name length 1-63, name, 1 byte version, u32 type, u32 creator, u16 flags, u32 data length, u32 resource length, u16 CRC; RLE marker 0x90" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Read recognizeFileWithHandle and the header part of parse; alphabet string at line 191; 0x90 run handling at 239-243." |
|---|
| repo | "MacPaw/XADMaster" |
|---|
| commit | "7cb9ee0abbb163f261e4cb74501e15067032319c" |
|---|
| path | "XADBinHexParser.m" |
|---|
| lines | "30-68, 93-119, 191, 239-243" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Recognition" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T03:33:26.791Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T09:11:52.476Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read recognizeFileWithHandle whole in XADBinHexParser.m at the cited commit: 8192-byte window, 40-char banner, skip to line end then CR/LF/TAB/space, ':' required, name length 1-63, CRC over length byte plus len+19 bytes compared with the next BE16." |
|---|
|
|
|---|