Home
last modified time | relevance | path

Searched refs:ELF_C_READ_MMAP (Results 1 – 25 of 26) sorted by relevance

12

/external/elfutils/tests/
Darls.c57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle()
76 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle()
Dtest-elf_cntl_gelf_getshdr.c78 Elf *elf = elf_begin (fd, do_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
Delfgetzdata.c55 Elf *elf = elf_begin (fd, mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
Dvendorelf.c135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Demptyfile.c219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Delfcopy.c87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf()
Delfstrtab.c360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Dfillfile.c358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
/external/elfutils/src/
Dranlib.c155 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle_file()
179 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_file()
Dar.c395 Elf_Cmd cmd = flags == O_RDONLY ? ELF_C_READ_MMAP : ELF_C_RDWR_MMAP; in open_archive()
494 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_extract()
940 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_delete()
1150 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_insert()
1284 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert()
1373 || (subelf = elf_begin (fd, ELF_C_READ_MMAP, elf)) == NULL in do_oper_insert()
Dfindtextrel.c209 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
378 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) in process_file()
Dsize.c277 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
359 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
Dobjdump.c246 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
296 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
Dnm.c369 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
419 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
Dstack.c495 core = elf_begin (core_fd, ELF_C_READ_MMAP, NULL); in parse_opt()
Delfcmp.c735 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_file()
Delflint.c159 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in main()
248 Elf_Cmd cmd = ELF_C_READ_MMAP; in process_file()
Dreadelf.c618 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_input_section()
730 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in check_archive_index()
987 Elf *armem = elf_begin (-1, ELF_C_READ_MMAP, pure_elf); in process_elf_file()
12855 || unlikely ((subelf = elf_begin (-1, ELF_C_READ_MMAP, elf)) in dump_archive_index()
/external/elfutils/libdw/
Ddwarf_begin.c51 elfcmd = ELF_C_READ_MMAP; in dwarf_begin()
/external/elfutils/libelf/
Delf_begin.c381 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf()
483 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf()
643 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file()
672 map_address = mmap (NULL, maxsize, (cmd == ELF_C_READ_MMAP in read_file()
676 || cmd == ELF_C_READ_MMAP in read_file()
1031 if (unlikely (ref->cmd != ELF_C_READ && ref->cmd != ELF_C_READ_MMAP in dup_elf()
1156 case ELF_C_READ_MMAP: in elf_begin()
Delf32_getshdr.c102 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
111 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
Dnlist.c87 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL); in nlist()
Dlibelf.h152 ELF_C_READ_MMAP, /* Read, but mmap the file if possible. */ enumerator
DChangeLog550 for ELF_C_READ_MMAP.
561 ELF_C_READ_MMAP.
1556 * elf_begin.c (read_file): When using ELF_C_READ_MMAP use MAP_PRIVATE.
/external/elfutils/libdwfl/
Dlinux-pid-attach.c451 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL); in dwfl_linux_proc_attach()

12