Skip to content

Means of accessing private functions #52

Closed
@n0toose

Description

@n0toose

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions