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
 
u_int nprogtab
 
Elf_relaentrelatab
 
u_int nrelatab
 
Elf_relentreltab
 
int nreltab
 
Elf_Sym * ddbsymtab
 
caddr_t shstrtab
 
long shstrcnt
 

Detailed Description

Definition at line 78 of file link_elf.c.

Field Documentation

◆ address

◆ buckets

const Elf_Hashelt* elf_file::buckets

Definition at line 88 of file link_elf.c.

Referenced by link_elf_lookup_symbol1(), and parse_dynamic().

◆ chains

const Elf_Hashelt* elf_file::chains

Definition at line 89 of file link_elf.c.

Referenced by link_elf_lookup_symbol1(), and parse_dynamic().

◆ ctfcnt

long elf_file::ctfcnt

Definition at line 111 of file link_elf.c.

Referenced by link_elf_ctf_get().

◆ ctfoff

caddr_t elf_file::ctfoff

Definition at line 112 of file link_elf.c.

Referenced by link_elf_ctf_get(), and link_elf_unload_file().

◆ ctftab

caddr_t elf_file::ctftab

Definition at line 110 of file link_elf.c.

Referenced by link_elf_ctf_get(), and link_elf_unload_file().

◆ ddbstrcnt

◆ ddbstrtab

◆ ddbsymcnt

◆ ddbsymtab [1/2]

◆ ddbsymtab [2/2]

Elf_Sym* elf_file::ddbsymtab

Definition at line 111 of file link_elf_obj.c.

◆ dynamic

Elf_Dyn* elf_file::dynamic

◆ e_shdr

Elf_Shdr* elf_file::e_shdr

Definition at line 100 of file link_elf_obj.c.

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

◆ got

Elf_Addr* elf_file::got

Definition at line 94 of file link_elf.c.

Referenced by parse_dynamic().

◆ hash

caddr_t elf_file::hash

Definition at line 90 of file link_elf.c.

◆ lf

◆ modptr

caddr_t elf_file::modptr

◆ nbuckets

Elf_Hashelt elf_file::nbuckets

Definition at line 86 of file link_elf.c.

Referenced by link_elf_lookup_symbol1(), and parse_dynamic().

◆ nchains

Elf_Hashelt elf_file::nchains

◆ nprogtab

◆ nrelatab

u_int elf_file::nrelatab

◆ nreltab

int elf_file::nreltab

◆ object

vm_object_t elf_file::object

◆ pcpu_base

Elf_Addr elf_file::pcpu_base

Definition at line 117 of file link_elf.c.

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

◆ pcpu_start

Elf_Addr elf_file::pcpu_start

Definition at line 115 of file link_elf.c.

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

◆ pcpu_stop

Elf_Addr elf_file::pcpu_stop

Definition at line 116 of file link_elf.c.

Referenced by link_elf_unload_file(), and parse_dpcpu().

◆ pltrel

const Elf_Rel* elf_file::pltrel

Definition at line 95 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file1().

◆ pltrela

const Elf_Rela* elf_file::pltrela

Definition at line 97 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file1().

◆ pltrelasize

int elf_file::pltrelasize

Definition at line 98 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file1().

◆ pltrelsize

int elf_file::pltrelsize

Definition at line 96 of file link_elf.c.

Referenced by parse_dynamic(), and relocate_file1().

◆ preloaded

int elf_file::preloaded

◆ progtab

◆ rel

const Elf_Rel* elf_file::rel

Definition at line 99 of file link_elf.c.

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

◆ rela

const Elf_Rela* elf_file::rela

Definition at line 101 of file link_elf.c.

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

◆ relasize

int elf_file::relasize

Definition at line 102 of file link_elf.c.

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

◆ relatab

◆ relsize

int elf_file::relsize

Definition at line 100 of file link_elf.c.

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

◆ reltab

◆ shstrcnt

long elf_file::shstrcnt

Definition at line 117 of file link_elf_obj.c.

Referenced by link_elf_link_preload(), and link_elf_load_file().

◆ shstrtab

caddr_t elf_file::shstrtab

Definition at line 116 of file link_elf_obj.c.

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

◆ strbase

caddr_t elf_file::strbase

Definition at line 109 of file link_elf.c.

Referenced by link_elf_load_file(), and link_elf_unload_file().

◆ strsz

int elf_file::strsz

Definition at line 92 of file link_elf.c.

Referenced by parse_dynamic().

◆ strtab

caddr_t elf_file::strtab

◆ symbase

caddr_t elf_file::symbase

Definition at line 108 of file link_elf.c.

Referenced by link_elf_load_file(), and link_elf_unload_file().

◆ symtab

◆ typlen

long elf_file::typlen

Definition at line 114 of file link_elf.c.

Referenced by link_elf_ctf_get().

◆ typoff

caddr_t elf_file::typoff

Definition at line 113 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: