Expand description
Binary format definitions for DMG files
DMG files have the following structure:
- Data blocks (compressed partition data)
- XML plist containing block maps (blkx)
- Koly trailer (512 bytes at end of file)
Structs§
- Block
Run - Block run descriptor in a mish block map
- Koly
Header - Koly trailer structure (512 bytes at end of DMG)
- Mish
Header - Mish (block map) header structure
- Partition
Entry - Partition entry from the DMG plist
Enums§
- Block
Type - Block chunk types
Constants§
- KOLY_
MAGIC - Koly magic bytes “koly” (0x6B6F6C79)
- KOLY_
SIZE - Koly header size in bytes
- MISH_
MAGIC - Mish magic bytes “mish” (0x6D697368)
Functions§
- is_dmg
- Check if data has the koly magic at the end (512 bytes from end)