Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/objtool/
Delf.c130 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name()
141 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
153 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
220 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name()
231 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
260 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
265 static int read_sections(struct elf *elf) in read_sections()
344 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
375 static int read_symbols(struct elf *elf) in read_symbols()
512 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, in elf_add_reloc()
[all …]
Delf.h84 struct elf { struct
85 Elf *elf; member
86 GElf_Ehdr ehdr;
87 int fd;
88 bool changed;
89 char *name;
90 struct list_head sections;
Dspecial.c65 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry()
123 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
Dobjtool.h18 struct elf *elf; member
Dorc_dump.c72 Elf *elf; in orc_dump() local
Dorc_gen.c89 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
/kernel/linux/linux-5.10/tools/perf/util/
Dsymbol-elf.c77 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum()
190 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index()
209 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name()
235 static int elf_read_program_header(Elf *elf, u64 vaddr, GElf_Phdr *phdr) in elf_read_program_header()
323 Elf *elf; in dso__synthesize_plt_symbols() local
483 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id()
597 Elf *elf; in filename__read_build_id() local
717 Elf *elf; in filename__read_debuglink() local
826 Elf *elf; in symsrc__init() local
1083 Elf *elf; in dso__load_sym() local
[all …]
Dsymsrc.h21 Elf *elf; member
Dunwind-libunwind-local.c173 Elf *elf; in elf_section_offset() local
199 Elf *elf; in elf_is_exec() local
Dprobe-finder.c1229 Elf *elf; in debuginfo__find_probes() local
1671 Elf *elf; in debuginfo__get_text_offset() local
Dprobe-event.c272 Elf *elf; in find_module_name() local
596 Elf *elf; in get_text_start_address() local
/kernel/linux/linux-5.10/scripts/mod/
Dmodpost.c348 static enum export export_from_secname(struct elf_info *elf, unsigned int sec) in export_from_secname()
366 static enum export export_from_sec(struct elf_info *elf, unsigned int sec) in export_from_sec()
821 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
901 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1280 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1296 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1340 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1580 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler()
1610 static int is_executable_section(struct elf_info* elf, unsigned int section_index) in is_executable_section()
1655 static void report_extable_warnings(const char* modname, struct elf_info* elf, in report_extable_warnings()
[all …]
/kernel/linux/linux-5.10/tools/build/feature/
Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/kernel/linux/linux-5.10/tools/objtool/arch/x86/
Ddecode.c32 static int is_x86_64(const struct elf *elf) in is_x86_64()
87 int arch_decode_instruction(const struct elf *elf, const struct section *sec, in arch_decode_instruction()
/kernel/linux/linux-5.10/samples/bpf/
Dbpf_load.c316 static int get_sec(Elf *elf, int i, GElf_Ehdr *ehdr, char **shname, in get_sec()
400 Elf *elf, Elf_Data *symbols, int strtabidx) in load_elf_maps_section()
511 Elf *elf; in do_load_bpf_file() local
/kernel/linux/linux-5.10/arch/alpha/boot/tools/
Dobjstrip.c61 struct elfhdr *elf; in main() local
/kernel/linux/linux-5.10/fs/
Dbinfmt_elf.c536 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1489 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1823 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2052 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2168 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2195 struct elfhdr elf; in elf_core_dump() local
Dbinfmt_elf_fdpic.c1253 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1439 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1485 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/kernel/linux/linux-5.10/tools/bpf/resolve_btfids/
Dmain.c95 Elf *elf; member
276 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix()
304 Elf *elf; in elf_collect() local
/kernel/linux/linux-5.10/arch/s390/include/asm/
Delf.h170 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
185 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/kernel/linux/linux-5.10/arch/mips/kernel/
Delf.c75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dfadump.c953 struct elfhdr *elf; in fadump_init_elfcore_header() local
1064 struct elfhdr *elf; in fadump_create_elfcore_headers() local
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-core.c308 Elf64_Ehdr *elf; in create_opalcore() local
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c433 Elf *elf; member
2661 Elf *elf = obj->efile.elf; in elf_sec_by_name() local
2804 Elf *elf = obj->efile.elf; in bpf_object__elf_collect() local
Dbtf.c796 Elf *elf = NULL; in btf__parse_elf() local