FreeBSD kernel kern code
elf_file Struct Reference
Collaboration diagram for elf_file:

Data Fields

struct linker_file lf
 
int preloaded
 
caddr_t address
 
Elf_Dyn * dynamic
 
Elf_Hashelt nbuckets
 
Elf_Hashelt nchains
 
const Elf_Hashelt * buckets
 
const Elf_Hashelt * chains
 
caddr_t hash
 
caddr_t strtab
 
int strsz
 
const Elf_Sym * symtab
 
Elf_Addr * got
 
const Elf_Rel * pltrel
 
int pltrelsize
 
const Elf_Rela * pltrela
 
int pltrelasize
 
const Elf_Rel * rel
 
int relsize
 
const Elf_Rela * rela
 
int relasize
 
caddr_t modptr
 
const Elf_Sym * ddbsymtab
 
long ddbsymcnt
 
caddr_t ddbstrtab
 
long ddbstrcnt
 
caddr_t symbase
 
caddr_t strbase
 
caddr_t ctftab
 
long ctfcnt
 
caddr_t ctfoff
 
caddr_t typoff
 
long typlen
 
Elf_Addr pcpu_start
 
Elf_Addr pcpu_stop
 
Elf_Addr pcpu_base
 
vm_object_t object
 
Elf_Shdr * e_shdr
 
Elf_progentprogtab
 
int nprogtab
 
Elf_relaentrelatab
 
int nrelatab
 
Elf_relentreltab
 
int nreltab
 
Elf_Sym * ddbsymtab
 
caddr_t shstrtab
 
long shstrcnt
 

Detailed Description

Definition at line 76 of file link_elf.c.

Field Documentation

const Elf_Hashelt* elf_file::buckets

Definition at line 86 of file link_elf.c.

Referenced by link_elf_lookup_symbol(), and parse_dynamic().

const Elf_Hashelt* elf_file::chains

Definition at line 87 of file link_elf.c.

Referenced by link_elf_lookup_symbol(), and parse_dynamic().

long elf_file::ctfcnt

Definition at line 109 of file link_elf.c.

Referenced by link_elf_ctf_get().

caddr_t elf_file::ctfoff

Definition at line 110 of file link_elf.c.

Referenced by link_elf_ctf_get(), and link_elf_unload_file().

caddr_t elf_file::ctftab

Definition at line 108 of file link_elf.c.

Referenced by link_elf_ctf_get(), and link_elf_unload_file().

Elf_Sym* elf_file::ddbsymtab

Definition at line 106 of file link_elf_obj.c.

Elf_Shdr* elf_file::e_shdr

Definition at line 95 of file link_elf_obj.c.

Referenced by link_elf_link_preload(), link_elf_load_file(), and link_elf_unload_file().

Elf_Addr* elf_file::got

Definition at line 92 of file link_elf.c.

Referenced by parse_dynamic().

caddr_t elf_file::hash

Definition at line 88 of file link_elf.c.

struct linker_file elf_file::lf

Definition at line 77 of file link_elf.c.

Referenced by link_elf_link_preload(), parse_dpcpu(), and relocate_file().

caddr_t elf_file::modptr
Elf_Hashelt elf_file::nbuckets

Definition at line 84 of file link_elf.c.

Referenced by link_elf_lookup_symbol(), and parse_dynamic().

Elf_Hashelt elf_file::nchains
int elf_file::nrelatab
int elf_file::nreltab
vm_object_t elf_file::object
Elf_Addr elf_file::pcpu_base

Definition at line 115 of file link_elf.c.

Referenced by elf_relocaddr(), link_elf_unload_file(), and parse_dpcpu().

Elf_Addr elf_file::pcpu_start

Definition at line 113 of file link_elf.c.

Referenced by elf_relocaddr(), link_elf_unload_file(), and parse_dpcpu().

Elf_Addr elf_file::pcpu_stop

Definition at line 114 of file link_elf.c.

Referenced by link_elf_unload_file(), and parse_dpcpu().

const Elf_Rel* elf_file::pltrel

Definition at line 93 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file().

const Elf_Rela* elf_file::pltrela

Definition at line 95 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file().

int elf_file::pltrelasize

Definition at line 96 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file().

int elf_file::pltrelsize

Definition at line 94 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file().

int elf_file::preloaded

Definition at line 78 of file link_elf.c.

Referenced by link_elf_init(), link_elf_link_preload(), and link_elf_unload_file().

const Elf_Rel* elf_file::rel

Definition at line 97 of file link_elf.c.

Referenced by link_elf_reloc_local(), parse_dynamic(), and relocate_file().

const Elf_Rela* elf_file::rela

Definition at line 99 of file link_elf.c.

Referenced by link_elf_reloc_local(), parse_dynamic(), and relocate_file().

int elf_file::relasize

Definition at line 100 of file link_elf.c.

Referenced by link_elf_reloc_local(), parse_dynamic(), and relocate_file().

int elf_file::relsize

Definition at line 98 of file link_elf.c.

Referenced by link_elf_reloc_local(), parse_dynamic(), and relocate_file().

long elf_file::shstrcnt

Definition at line 112 of file link_elf_obj.c.

Referenced by link_elf_link_preload(), and link_elf_load_file().

caddr_t elf_file::shstrtab

Definition at line 111 of file link_elf_obj.c.

Referenced by link_elf_link_preload(), link_elf_load_file(), and link_elf_unload_file().

caddr_t elf_file::strbase

Definition at line 107 of file link_elf.c.

Referenced by link_elf_load_file(), and link_elf_unload_file().

int elf_file::strsz

Definition at line 90 of file link_elf.c.

Referenced by parse_dynamic().

caddr_t elf_file::symbase

Definition at line 106 of file link_elf.c.

Referenced by link_elf_load_file(), and link_elf_unload_file().

const Elf_Sym* elf_file::symtab
long elf_file::typlen

Definition at line 112 of file link_elf.c.

Referenced by link_elf_ctf_get().

caddr_t elf_file::typoff

Definition at line 111 of file link_elf.c.

Referenced by link_elf_ctf_get(), and link_elf_unload_file().


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