Description
Right now, there are three functions which are exposed to dependants of hermit-entry
: parse
, hermit_version
, mem_size
and load_kernel
.
Internal functions that parse information from Hermit unikernel images (i.e. entry_point
, is_relocatable
) have their uses for developers as well - and could be broken into a separate crate that normal users are not supposed to use. This could be eventually solved using packages as namespaces (see rust-lang/rfcs#3452), or by following a uhyve-interface
approach.
They can be useful for experiments like developing programs meant to parse and analyze Hermit images to aid debugging (see this Uhyve wiki entry - sorry for any mistakes in advance) or me getting confused during an analysis of Uhyve's Hermit images). Additionally, they could be useful for drafting complex test cases more quickly as well (see #51).