Searched refs:elf_header (Results 1 – 8 of 8) sorted by relevance
/third_party/libabigail/src/ |
D | abg-elf-helpers.cc | 433 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle, &eh_mem); in find_symbol_table_section() local 434 if (elf_header->e_type == ET_REL in find_symbol_table_section() 435 || elf_header->e_type == ET_EXEC) in find_symbol_table_section() 966 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle, &eh_mem); in architecture_is_ppc64() local 967 return (elf_header && elf_header->e_machine == EM_PPC64); in architecture_is_ppc64() 979 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle, &eh_mem); in architecture_is_ppc32() local 980 return (elf_header && elf_header->e_machine == EM_PPC); in architecture_is_ppc32() 992 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle, &eh_mem); in architecture_is_arm32() local 993 return (elf_header && elf_header->e_machine == EM_ARM); in architecture_is_arm32() 1006 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle, &eh_mem); in architecture_is_arm64() local [all …]
|
D | abg-elf-reader.cc | 57 GElf_Ehdr ehmem, *elf_header; in find_alt_dwarf_debug_info_link() local 58 elf_header = gelf_getehdr(elf, &ehmem); in find_alt_dwarf_debug_info_link() 69 elf_header->e_shstrndx, in find_alt_dwarf_debug_info_link() 832 GElf_Ehdr* elf_header = gelf_getehdr(elf_handle(), &eh_mem); in load_elf_architecture() local 835 elf_helpers::e_machine_to_string(elf_header->e_machine); in load_elf_architecture()
|
D | abg-dwarf-reader.cc | 4872 GElf_Ehdr *elf_header = gelf_getehdr(elf_handle(), &eh_mem); in maybe_adjust_address_for_exec_or_dyn() local 4874 if (elf_header->e_type == ET_DYN || elf_header->e_type == ET_EXEC) in maybe_adjust_address_for_exec_or_dyn() 4926 GElf_Ehdr* elf_header = gelf_getehdr(elf, &eh_mem); in maybe_adjust_fn_sym_address() local 4928 if (elf_header->e_type == ET_REL) in maybe_adjust_fn_sym_address() 4970 GElf_Ehdr* elf_header = gelf_getehdr(elf, &eh_mem); in maybe_adjust_var_sym_address() local 4972 if (elf_header->e_type == ET_REL) in maybe_adjust_var_sym_address()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/ |
D | symbolize_elf.inc | 187 SafeMemZero(&elf_header, sizeof(elf_header)); 200 ElfW(Ehdr) elf_header; 457 // Returns elf_header.e_type if the file pointed by fd is an ELF binary. 459 ElfW(Ehdr) elf_header; 460 if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) { 463 if (memcmp(elf_header.e_ident, ELFMAG, SELFMAG) != 0) { 466 return elf_header.e_type; 516 ElfW(Ehdr) elf_header; 517 if (!ReadFromOffsetExact(fd, &elf_header, sizeof(elf_header), 0)) { 523 (elf_header.e_shoff + elf_header.e_shentsize * elf_header.e_shstrndx); [all …]
|
/third_party/elfio/elfio/ |
D | elfio_header.hpp | 30 class elf_header class 33 virtual ~elf_header() = default; 74 template <class T> class elf_header_impl : public elf_header
|
D | elfio.hpp | 406 std::unique_ptr<elf_header> create_header( unsigned char file_class, in create_header() 409 std::unique_ptr<elf_header> new_header; in create_header() 412 new_header = std::unique_ptr<elf_header>( in create_header() 417 new_header = std::unique_ptr<elf_header>( in create_header() 1096 std::unique_ptr<elf_header> header = nullptr;
|
/third_party/libunwind/src/coredump/ |
D | _UCD_create.c | 52 } elf_header; in _UCD_create() local 53 #define elf_header32 elf_header.h32 in _UCD_create() 54 #define elf_header64 elf_header.h64 in _UCD_create()
|
/third_party/python/Lib/ctypes/ |
D | util.py | 98 elf_header = b'\x7fELF' 100 return thefile.read(4) == elf_header
|