GEL  0.99
gel_env_s Struct Reference

#include <gel/image.h>

Data Fields

char ** libpath
 
char ** argv
 
char ** envp
 
char * pltblock
 
u32_t pltblocksize
 
vaddr_t stackaddr
 
vaddr_t stacktop
 
u32_t stacksize
 
u32_t clustersize
 
u32_t flags
 
int argc_return
 
vaddr_t argv_return
 
vaddr_t envp_return
 
vaddr_t sp_return
 
vaddr_t auxv_return
 
struct auxv_tauxv
 

Detailed Description

Structure describing the execution environment to build an image (includes arguments, environment variable, stack and so on).

Field Documentation

◆ argc_return

int gel_env_s::argc_return

◆ argv

gel_env_s::argv

Arguments passed to the program (MUST be null ended).

◆ argv_return

gel_env_s::argv_return

This field, if not null, contains a pointer to return the argv array address in the image memory space.

◆ auxv

gel_env_s::auxv

USed auxiliary vector to use in the image.

◆ auxv_return

gel_env_s::auxv_return

This field, if not null, contains a pointer to return the auxiliairy vector address in the image memory space.

◆ clustersize

gel_env_s::clustersize

Size of cluster used to allocate the image.

◆ envp

gel_env_s::envp

List of the environment variables (MUST be null ended).

◆ envp_return

gel_env_s::envp_return

This field, if not null, contains a pointer to return the envp array address in the image memory space.

◆ flags

gel_env_s::flags

Miscalleneous flags from

◆ libpath

gel_env_s::libpath

List of libraries path (equivalent of LD_LIBRARY_PATH).

◆ pltblock

gel_env_s::pltblock

Custom PLT block.

◆ pltblocksize

gel_env_s::pltblocksize

size of the custom PLT block.

◆ sp_return

gel_env_s::sp_return

This field, if not null, contains a pointer to return the stack pointer address in the image memory space.

◆ stackaddr

gel_env_s::stackaddr

Initial address of the stack pointer.

◆ stacksize

gel_env_s::stacksize

Size of the stack block (default to STACKSIZE_OSDEFAULT).

◆ stacktop

gel_env_s::stacktop

Top address of the stack block (may be NULL).


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