Home
last modified time | relevance | path

Searched refs:elf_begin (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/elfutils/libelf/
DChangeLog25 * elf_begin.c: Remove unistd.h, sys/mman.h and system.h.
42 * elf_begin.c (__libelf_next_arhdr_wrlock): Add OCT_FIELD macro,
89 * elf_begin.c (read_long_names): Check ar_size starts with a digit.
93 * elf_begin.c (get_shnum): Take offset into account for Shdr
98 * elf_begin.c (file_read_elf): Cast ehdr to uintptr_t before e_shoff
108 * elf_begin.c (get_shnum): Use offsetof to get field of unaligned
120 * elf_begin.c (read_long_names): Remove cast of malloc return value.
145 * elf_begin.c (get_shnum): Make sure the full Ehdr is available.
154 * elf_begin.c (dup_elf, write_file): Likewise.
248 * elf_begin.c (get_shnum): Define offset as int64_t instead of
[all …]
/third_party/elfutils/tests/
Delfshphehdr.c160 elf = elf_begin (fd, ELF_C_WRITE, NULL); in main()
165 elf = elf_begin (fd, ELF_C_WRITE, NULL); in main()
170 elf = elf_begin (fd, ELF_C_WRITE, NULL); in main()
175 elf = elf_begin (fd, ELF_C_WRITE, NULL); in main()
Darls.c57 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle()
77 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in handle()
Darsymtest.c59 elf = elf_begin (fd, ELF_C_READ, NULL); in main()
97 subelf = elf_begin (fd, ELF_C_READ, elf); in main()
Demptyfile.c78 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf()
136 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf()
219 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Darextract.c57 elf = elf_begin (fd, cmd, NULL); in main()
72 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in main()
Decp.c41 Elf *inelf = elf_begin (infd, ELF_C_READ, NULL); in main()
50 Elf *outelf = elf_begin (outfd, ELF_C_WRITE, NULL); in main()
Dvendorelf.c47 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf()
135 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Delfstrtab.c145 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf()
291 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf()
360 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Dsaridx.c125 elf = elf_begin (fd, cmd, NULL); in main()
147 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) in main()
Dfillfile.c212 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf()
277 elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in check_elf()
358 elf = elf_begin (fd, use_mmap ? ELF_C_READ_MMAP : ELF_C_READ, NULL); in check_elf()
Dtest-flag-nobits.c34 Elf *stripped = elf_begin (fd, ELF_C_READ, NULL); in main()
Drdwrmmap.c38 Elf *elf = elf_begin (fd, ELF_C_RDWR_MMAP, NULL); in main()
Dearly-offscn.c42 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); in main()
Dgetphdrnum.c30 elf = elf_begin (fd, ELF_C_READ, NULL); in main()
Dnewscn.c51 elf = elf_begin (fd, ELF_C_WRITE, NULL); in main()
Ddebuglink.c47 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); in main()
Dbuildid.c49 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); in main()
Delfrdwrnop.c61 Elf *elf = elf_begin (fd, ELF_C_RDWR, NULL); in main()
Dstrptr.c55 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); in main()
/third_party/libabigail/tests/
Dtest-valgrind-suppressions.supp51 suppress helgrind race report from elfutils's elf_begin function.
53 fun:elf_begin
/third_party/elfutils/src/
Dranlib.c154 Elf *arelf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in handle_file()
179 while ((elf = elf_begin (fd, cmd, arelf)) != NULL) in handle_file()
/third_party/elfutils/libdwfl/
Dopen.c134 use_elfp ? *elfp : elf_begin (*fdp, ELF_C_READ_MMAP_PRIVATE, NULL); in libdw_open_elf()
155 Elf *subelf = elf_begin (-1, ELF_C_READ_MMAP_PRIVATE, elf); in libdw_open_elf()
/third_party/elfutils/doc/
DMakefile.am21 notrans_dist_man3_MANS=elf_update.3 elf_getdata.3 elf_clone.3 elf_begin.3
/third_party/elfutils/libdw/
Ddwarf_begin.c72 elf = elf_begin (fd, elfcmd, NULL); in dwarf_begin()

1234