Home
last modified time | relevance | path

Searched refs:ELF_C_READ_MMAP (Results 1 - 25 of 30) sorted by relevance

12

/third_party/elfutils/tests/
H A Darls.c57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle()
76 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle()
H A Delfgetzdata.c55 Elf *elf = elf_begin (fd, mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
H A Dtest-elf_cntl_gelf_getshdr.c78 Elf *elf = elf_begin (fd, do_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in main()
H A Dvendorelf.c135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
H A Demptyfile.c219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
H A Delfcopy.c87 Elf *elfa = elf_begin (fda, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in copy_elf()
H A Dfillfile.c358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
H A Delfstrtab.c360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
/third_party/elfutils/src/
H A Dranlib.c154 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle_file()
178 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_file()
H A Dar.c394 Elf_Cmd cmd = flags == O_RDONLY ? ELF_C_READ_MMAP : ELF_C_RDWR_MMAP; in open_archive()
492 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_extract()
937 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_delete()
1146 Elf_Cmd cmd = ELF_C_READ_MMAP; in do_oper_insert()
1280 else if ((newelf = elf_begin (newfd, ELF_C_READ_MMAP, NULL)) in do_oper_insert()
1369 || (subelf = elf_begin (fd, ELF_C_READ_MMAP, elf)) == NULL in do_oper_insert()
H A Dfindtextrel.c210 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
368 && (elf2 = elf_begin (fd2, ELF_C_READ_MMAP, NULL)) != NULL) in process_file()
H A Dsize.c276 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
358 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
H A Dobjdump.c245 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
295 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
H A Dnm.c368 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file()
418 Elf_Cmd cmd = ELF_C_READ_MMAP; in handle_ar()
H A Dstack.c495 core = elf_begin (core_fd, ELF_C_READ_MMAP, NULL); in parse_opt()
H A Delfcmp.c734 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in open_file()
/third_party/elfutils/libdw/
H A Ddwarf_begin.c51 elfcmd = ELF_C_READ_MMAP; in dwarf_begin()
/third_party/elfutils/libelf/
H A Delf_begin.c383 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf()
487 && cmd != ELF_C_READ_MMAP /* We need a copy to be able to write. */ in file_read_elf()
649 int use_mmap = (cmd == ELF_C_READ_MMAP || cmd == ELF_C_RDWR_MMAP in read_file()
678 map_address = mmap (NULL, maxsize, (cmd == ELF_C_READ_MMAP in read_file()
682 || cmd == ELF_C_READ_MMAP in read_file()
1063 if (unlikely (ref->cmd != ELF_C_READ && ref->cmd != ELF_C_READ_MMAP in dup_elf()
1188 case ELF_C_READ_MMAP: in elf_begin()
H A Delf32_getshdr.c100 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
109 || elf->cmd == ELF_C_READ_MMAP in ElfW2()
H A Dnlist.c86 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL); in nlist()
H A Dlibelf.h152 ELF_C_READ_MMAP, /* Read, but mmap the file if possible. */ enumerator
/third_party/libbpf/src/
H A Dlibbpf_internal.h97 #ifndef ELF_C_READ_MMAP
98 #define ELF_C_READ_MMAP ELF_C_READ macro
H A Delf.c52 elf = elf_begin(fd, ELF_C_READ_MMAP, NULL); in elf_open()
/third_party/elfutils/libdwfl/
H A Dlinux-pid-attach.c452 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL); in dwfl_linux_proc_attach()
/third_party/libabigail/src/
H A Dabg-elf-reader.cc966 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in get_type_of_elf_file()

Completed in 20 milliseconds

12