Home
last modified time | relevance | path

Searched refs:file_contents (Results 1 – 2 of 2) sorted by relevance

/elf/
A Dreadlib.c81 void *file_contents; in process_file() local
125 file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, in process_file()
127 if (file_contents == MAP_FAILED) in process_file()
135 aout_header = (struct exec *) file_contents; in process_file()
158 elf_header = (ElfW(Ehdr) *) file_contents; in process_file()
165 if (memmem (file_contents, len, "GROUP", 5) == NULL in process_file()
166 && memmem (file_contents, len, "GNU ld script", 13) == NULL in process_file()
176 soname, file_contents, statbuf.st_size)) in process_file()
181 munmap (file_contents, statbuf.st_size); in process_file()
A Dreadelflib.c31 if ((void *)(ptr) < file_contents \
32 || (void *)(ptr) > (file_contents+file_length)) \
44 char **soname, void *file_contents, size_t file_length) in process_elf_file() argument
57 elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
82 elf_pheader = (ElfW(Phdr) *) (elf_header->e_phoff + file_contents); in process_elf_file()
111 program_interpreter = (char *) (file_contents + segment->p_offset); in process_elf_file()
127 ElfW(Word) *abi_note = (ElfW(Word) *) (file_contents in process_elf_file()
176 const ElfW(Nhdr) *note = (const void *) (file_contents in process_elf_file()
252 dynamic_segment = (ElfW(Dyn) *) (file_contents + dynamic_addr); in process_elf_file()
284 dynamic_strings = (char *) (file_contents + dyn_entry->d_un.d_val in process_elf_file()

Completed in 4 milliseconds