GEL  0.99
prog.c File Reference
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <gel/prog.h>
#include <gel/gel_elf.h>
#include <gel/error.h>
#include "gel_types_private.h"
#include "gel_mem.h"

Macros

#define TRACE(cmd)
 

Functions

int gel_note_init (gel_prog_t *phdr, gel_note_t *curs)
 
void gel_note_destroy (gel_note_t *curs)
 
int gel_note_next (gel_note_t *curs)
 
int gel_prog_load (gel_prog_t *p, raddr_t addr)
 
void gel_kill_prog (gel_prog_t *p)
 
gel_prog_tgel_getprogbyidx (gel_file_t *e, u16_t idx)
 
int gel_prog_infos (gel_prog_t *e, gel_prog_info_t *pi)
 

Macro Definition Documentation

◆ TRACE

#define TRACE (   cmd)

Function Documentation

◆ gel_kill_prog()

void gel_kill_prog ( gel_prog_t p)

Delete a PHDR.

Parameters
pPHDR to delete.