Home
last modified time | relevance | path

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

12

/Linux-v6.1/tools/objtool/include/objtool/
Delf.h84 struct elf { struct
85 Elf *elf; argument
86 GElf_Ehdr ehdr;
87 int fd;
88 bool changed;
89 char *name;
90 unsigned int text_size, num_files;
91 struct list_head sections;
93 int symbol_bits;
94 int symbol_name_bits;
[all …]
Dobjtool.h23 struct elf *elf; member
/Linux-v6.1/tools/objtool/
Delf.c111 struct section *find_section_by_name(const struct elf *elf, const char *name) in find_section_by_name()
123 static struct section *find_section_by_index(struct elf *elf, in find_section_by_index()
136 static struct symbol *find_symbol_by_index(struct elf *elf, unsigned int idx) in find_symbol_by_index()
239 struct symbol *find_symbol_by_name(const struct elf *elf, const char *name) in find_symbol_by_name()
251 struct reloc *find_reloc_by_dest_range(const struct elf *elf, struct section *sec, in find_reloc_by_dest_range()
280 struct reloc *find_reloc_by_dest(const struct elf *elf, struct section *sec, unsigned long offset) in find_reloc_by_dest()
285 static int read_sections(struct elf *elf) in read_sections()
372 static void elf_add_symbol(struct elf *elf, struct symbol *sym) in elf_add_symbol()
407 static int read_symbols(struct elf *elf) in read_symbols()
552 int elf_add_reloc(struct elf *elf, struct section *sec, unsigned long offset, in elf_add_reloc()
[all …]
Dspecial.c68 static int get_alt_entry(struct elf *elf, struct special_entry *entry, in get_alt_entry()
139 int special_get_alts(struct elf *elf, struct list_head *alts) in special_get_alts()
Dorc_dump.c73 Elf *elf; in orc_dump() local
Dorc_gen.c90 static int write_orc_entry(struct elf *elf, struct section *orc_sec, in write_orc_entry()
/Linux-v6.1/scripts/mod/
Dmodpost.c723 static const char *sym_name(struct elf_info *elf, Elf_Sym *sym) in sym_name()
785 static void check_section(const char *modname, struct elf_info *elf, in check_section()
1132 static inline int is_valid_name(struct elf_info *elf, Elf_Sym *sym) in is_valid_name()
1148 static Elf_Sym *find_elf_symbol(struct elf_info *elf, Elf64_Sword addr, in find_elf_symbol()
1192 static Elf_Sym *find_elf_symbol2(struct elf_info *elf, Elf_Addr addr, in find_elf_symbol2()
1269 static void default_mismatch_handler(const char *modname, struct elf_info *elf, in default_mismatch_handler()
1294 static int is_executable_section(struct elf_info* elf, unsigned int section_index) in is_executable_section()
1339 static void report_extable_warnings(const char* modname, struct elf_info* elf, in report_extable_warnings()
1377 static void extable_mismatch_handler(const char* modname, struct elf_info *elf, in extable_mismatch_handler()
1413 static void check_section_mismatch(const char *modname, struct elf_info *elf, in check_section_mismatch()
[all …]
/Linux-v6.1/tools/perf/util/
Dsymbol-elf.c78 static int elf_getphdrnum(Elf *elf, size_t *dst) in elf_getphdrnum()
191 static size_t elf_addr_to_index(Elf *elf, GElf_Addr addr) in elf_addr_to_index()
210 Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep, in elf_section_by_name()
236 static int elf_read_program_header(Elf *elf, u64 vaddr, GElf_Phdr *phdr) in elf_read_program_header()
328 Elf *elf; in dso__synthesize_plt_symbols() local
488 static int elf_read_build_id(Elf *elf, void *bf, size_t size) in elf_read_build_id()
602 Elf *elf; in read_build_id() local
755 Elf *elf; in filename__read_debuglink() local
864 Elf *elf; in symsrc__init() local
1122 Elf *elf; in dso__load_sym_internal() local
[all …]
Dsymsrc.h21 Elf *elf; member
Dunwind-libunwind-local.c174 Elf *elf; in elf_section_address_and_offset() local
211 Elf *elf = elf_begin(fd, PERF_ELF_C_READ_MMAP, NULL); in elf_base_address() local
234 Elf *elf; in elf_is_exec() local
Dprobe-finder.c1236 Elf *elf; in debuginfo__find_probes() local
1678 Elf *elf; in debuginfo__get_text_offset() local
/Linux-v6.1/tools/build/feature/
Dtest-libelf.c6 Elf *elf = elf_begin(0, ELF_C_READ, 0); in main() local
/Linux-v6.1/tools/lib/bpf/
Dusdt.c299 static int sanity_check_usdt_elf(Elf *elf, const char *path) in sanity_check_usdt_elf()
351 static int find_elf_sec_by_name(Elf *elf, const char *sec_name, GElf_Shdr *shdr, Elf_Scn **scn) in find_elf_sec_by_name()
394 static int parse_elf_segs(Elf *elf, const char *path, struct elf_seg **segs, size_t *seg_cnt) in parse_elf_segs()
572 static int collect_usdt_targets(struct usdt_manager *man, Elf *elf, const char *path, pid_t pid, in collect_usdt_targets()
956 Elf *elf; in usdt_manager_attach_usdt() local
1093 static int parse_usdt_note(Elf *elf, const char *path, GElf_Nhdr *nhdr, in parse_usdt_note()
Dlinker.c52 Elf *elf; member
136 Elf *elf; member
/Linux-v6.1/tools/objtool/arch/x86/
Ddecode.c26 static int is_x86_64(const struct elf *elf) in is_x86_64()
124 const struct elf *elf = file->elf; in arch_decode_instruction() local
/Linux-v6.1/arch/loongarch/kernel/
Delf.c15 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/Linux-v6.1/fs/
Dbinfmt_elf.c540 struct file *elf, bool is_interp, in arch_elf_pt_proc()
1491 static void fill_elf_header(struct elfhdr *elf, int segs, in fill_elf_header()
1828 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2057 static int fill_note_info(struct elfhdr *elf, int phdrs, in fill_note_info()
2173 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
2200 struct elfhdr elf; in elf_core_dump() local
Dbinfmt_elf_fdpic.c1237 static inline void fill_elf_fdpic_header(struct elfhdr *elf, int segs) in fill_elf_fdpic_header()
1424 static void fill_extnum_info(struct elfhdr *elf, struct elf_shdr *shdr4extnum, in fill_extnum_info()
1470 struct elfhdr *elf = NULL; in elf_fdpic_core_dump() local
/Linux-v6.1/tools/bpf/resolve_btfids/
Dmain.c112 Elf *elf; member
295 static int compressed_section_fix(Elf *elf, Elf_Scn *scn, GElf_Shdr *sh) in compressed_section_fix()
323 Elf *elf; in elf_collect() local
/Linux-v6.1/arch/alpha/boot/tools/
Dobjstrip.c61 struct elfhdr *elf; in main() local
/Linux-v6.1/arch/s390/include/asm/
Delf.h194 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
209 #define arch_elf_pt_proc(ehdr, phdr, elf, interp, state) \ argument
/Linux-v6.1/arch/mips/kernel/
Delf.c75 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc()
/Linux-v6.1/arch/powerpc/kernel/
Dfadump.c965 struct elfhdr *elf; in fadump_init_elfcore_header() local
1079 struct elfhdr *elf; in fadump_create_elfcore_headers() local
/Linux-v6.1/arch/arm64/kvm/hyp/nvhe/
Dgen-hyprel.c137 } elf; variable
/Linux-v6.1/arch/powerpc/platforms/powernv/
Dopal-core.c308 Elf64_Ehdr *elf; in create_opalcore() local

12