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
PhysicalDiskfor rendering.namelabels the disk (typically the image path) andsize_bytesis the decoded media size used for the bar’s denominator and trailing free space.