Skip to main content

Module layout

Module layout 

Source
Expand description

Bridge an analyzed image’s DiskReport into the livedisk layout model, so the proportional partition bar renders for evidence files (E01, VMDK, …) exactly as it does for a live disk. This is presentation glue only — the authoritative structural analysis stays in the per-scheme reports; here we map partition extents (LBA × sector → byte offsets) onto the unified PhysicalDisk/Partition shape livedisk already knows how to draw.

Functions§

from_report
Convert a disk analysis into a PhysicalDisk for rendering. name labels the disk (typically the image path) and size_bytes is the decoded media size used for the bar’s denominator and trailing free space.