Home
last modified time | relevance | path

Searched refs:EI_DATA (Results 1 - 25 of 70) sorted by relevance

123

/third_party/elfutils/libelf/
H A Delf32_checksum.c75 same_byte_order = ((ident[EI_DATA] == ELFDATA2LSB in elfw2()
77 || (ident[EI_DATA] == ELFDATA2MSB in elfw2()
144 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA]) in elfw2()
154 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA]) in elfw2()
H A Delf_getshdrstrndx.c108 && elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()
149 if (elf->state.elf32.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
173 && elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA in elf_getshdrstrndx()
214 if (elf->state.elf64.ehdr->e_ident[EI_DATA] != MY_ELFDATA) in elf_getshdrstrndx()
H A Delf_begin.c97 if (e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
120 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
136 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
156 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
192 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
217 if (likely (map_address != NULL) && e_ident[EI_DATA] == MY_ELFDATA in get_shnum()
251 if (e_ident[EI_DATA] != MY_ELFDATA) in get_shnum()
287 || (e_ident[EI_DATA] != ELFDATA2LSB in file_read_elf()
288 && e_ident[EI_DATA] != ELFDATA2MSB))) in file_read_elf()
347 if (map_address != NULL && e_ident[EI_DATA] in file_read_elf()
[all...]
H A Delf32_updatenull.c68 if (unlikely (ehdr->e_ident[EI_DATA] == ELFDATANONE)) in ELFW()
70 ehdr->e_ident[EI_DATA] = in ELFW()
74 else if (unlikely (ehdr->e_ident[EI_DATA] >= ELFDATANUM)) in ELFW()
81 && ehdr->e_ident[EI_DATA] != ELFDATA2LSB) in ELFW()
83 && ehdr->e_ident[EI_DATA] != ELFDATA2MSB)); in ELFW()
H A Delf32_getshdr.c99 || ehdr->e_ident[EI_DATA] != MY_ELFDATA in ElfW2()
106 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2()
184 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
H A Delf32_getphdr.c108 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA in ElfW2()
134 if (ehdr->e_ident[EI_DATA] == MY_ELFDATA) in ElfW2()
203 if (ehdr->e_ident[EI_DATA] != MY_ELFDATA) in ElfW2()
H A Delf_compress_gnu.c57 int elfdata = ehdr.e_ident[EI_DATA]; in elf_compress_gnu()
H A Dcommon.h51 int data = (int) ((unsigned char *) buf)[EI_DATA]; in determine_kind()
H A Delf_getdata_rawchunk.c135 if (elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA) in elf_getdata_rawchunk()
/third_party/elfutils/libdwfl/
H A Delf-from-memory.c131 if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
152 if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) in elf_from_remote_memory()
229 if (! elf32_xlatetom (&xlateto, &xlatefrom, ehdr.e32.e_ident[EI_DATA])) in elf_from_remote_memory()
234 if (! elf64_xlatetom (&xlateto, &xlatefrom, ehdr.e64.e_ident[EI_DATA])) in elf_from_remote_memory()
344 ehdr.e32.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
352 ehdr.e64.e_ident[EI_DATA]) == NULL) in elf_from_remote_memory()
H A Dlinux-core-attach.c155 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_next_thread()
209 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
226 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
233 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
268 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
276 val64 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in core_set_initial_registers()
403 val32 = (elf_getident (core, NULL)[EI_DATA] == ELFDATA2MSB in dwfl_core_file_attach()
H A Dlink_map.c671 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
674 vaddr = (ehdr.e_ident[EI_DATA] == ELFDATA2MSB in consider_executable()
686 *elfdata = ehdr.e_ident[EI_DATA]; in consider_executable()
687 else if (*elfdata != ehdr.e_ident[EI_DATA]) in consider_executable()
H A Drelocate.c432 ehdr->e_ident[EI_DATA]); in relocate()
456 ehdr->e_ident[EI_DATA]); in relocate()
477 ehdr->e_ident[EI_DATA]); in relocate()
/third_party/elfutils/tests/
H A Delfshphehdr.c84 ehdr.e_ident[EI_DATA] = ELFDATANONE; /* Ask for native encoding. */ in test()
93 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test()
134 check ("EI_DATA", ehdr.e_ident[EI_DATA] != ELFDATANONE); in test()
H A Dvendorelf.c70 ehdr->e_ident[EI_DATA] = class == ELFCLASS64 ? ELFDATA2LSB : ELFDATA2MSB; in check_elf()
H A Dxlate_notes.c121 if (elf32_xlatetom (&dst, &src, ehdr.e_ident[EI_DATA]) == NULL) in main()
/third_party/elfutils/libebl/
H A Deblobjnote.c93 elf_getident (ebl->elf, NULL)[EI_DATA]) == NULL) in ebl_object_note()
177 NULL)[EI_DATA]) == NULL) in ebl_object_note()
348 NULL)[EI_DATA]) == NULL) in ebl_object_note()
392 elfident[EI_DATA]) == NULL) in ebl_object_note()
436 elfident[EI_DATA]) == NULL) in ebl_object_note()
503 elfident[EI_DATA]) == NULL) in ebl_object_note()
/third_party/elfutils/libasm/
H A Dasm_addint8.c77 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in SIZE()
91 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA] in SIZE()
H A Dasm_begin.c102 ehdr->e_ident[EI_DATA] = ebl_get_elfdata (ebl); in prepare_binary_output()
/third_party/elfutils/libdw/
H A Dcfi.h83 const unsigned char *e_ident; /* For EI_DATA and EI_CLASS. */
228 { ((BYTE_ORDER == LITTLE_ENDIAN && e_ident[EI_DATA] == ELFDATA2MSB) \
229 || (BYTE_ORDER == BIG_ENDIAN && e_ident[EI_DATA] == ELFDATA2LSB)) }
H A Ddwarf_getcfi_elf.c63 if ((BYTE_ORDER == LITTLE_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2MSB) in allocate_cfi()
64 || (BYTE_ORDER == BIG_ENDIAN && cfi->e_ident[EI_DATA] == ELFDATA2LSB)) in allocate_cfi()
/third_party/elfio/elfio/
H A Delfio_header.hpp88 header.e_ident[EI_DATA] = encoding; in elf_header_impl()
125 ELFIO_GET_ACCESS( unsigned char, encoding, header.e_ident[EI_DATA] );
H A Delfio.hpp182 if ( ( e_ident[EI_DATA] != ELFDATA2LSB ) &&
183 ( e_ident[EI_DATA] != ELFDATA2MSB ) ) {
187 convertor.setup( e_ident[EI_DATA] );
188 header = create_header( e_ident[EI_CLASS], e_ident[EI_DATA] );
/third_party/elfutils/backends/
H A Dppc64_resolve_sym.c58 ehdr->e_ident[EI_DATA]) != NULL) in ppc64_resolve_sym_value()
/third_party/elfutils/libdwelf/
H A Ddwelf_elf_gnu_debuglink.c92 Elf_Data *d = gelf_xlatetom (elf, &crcdata, &conv, ehdr->e_ident[EI_DATA]); in dwelf_elf_gnu_debuglink()

Completed in 14 milliseconds

123