HelenOS sources

elf_header_t       78 boot/generic/src/kernel.c static bool elf_is_valid(const elf_header_t *header)
elf_header_t      130 boot/generic/src/kernel.c 	elf_header_t *header = (elf_header_t *) start;
elf_header_t       40 kernel/generic/include/lib/elf_load.h extern errno_t elf_load(elf_header_t *, as_t *);
elf_header_t      229 kernel/generic/include/mm/as.h 		elf_header_t *elf;
elf_header_t       83 kernel/generic/src/debug/sections.c 	if (elf_size < sizeof(elf_header_t)) {
elf_header_t       93 kernel/generic/src/debug/sections.c 	const elf_header_t *hdr = elf;
elf_header_t       52 kernel/generic/src/lib/elf.c static errno_t load_segment(elf_segment_header_t *, elf_header_t *, as_t *);
elf_header_t       63 kernel/generic/src/lib/elf.c errno_t elf_load(elf_header_t *header, as_t *as)
elf_header_t      118 kernel/generic/src/lib/elf.c errno_t load_segment(elf_segment_header_t *entry, elf_header_t *elf, as_t *as)
elf_header_t      260 kernel/generic/src/mm/backend_elf.c 	elf_header_t *elf = area->backend_data.elf;
elf_header_t      147 kernel/generic/src/proc/program.c 	prg->loader_status = elf_load((elf_header_t *) image_addr, as);
elf_header_t      155 kernel/generic/src/proc/program.c 	errno_t rc = program_create(as, ((elf_header_t *) image_addr)->e_entry,
elf_header_t      189 kernel/generic/src/proc/program.c 	prg->loader_status = elf_load((elf_header_t *) program_loader, as);
elf_header_t      197 kernel/generic/src/proc/program.c 	return program_create(as, ((elf_header_t *) program_loader)->e_entry,
elf_header_t       90 uspace/app/taskdump/elf_core.c 	elf_header_t elf_hdr;
elf_header_t      160 uspace/app/taskdump/elf_core.c 	elf_hdr.e_phoff = sizeof(elf_header_t);
elf_header_t       49 uspace/app/taskdump/symtab.c static errno_t elf_hdr_check(elf_header_t *hdr);
elf_header_t       50 uspace/app/taskdump/symtab.c static errno_t section_hdr_load(int fd, const elf_header_t *ehdr, int idx,
elf_header_t       65 uspace/app/taskdump/symtab.c 	elf_header_t elf_hdr;
elf_header_t       93 uspace/app/taskdump/symtab.c 	rc = vfs_read(fd, &pos, &elf_hdr, sizeof(elf_header_t), &nread);
elf_header_t       94 uspace/app/taskdump/symtab.c 	if (rc != EOK || nread != sizeof(elf_header_t)) {
elf_header_t      290 uspace/app/taskdump/symtab.c static errno_t elf_hdr_check(elf_header_t *ehdr)
elf_header_t      305 uspace/app/taskdump/symtab.c static errno_t section_hdr_load(int fd, const elf_header_t *elf_hdr, int idx,
elf_header_t       41 uspace/lib/c/generic/elf/elf.c static bool elf_is_valid(const elf_header_t *header)
elf_header_t       79 uspace/lib/c/generic/elf/elf.c 	const elf_header_t *hdr = base;
elf_header_t       95 uspace/lib/c/generic/elf/elf.c 	const elf_header_t *hdr = base;
elf_header_t      132 uspace/lib/c/generic/elf/elf_mod.c 	elf_header_t header_buf;
elf_header_t      133 uspace/lib/c/generic/elf/elf_mod.c 	elf_header_t *header = &header_buf;
elf_header_t      139 uspace/lib/c/generic/elf/elf_mod.c 	rc = vfs_read(elf->fd, &pos, header, sizeof(elf_header_t), &nr);
elf_header_t      140 uspace/lib/c/generic/elf/elf_mod.c 	if (rc != EOK || nr != sizeof(elf_header_t)) {
HelenOS homepage, sources at GitHub