rusty_mos::process

Module elf_loader

Source

Structsยง

  • The ELF32 file header structure. The members are defined in the same order as in the actual elf file.
  • The program segment header structure. The members are defined in the same order as in the actual elf file.

Constantsยง

  • EI_NIDNET ๐Ÿ”’
    The magic number size for elf file.
  • Mark the segment as readable.
  • Mark the segment as writable.
  • Mark the segment as executable.
  • Mark the segment as loadble and load-needed.

Functionsยง

  • Load an elf-format binary file in memory. This method will map all sections to correct virtual address.

Type Aliasesยง