Expand description
Static memory and heap facts read from a firmware ELF.
The chip model has no allocator: firmware malloc runs inside the guest
and the host never sees an allocation. What the image itself declares does
not need a running guest, though: the section table says how much RAM the
static data occupies, and the linked heap symbols say where the heap starts
and ends. This module reads those directly, without the object crate, so
litz heap answers offline and cannot drift from the image it describes.
Runtime free/used heap needs a sample from the running firmware; that is a separate, backend-specific facility and is not guessed here.
Functions§
- report
- Explain a firmware’s static RAM and heap bounds, or why it cannot.