Home
last modified time | relevance | path

Searched defs:elf (Results 1 – 25 of 225) sorted by relevance

123456789

/external/stg/
Delf_loader.cc42 namespace elf { namespace
146 GElf_Half GetMachine(Elf* elf) { in GetMachine()
169 Elf* elf, const std::function<bool(const GElf_Shdr&)>& predicate) { in GetSectionsIf()
183 std::vector<Elf_Scn*> GetSectionsByName(Elf* elf, const std::string& name) { in GetSectionsByName()
194 Elf_Scn* MaybeGetSectionByName(Elf* elf, const std::string& name) { in MaybeGetSectionByName()
204 Elf_Scn* GetSectionByName(Elf* elf, const std::string& name) { in GetSectionByName()
210 Elf_Scn* MaybeGetSectionByType(Elf* elf, Elf64_Word type) { in MaybeGetSectionByType()
220 Elf_Scn* GetSectionByIndex(Elf* elf, size_t index) { in GetSectionByIndex()
254 std::string_view GetString(Elf* elf, uint32_t section, size_t offset) { in GetString()
262 Elf_Scn* GetSymbolTableSection(Elf* elf, bool is_linux_kernel_binary) { in GetSymbolTableSection()
[all …]
/external/elfutils/tests/
Dnewdata.c39 add_section_data (Elf *elf, char *buf, size_t len) in add_section_data()
75 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in create_elf() local
160 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_RDWR_MMAP : ELF_C_RDWR, NULL); in read_elf() local
171 check_section_size (Elf *elf, size_t size) in check_section_size()
199 check_section_data (Elf *elf, char *data, size_t len, size_t times) in check_section_data()
254 Elf *elf = create_elf (fd, class, use_mmap); in check_elf() local
Dsectiondump.c39 Elf *elf; in main() local
78 handle_section (Elf *elf, Elf_Scn *scn) in handle_section()
163 print_symtab (Elf *elf, Elf_Data *data) in print_symtab()
Dzstrptr.c34 print_strings (Elf_Scn *scn, Elf *elf, size_t ndx) in print_strings()
75 Elf *elf = elf_begin (fd, ELF_C_READ, NULL); in main() local
Delfstrtab.c55 check_orig_strings (Elf *elf, int ndx, const char *msg) in check_orig_strings()
86 check_strings (Elf *elf, int ndx, const char *msg) in check_strings()
145 Elf *elf = elf_begin (fd, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL); in check_elf() local
Delfshphehdr.c58 test (Elf *elf, int class, bool layout) in test()
158 Elf *elf; in main() local
Ddwfl-bug-fd-leak.c71 Elf *elf = dwarf_getelf (dbg); in elfutils_open() local
81 Elf *elf = dwfl_module_getelf (module, &bias); in elfutils_open() local
Ddwflsyms.c87 elf_section_name (Elf *elf, GElf_Word shndx) in elf_section_name()
98 addr_in_section (Elf *elf, GElf_Word shndx, GElf_Addr addr) in addr_in_section()
123 Elf *elf; in list_syms() local
/external/kmod/libkmod/
Dlibkmod-elf.c73 #define ELFDBG(elf, ...) \ argument
76 static inline void _elf_dbg(const struct kmod_elf *elf, const char *fname, unsigned line, const cha… in _elf_dbg()
89 #define ELFDBG(elf, ...) argument
130 static inline uint64_t elf_get_uint(const struct kmod_elf *elf, uint64_t offset, uint16_t size) in elf_get_uint()
159 static inline int elf_set_uint(struct kmod_elf *elf, uint64_t offset, uint64_t size, uint64_t value) in elf_set_uint()
200 static inline const void *elf_get_mem(const struct kmod_elf *elf, uint64_t offset) in elf_get_mem()
211 static inline const void *elf_get_section_header(const struct kmod_elf *elf, uint16_t idx) in elf_get_section_header()
224 static inline int elf_get_section_info(const struct kmod_elf *elf, uint16_t idx, uint64_t *offset, … in elf_get_section_info()
266 static const char *elf_get_strings_section(const struct kmod_elf *elf, uint64_t *size) in elf_get_strings_section()
274 struct kmod_elf *elf; in kmod_elf_new() local
[all …]
/external/elfutils/libdw/
Ddwarf_getcfi_elf.c44 allocate_cfi (Elf *elf, const GElf_Ehdr *ehdr, GElf_Addr vaddr) in allocate_cfi()
128 getcfi_gnu_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, const GElf_Phdr *phdr) in getcfi_gnu_eh_frame()
196 getcfi_phdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_phdr()
217 getcfi_scn_eh_frame (Elf *elf, const GElf_Ehdr *ehdr, in getcfi_scn_eh_frame()
273 getcfi_shdr (Elf *elf, const GElf_Ehdr *ehdr) in getcfi_shdr()
316 dwarf_getcfi_elf (Elf *elf) in dwarf_getcfi_elf()
/external/elfutils/libelf/
Delf_getphdrnum.c42 __elf_getphdrnum_rdlock (Elf *elf, size_t *dst) in __elf_getphdrnum_rdlock()
92 __elf_getphdrnum_chk_rdlock (Elf *elf, size_t *dst) in __elf_getphdrnum_chk_rdlock()
133 elf_getphdrnum (Elf *elf, size_t *dst) in elf_getphdrnum()
Delf_readall.c42 set_address (Elf *elf, size_t offset) in set_address()
68 __libelf_readall (Elf *elf) in __libelf_readall()
Delf_getshdrnum.c43 __elf_getshdrnum_rdlock (Elf *elf, size_t *dst) in __elf_getshdrnum_rdlock()
73 elf_getshdrnum (Elf *elf, size_t *dst) in elf_getshdrnum()
Dgelf_getehdr.c44 __gelf_getehdr_rdlock (Elf *elf, GElf_Ehdr *dest) in __gelf_getehdr_rdlock()
97 gelf_getehdr (Elf *elf, GElf_Ehdr *dest) in gelf_getehdr()
Delf_update.c42 write_file (Elf *elf, int64_t size, int change_bo, size_t shnum) in write_file()
168 elf_update (Elf *elf, Elf_Cmd cmd) in elf_update()
/external/elfutils/src/
Dsize.c276 Elf *elf = elf_begin (fd, ELF_C_READ_MMAP, NULL); in process_file() local
317 print_header (Elf *elf) in print_header()
340 handle_ar (int fd, Elf *elf, const char *prefix, const char *fname) in handle_ar()
387 show_sysv (Elf *elf, const char *prefix, const char *fname, in show_sysv()
462 show_sysv_one_line (Elf *elf) in show_sysv_one_line()
514 show_bsd (Elf *elf, const char *prefix, const char *fname, in show_bsd()
588 show_segments (Elf *elf, const char *fullname) in show_segments()
634 handle_elf (Elf *elf, const char *prefix, const char *fname) in handle_elf()
/external/google-breakpad/src/common/linux/
Dfile_id_unittest.cc125 void GetElfContents(ELF& elf) { in GetElfContents()
162 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
187 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
214 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
244 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
272 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
303 ELF elf(EM_386, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
Ddump_symbols_unittest.cc76 void GetElfContents(ELF& elf) { in GetElfContents()
108 ELF elf(TypeParam::kMachine, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
155 ELF elf(TypeParam::kMachine, TypeParam::kClass, kLittleEndian); in TYPED_TEST() local
/external/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dnative.cpp49 namespace elf { namespace
61 get_symbol_table(Elf *elf) { in get_symbol_table()
79 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets()
100 const auto elf = elf::get(code); in get_symbol_offsets() local
/external/elfutils/backends/
Dppc_symbol.c98 find_dyn_got (Elf *elf, GElf_Addr *addr) in find_dyn_got()
139 ppc_check_special_symbol (Elf *elf, const GElf_Sym *sym, in ppc_check_special_symbol()
184 ppc_bss_plt_p (Elf *elf) in ppc_bss_plt_p()
Dppc64_symbol.c98 ppc64_check_special_symbol (Elf *elf, in ppc64_check_special_symbol()
115 ppc64_bss_plt_p (Elf *elf __attribute__ ((unused))) in ppc64_bss_plt_p()
/external/elfutils/libdwfl/
Dcore-file.c125 dwfl_report_core_segments (Dwfl *dwfl, Elf *elf, size_t phnum, GElf_Phdr *notes) in dwfl_report_core_segments()
254 Elf *elf, GElf_Off start, int *pndx, in do_more()
288 Elf *elf = arg; in dwfl_elf_phdr_memory_callback() local
426 __libdwfl_dynamic_vaddr_get (Elf *elf, GElf_Addr *vaddrp) in __libdwfl_dynamic_vaddr_get()
448 dwfl_core_file_report (Dwfl *dwfl, Elf *elf, const char *executable) in dwfl_core_file_report()
641 _compat_without_executable_dwfl_core_file_report (Dwfl *dwfl, Elf *elf) in _compat_without_executable_dwfl_core_file_report()
Doffline.c114 Elf *elf, int (*predicate) (const char *module, in process_file()
135 Elf *elf) in process_elf()
287 Elf *elf; in __libdwfl_report_offline() local
334 Elf *elf; in INTDEF() local
/external/elfutils/libdwelf/
Ddwelf_elf_gnu_build_id.c64 find_elf_build_id (Dwfl_Module *mod, int e_type, Elf *elf, in find_elf_build_id()
129 __libdwfl_find_elf_build_id (Dwfl_Module *mod, Elf *elf, in __libdwfl_find_elf_build_id()
147 dwelf_elf_gnu_build_id (Elf *elf, const void **build_idp) in dwelf_elf_gnu_build_id()
/external/google-breakpad/src/common/solaris/
Dfile_id.cc60 AutoElfEnder(Elf* elf) : elf_(elf) {} in AutoElfEnder()
84 Elf* elf = elf_begin(fd, ELF_C_READ, NULL); in FindElfTextSection() local
142 namespace elf { namespace

123456789