NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Elf Struct Reference

#include <elf.h>

Static Public Member Functions

static unsigned is_not_elf (const eh32 *elf, unsigned long modsize)
static unsigned long loaded_memsize (char *module, unsigned long modsize)
 Get the size of the PT_LOAD sections.
static unsigned decode_elf (char *module, unsigned long modsize, char *phys_mem, unsigned long &rip, unsigned long &maxptr, unsigned long mem_size, unsigned long mem_offset, unsigned long long magic)
 Decode an elf32 binary.

Member Function Documentation

static unsigned Elf::decode_elf ( char *  module,
unsigned long  modsize,
char *  phys_mem,
unsigned long &  rip,
unsigned long &  maxptr,
unsigned long  mem_size,
unsigned long  mem_offset,
unsigned long long  magic 
)
inlinestatic

Decode an elf32 binary.

I.e. copy the ELF segments from ELF image pointed by module to the memory at phys_mem.

static unsigned Elf::is_not_elf ( const eh32 elf,
unsigned long  modsize 
)
inlinestatic
static unsigned long Elf::loaded_memsize ( char *  module,
unsigned long  modsize 
)
inlinestatic

Get the size of the PT_LOAD sections.


The documentation for this struct was generated from the following file: