Searched refs:efile (Results 1 – 2 of 2) sorted by relevance
141 } efile; member409 obj->efile.fd = fd; in elf_collect()410 obj->efile.elf = elf; in elf_collect()419 if (gelf_getehdr(obj->efile.elf, &ehdr) == NULL) { in elf_collect()424 obj->efile.encoding = ehdr.e_ident[EI_DATA]; in elf_collect()460 obj->efile.symbols = data; in elf_collect()461 obj->efile.symbols_shndx = idx; in elf_collect()462 obj->efile.strtabidx = sh.sh_link; in elf_collect()470 if (obj->efile.encoding != ELFDATANATIVE) { in elf_collect()474 obj->efile.idlist = data; in elf_collect()[all …]
728 /* Information when doing ELF related work. Only valid if efile.elf is not NULL */729 struct elf_state efile;908 Elf_Data *symbols = obj->efile.symbols; in bpf_object__add_programs() 944 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs() 1501 for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { in bpf_object_init_struct_ops() 1502 struct elf_sec_desc *desc = &obj->efile.secs[sec_idx]; in bpf_object_init_struct_ops() 1544 obj->efile.fd = -1; in bpf_object__new() 1551 obj->efile.obj_buf = obj_buf; in bpf_object__new() 1552 obj->efile.obj_buf_sz = obj_buf_sz; in bpf_object__new() 1553 obj->efile in bpf_object__new() 724 struct elf_state efile; global() member [all...]