Skip to main content

Module inspect

Module inspect 

Source
Expand description

Header, segment, and field-level inspection of Hopper account bytes.

Every function here is a pure &ProgramManifest + &[u8] -> String (or Option<String>), no I/O, no panics. Consumes the schema truth.

Enums§

IdentifyOutcome
Structured identification result.

Functions§

decode_account
Render the full table of decoded fields for an account, matching the CLI’s hopper manager decode output.
header_report
Render a bare header report (not layout-aware).
identify_account
Identify which layout (if any) in the manifest matches the account bytes.
identify_report
Render the identification outcome as the same “=== Account Identification ===” block the CLI’s hopper manager identify emits.
segment_map_report
Render a segment map report (after the Hopper header) for accounts that carry segment metadata.