MCPcopy Create free account
hub / github.com/asterinas/vostd / load_to_vm

Method load_to_vm

kernel/src/process/program_loader/mod.rs:86–102  ·  view source on GitHub ↗

Loads the executable into the specified virtual memory space. Returns a tuple containing: 1. The absolute path of the loaded executable. 2. Information about the ELF loading process.

(
        self,
        process_vm: &ProcessVm,
        fs_resolver: &FsResolver,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

do_execveFunction · 0.80
create_init_taskFunction · 0.80

Calls 2

load_elf_to_vmFunction · 0.85
abs_pathMethod · 0.80

Tested by

no test coverage detected