dissect.volume.disk.schemes.mbr
#
Module Contents#
Classes#
Master Boot Record. |
Attributes#
- dissect.volume.disk.schemes.mbr.mbr_def = Multiline-String#
Show Value
""" typedef struct part_s { uint8 bootable; // +0: 0x80/0x00 - bootable/not bootable uint8 start_head; // +1: head (start) uint16 start_cyl_sec; // +2: cyl+sect (start) uint8 type; // +4: type uint8 end_head; // +5: head (end) uint16 end_cyl_sec; // +6: cyl+sec (end) uint32 sector_ofs; // +8: offset in sectors uint32 sector_size; // +12: size in sectors } part; typedef struct mbr_s { char bootcode[0x1b8]; uint32 vol_no; uint16 pad1; part part[4]; uint16 bootsig; } mbr; """
- dissect.volume.disk.schemes.mbr.c_mbr#
- class dissect.volume.disk.schemes.mbr.MBR(fh: BinaryIO, sector_size: int = 512)#
Master Boot Record.