Home
last modified time | relevance | path

Searched refs:elf_handle (Results 1 – 9 of 9) sorted by relevance

/third_party/libabigail/src/
Dabg-elf-helpers.h69 find_section(Elf* elf_handle,
74 find_section_by_name(Elf* elf_handle, const std::string& name);
77 find_section(Elf* elf_handle, Elf64_Word section_type);
80 find_symtab_section(Elf* elf_handle);
83 find_dynsym_section(Elf* elf_handle);
86 find_symbol_table_section(Elf* elf_handle);
89 find_symbol_table_section_index(Elf* elf_handle, size_t& symtab_index);
99 find_hash_table_section_index(Elf* elf_handle,
104 find_text_section(Elf* elf_handle);
107 find_bss_section(Elf* elf_handle);
[all …]
Dabg-elf-helpers.cc309 find_section_by_name(Elf* elf_handle, const std::string& name) in find_section_by_name() argument
312 if (elf_getshdrstrndx (elf_handle, &section_header_string_index) < 0) in find_section_by_name()
317 while ((section = elf_nextscn(elf_handle, section)) != 0) in find_section_by_name()
324 elf_strptr(elf_handle, section_header_string_index, header->sh_name); in find_section_by_name()
344 find_section(Elf* elf_handle, const std::string& name, Elf64_Word section_type) in find_section() argument
347 if (elf_getshdrstrndx (elf_handle, &section_header_string_index) < 0) in find_section()
352 while ((section = elf_nextscn(elf_handle, section)) != 0) in find_section()
359 elf_strptr(elf_handle, section_header_string_index, header->sh_name); in find_section()
377 find_section(Elf* elf_handle, Elf64_Word section_type) in find_section() argument
380 while ((section = elf_nextscn(elf_handle, section)) != 0) in find_section()
[all …]
Dabg-symtab-reader.cc141 symtab::load(Elf* elf_handle, in load() argument
145 ABG_ASSERT(elf_handle); in load()
148 if (!result->load_(elf_handle, env, is_suppressed)) in load()
202 symtab::load_(Elf* elf_handle, in load_() argument
207 GElf_Ehdr* header = gelf_getehdr(elf_handle, &ehdr_mem); in load_()
214 Elf_Scn* symtab_section = elf_helpers::find_symbol_table_section(elf_handle); in load_()
250 Elf_Scn* strings_section = elf_helpers::find_ksymtab_strings_section(elf_handle); in load_()
265 const bool is_kernel = elf_helpers::is_linux_kernel(elf_handle); in load_()
282 elf_strptr(elf_handle, symtab_sheader.sh_link, sym->st_name); in load_()
317 ABG_ASSERT(elf_helpers::get_crc_for_symbol(elf_handle, in load_()
[all …]
Dabg-elf-reader.cc247 Elf* elf_handle = nullptr; member
295 elf_handle = nullptr; in initialize()
328 elf_handle = dwfl_module_getelf(elf_module, &bias); in crack_open_elf_file()
329 ABG_ASSERT(elf_handle); in crack_open_elf_file()
390 elf_helpers::find_section(elf_handle, in locate_alt_ctf_debug_info()
435 ABG_ASSERT(elf_handle); in locate_ctf_debug_info()
437 ctf_section = elf_helpers::find_section_by_name(elf_handle, ".ctf"); in locate_ctf_debug_info()
523 reader::elf_handle() const in elf_handle() function in abigail::elf::reader
524 {return priv_->elf_handle;} in elf_handle()
607 elf_helpers::find_symbol_table_section(elf_handle()); in find_symbol_table_section()
[all …]
Dabg-symtab-reader.h245 load(Elf* elf_handle,
286 load_(Elf* elf_handle,
295 setup_symbol_lookup_tables(Elf* elf_handle,
300 update_function_entry_address_symbol_map(Elf* elf_handle,
305 add_alternative_address_lookups(Elf* elf_handle);
Dabg-dwarf-reader.cc673 Elf* elf_handle, in lookup_symbol_from_sysv_hash_tab() argument
680 Elf_Scn* sym_tab_section = elf_getscn(elf_handle, sym_tab_index); in lookup_symbol_from_sysv_hash_tab()
689 Elf_Scn* hash_section = elf_getscn(elf_handle, ht_index); in lookup_symbol_from_sysv_hash_tab()
724 sym_name_str = elf_strptr(elf_handle, in lookup_symbol_from_sysv_hash_tab()
736 if (get_version_for_symbol(elf_handle, symbol_index, in lookup_symbol_from_sysv_hash_tab()
764 get_elf_class_size_in_bytes(Elf* elf_handle) in get_elf_class_size_in_bytes() argument
769 ABG_ASSERT(gelf_getehdr(elf_handle, &hdr)); in get_elf_class_size_in_bytes()
804 bloom_word_at(Elf* elf_handle, in bloom_word_at() argument
810 ABG_ASSERT(gelf_getehdr(elf_handle, &h)); in bloom_word_at()
879 setup_gnu_ht(Elf* elf_handle, in setup_gnu_ht() argument
[all …]
Dabg-ctf-reader.cc377 if (!(ehdr = gelf_getehdr(elf_handle(), &eh_mem))) in slurp_elf_info()
394 elf_helpers::find_section_by_name(elf_handle(), symtab_name); in slurp_elf_info()
398 elf_helpers::find_section_by_name(elf_handle(), strtab_name); in slurp_elf_info()
/third_party/libabigail/include/
Dabg-elf-reader.h89 elf_handle() const;
/third_party/libabigail/
DChangeLog646 create_default_dwfl, dwfl_handle, elf_module, elf_handle,
36581 (read_context::elf_handle): Add comment.
37420 (read_context::{elf_module, elf_handle}): New accessors.