Reader for Rust-native kernel dump files
Reader for Rust-native kernel dump files (produced by dump_writer.rs).
Loads a dump file produced by latexml_oxide --init=latex.ltx --dest=dump
and replays the state assignments into the engine.
Loading policy:M and V entries replay with Perl-style global
assignment semantics, matching Core/Dumper.pm’s I() / V() helpers.
Runtime-state filters below are narrow exceptions for entries that should
never be useful from a format dump.
Replay any PA/MPA aliases that were deferred during dump load
because their target was not yet defined. Call once after the
post-dump definition pass (_constructs) has loaded.
Returns (applied, skipped).
Load a dump, naming source (a real path or an <embedded TLyyyy> label) in
the single dump_reader:loaded Info line. The dump wrappers
(plain_dump/latex_dump) use this so there is exactly ONE “loaded N
entries from ” message per dump — they no longer emit a second,
redundant *_dump:loaded line of their own.
Backwards-compat alias kept until call sites are migrated. Both
entry points now load unconditionally, mirroring Perl I(...) /
V(...) (Core/Dumper.pm) which call assign_internal('global')
without filters.