Home
last modified time | relevance | path

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

/glibc-2.36/elf/
Dreadlib.c80 void *file_contents; in process_file() local
124 file_contents = mmap (0, statbuf.st_size, PROT_READ, MAP_SHARED, in process_file()
126 if (file_contents == MAP_FAILED) in process_file()
134 aout_header = (struct exec *) file_contents; in process_file()
157 elf_header = (ElfW(Ehdr) *) file_contents; in process_file()
164 if (memmem (file_contents, len, "GROUP", 5) == NULL in process_file()
165 && memmem (file_contents, len, "GNU ld script", 13) == NULL in process_file()
175 file_contents, statbuf.st_size)) in process_file()
180 munmap (file_contents, statbuf.st_size); in process_file()
Dreadelflib.c31 if ((void *)(ptr) < file_contents \
32 || (void *)(ptr) > (file_contents+file_length)) \
43 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
57 elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
81 elf_pheader = (ElfW(Phdr) *) (elf_header->e_phoff + file_contents); in process_elf_file()
110 program_interpreter = (char *) (file_contents + segment->p_offset); in process_elf_file()
129 const ElfW(Nhdr) *note = (const void *) (file_contents in process_elf_file()
205 dynamic_segment = (ElfW(Dyn) *) (file_contents + dynamic_addr); in process_elf_file()
237 dynamic_strings = (char *) (file_contents + dyn_entry->d_un.d_val in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/
Dreadelflib.c22 void *file_contents, size_t file_length);
25 void *file_contents, size_t file_length);
30 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
33 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
38 file_contents, file_length); in process_elf_file()
42 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/sparc/
Dreadelflib.c21 void *file_contents, size_t file_length);
24 void *file_contents, size_t file_length);
29 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
37 file_contents, file_length); in process_elf_file()
41 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/s390/
Dreadelflib.c21 void *file_contents, size_t file_length);
24 void *file_contents, size_t file_length);
29 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
37 file_contents, file_length); in process_elf_file()
41 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/ia64/
Dreadelflib.c21 void *file_contents, size_t file_length);
24 void *file_contents, size_t file_length);
29 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
37 file_contents, file_length); in process_elf_file()
41 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/arm/
Dreadelflib.c21 void *file_contents, size_t file_length);
24 void *file_contents, size_t file_length);
29 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
32 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
40 file_contents, file_length); in process_elf_file()
59 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/riscv/
Dreadelflib.c22 void *file_contents, size_t file_length);
25 void *file_contents, size_t file_length);
41 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
44 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
56 file_contents, file_length); in process_elf_file()
62 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/mips/
Dreadelflib.c21 void *file_contents, size_t file_length);
24 void *file_contents, size_t file_length);
29 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
41 elf_header.eh = file_contents; in process_elf_file()
45 file_contents, file_length); in process_elf_file()
62 file_contents, file_length); in process_elf_file()
/glibc-2.36/sysdeps/unix/sysv/linux/x86/
Dreadelflib.c20 void *file_contents, size_t file_length);
23 void *file_contents, size_t file_length);
28 unsigned int *isa_level, char **soname, void *file_contents, in process_elf_file() argument
31 ElfW(Ehdr) *elf_header = (ElfW(Ehdr) *) file_contents; in process_elf_file()
69 file_contents, file_length); in process_elf_file()
72 file_contents, file_length); in process_elf_file()
/glibc-2.36/scripts/
Dcheck-obsolete-constructs.py125 def tokenize_c(file_contents, reporter): argument
143 limit = len(file_contents)
148 mo = HEADER_NAME_RE.match(file_contents, pos)
153 mo = PP_TOKEN_RE.match(file_contents, pos)
158 mo = PP_TOKEN_RE.match(file_contents, pos)
/glibc-2.36/sysdeps/generic/
Dldconfig.h98 void *file_contents, size_t file_length);