TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
symtable.h
Aller à la documentation de ce fichier.
1 
28 #ifndef _SYMTABLE_H
29 #define _SYMTABLE_H
30 
31 #include <types.h>
32 #include <elf.h>
33 
34 typedef struct
35 {
36  char* name;
37  paddr_t addr;
38 }symbol_t;
39 
40 typedef struct {
41  symbol_t* symbols;
42  int count;
44 
45 symbol_table_t* load_symtable(Elf32_File* file);
46 
47 void load_kernel_symtable();
48 
49 paddr_t sym_to_addr(symbol_table_t* table, char* symbol);
50 
51 char* addr_to_sym(symbol_table_t* table, paddr_t addr);
52 
53 
54 #endif
Definition: symtable.h:34
Structure qui caractérise un binaire elf.
Definition: elf.h:272
Definition: symtable.h:40
Bibliothèque destinée à manipuler les fichiers exécutables ELF.
uint32_t paddr_t
Definition: types.h:52