From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:DiscJuggler CDI" |
|---|
| claim | "Aaru's Identify reads the last 4 bytes as a little-endian int32 descriptor length and rejects it if not smaller than the file length; then reads that many bytes from the end and requires descriptor[0] (session count) in 1..99, descriptor[1]=0, descriptor[3..9]=0, descriptor[10]=0x01, descriptor[11..13]=0, descriptor[14..15]=0xFF FF, and descriptor[2] at most 99 (Aaru's comment on this block: all sessions start with this data; the meaning of byte 2 is not stated in Identify). Identify has no check for a zero or negative length (Read rejects length <= 0). No signature exists at offset 0, so weak: other files can pass." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "DiscJuggler .cdi, Aaru reader" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "file tail" |
|---|
| indicator | "last 4 bytes = descriptor length; descriptor starts [sessions 1-99][0][tracks<=99][0 0 0 0 0 0 0][1][0 0 0][FF FF]" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Identify" |
|---|
| repo | "https://github.com/aaru-dps/Aaru" |
|---|
| commit | "1eaee6f63254f85e8a1119f4fce1e55f276e0846" |
|---|
| path | "Aaru.Images/DiscJuggler/Identify.cs" |
|---|
| lines | "46-85" |
|---|
|
| type | "source" |
|---|
| detail | "Read: length check, session byte, per-session pattern, track modes and read modes 2/3/4" |
|---|
| repo | "https://github.com/aaru-dps/Aaru" |
|---|
| commit | "1eaee6f63254f85e8a1119f4fce1e55f276e0846" |
|---|
| path | "Aaru.Images/DiscJuggler/Read.cs" |
|---|
| lines | "59-130, 338-395" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Descriptor at file tail" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T12:00:53.542Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T13:17:08.913Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read DiscJuggler/Identify.cs whole at 1eaee6f. All byte conditions match. Two small points: a zero length is in effect rejected (descriptor.Length < 1), and a negative length would throw in new byte[dscLen] before any check." |
|---|
|
|
|---|