gdt050579 / GView

GView is a cross-platform framework for reverse-engineering. Users can leverage the diverse range of available visualization options to effectively analyze and interpret the information.
MIT License
40 stars 16 forks source link

[ISO] (9660 at least) plugin creation #34

Open gheorghitamutu opened 2 years ago

gheorghitamutu commented 2 years ago

43 44 30 30 31 CD001 ISO ISO-9660 CD Disc Image This signature usually occurs at byte offset 32769 (0x8001), 34817 (0x8801), or 36865 (0x9001). More information can be found at MacTech or at ECMA.

43 44 30 30 31 | CD001 | 0x8001 0x8801 0x9001 | iso | ISO9660 CD/DVD image file

gheorghitamutu commented 2 years ago
"CD001", // ECMA_119
"NSR03", // ECMA_167
"NSR02", // ECMA_167_PREVIOUS
"BEA01", // ECMA_167_EXTENDED
"BOOT2", // ECMA_167_BOOT
"TEA01", // ECMO_167_TERMINATOR
"CDW02"  // ECMA_168
gheorghitamutu commented 2 years ago

From https://wiki.osdev.org/ISO_9660#Overview_and_caveats

There are two enhancements for ISO 9660 which make it more suitable for the worlds of Unix and of MS-Windows. Both can be combined in the same filesystem. So the reader often has the choice between three file name spaces: Plain ISO, Rock Ridge, Joliet.

ISO and Rock Ridge will show the same tree of files but with different names. Joliet can show a completely different tree than ISO.

Rock Ridge allows for file names of up to 255 characters of 8 bit. Only the 0-byte and the slash ("/") may not be used. Further it adds the file attributes which are specified by POSIX (owner, group, permissions,...) and it allows for symbolic links.

Rock Ridge is an application of SUSP. It may be accompanied by other SUSP applications like zisofs (compression of data files, Linux specific), Apple ISO 9660 Extensions, Amiga AS entries, or Arbitrary Attribute Interchange Protocol (AAIP: Extended Attributes and ACLs). A reader of SUSP entries shall simply ignore all entry types which it does not expect.

Joliet was defined by Microsoft Inc. to allow for filenames with up to 64 UCS-2 characters (16 bit). It is implemented as separate tree of Directory Records which begins by a root record in a Supplementary Volume Descriptor. That descriptor is similar to a Primary Volume Descriptor, but has a Type Code of 2.
gheorghitamutu commented 2 years ago

At the moment only Plain ISO is supported.

gheorghitamutu commented 10 months ago

Add UDF format - @Cosmin765.

Universal Disk Format (UDF) is an open, vendor-neutral file system for computer data storage for a broad range of media. In practice, it has been most widely used for DVDs and newer optical disc formats, supplanting ISO 9660.

https://datatracker.ietf.org/doc/draft-hallambaker-udf/02/ http://www.osta.org/specs/