Searched refs:secstrings (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/kernel/module/
H A Dlivepatch.c42 mod->klp_info->secstrings = kmemdup(info->secstrings, size, GFP_KERNEL);
43 if (!mod->klp_info->secstrings) {
72 kfree(mod->klp_info->secstrings);
H A Dstrict_rwx.c82 char *secstrings, struct module *mod)
93 mod->name, secstrings + sechdrs[i].sh_name, i);
81 module_enforce_rwx_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
H A Dkallsyms.c71 if (strstarts(info->secstrings + sechdrs[sym->st_shndx].sh_name,
126 pr_debug("\t%s\n", info->secstrings + symsect->sh_name);
153 pr_debug("\t%s\n", info->secstrings + strsect->sh_name);
H A Dinternal.h68 char *secstrings, *strtab; member in struct:load_info
329 char *secstrings, struct module *mod);
H A Dmain.c190 && strcmp(info->secstrings + shdr->sh_name, name) == 0)
223 if (strcmp(info->secstrings + shdr->sh_name, name) == 0)
1457 info->secstrings,
1540 const char *sname = info->secstrings + s->sh_name;
1744 info->secstrings = (void *)info->hdr + strhdr->sh_offset;
1749 if (info->secstrings[strhdr->sh_size - 1] != '\0') {
1790 if (strcmp(info->secstrings + shdr->sh_name,
1794 } else if (strcmp(info->secstrings + shdr->sh_name,
2293 (long)shdr->sh_size, info->secstrings + shdr->sh_name);
2339 char *secstrings,
2337 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
[all...]
/linux-master/arch/hexagon/kernel/
H A Dmodule.c24 * @secstrings - symbol names
28 char *secstrings,
37 secstrings + sechdrs[i].sh_name);
38 if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
40 if (strcmp(secstrings + sechdrs[i].sh_name, ".got.plt") == 0)
42 if (strcmp(secstrings + sechdrs[i].sh_name, ".rela.plt") == 0)
27 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/kernel/
H A Dcfi.c51 char *secstrings; local
57 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
60 if (strcmp(secstrings + sechdrs[i].sh_name, "__kcfi_traps"))
/linux-master/arch/x86/kernel/
H A Dmodule.c282 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
285 if (!strcmp(".altinstructions", secstrings + s->sh_name))
287 if (!strcmp(".smp_locks", secstrings + s->sh_name))
289 if (!strcmp(".orc_unwind", secstrings + s->sh_name))
291 if (!strcmp(".orc_unwind_ip", secstrings + s->sh_name))
293 if (!strcmp(".retpoline_sites", secstrings + s->sh_name))
295 if (!strcmp(".return_sites", secstrings + s->sh_name))
297 if (!strcmp(".call_sites", secstrings + s->sh_name))
299 if (!strcmp(".cfi_sites", secstrings + s->sh_name))
301 if (!strcmp(".ibt_endbr_seal", secstrings
[all...]
/linux-master/arch/powerpc/kernel/
H A Dmodule_32.c75 const char *secstrings,
86 if ((strstr(secstrings + sechdrs[i].sh_name, ".init") != NULL)
91 if (strstr(secstrings + sechdrs[i].sh_name, ".debug"))
122 char *secstrings,
129 if (strcmp(secstrings + sechdrs[i].sh_name, ".init.plt") == 0)
131 else if (strcmp(secstrings + sechdrs[i].sh_name, ".plt") == 0)
141 = get_plt_size(hdr, sechdrs, secstrings, 0);
143 = get_plt_size(hdr, sechdrs, secstrings, 1);
73 get_plt_size(const Elf32_Ehdr *hdr, const Elf32_Shdr *sechdrs, const char *secstrings, int is_init) argument
120 module_frob_arch_sections(Elf32_Ehdr *hdr, Elf32_Shdr *sechdrs, char *secstrings, struct module *me) argument
H A Dmodule.c26 char *secstrings; local
29 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
31 if (strcmp(secstrings+sechdrs[i].sh_name, name) == 0)
H A Dmodule_64.c405 char *secstrings,
412 if (strcmp(secstrings + sechdrs[i].sh_name, ".stubs") == 0)
415 else if (strcmp(secstrings + sechdrs[i].sh_name, ".data..percpu") == 0)
417 else if (strcmp(secstrings + sechdrs[i].sh_name, ".mygot") == 0) {
423 else if (strcmp(secstrings + sechdrs[i].sh_name, ".toc") == 0) {
428 else if (strcmp(secstrings+sechdrs[i].sh_name,"__versions")==0)
403 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, char *secstrings, struct module *me) argument
/linux-master/arch/loongarch/kernel/
H A Dmodule-sections.c105 char *secstrings, struct module *mod)
114 if (!strcmp(secstrings + sechdrs[i].sh_name, ".got"))
116 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
118 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt.idx"))
120 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".ftrace_trampoline"))
104 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/lib/
H A Dbug.c91 char *secstrings; local
98 secstrings = (char *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
100 if (strcmp(secstrings+sechdrs[i].sh_name, "__bug_table"))
/linux-master/scripts/
H A Dsorttable.h278 const char *secstrings; local
300 secstrings = (const char *)ehdr + _r(&shdr[shstrndx].sh_offset);
308 if (!strcmp(secstrings + idx, "__ex_table")) {
312 if (!strcmp(secstrings + idx, ".symtab"))
314 if (!strcmp(secstrings + idx, ".strtab"))
329 if (!strcmp(secstrings + idx, ".init.data")) {
340 if (!strcmp(secstrings + idx, ".orc_unwind_ip")) {
345 if (!strcmp(secstrings + idx, ".orc_unwind")) {
/linux-master/arch/riscv/kernel/
H A Dmodule-sections.c91 char *secstrings, struct module *mod)
101 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
103 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got"))
105 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".got.plt"))
90 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/arch/sparc/kernel/
H A Dmodule.c57 char *secstrings,
188 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
191 if (!strcmp(".sun4v_1insn_patch", secstrings + s->sh_name))
193 if (!strcmp(".sun4v_2insn_patch", secstrings + s->sh_name))
55 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/arch/x86/entry/vdso/
H A Dvdso2c.h55 const char *secstrings; local
105 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset);
112 if (!strcmp(secstrings + GET_LE(&sh->sh_name),
115 if (!strcmp(secstrings + GET_LE(&sh->sh_name), "__ex_table"))
/linux-master/include/linux/
H A Dmoduleloader.h22 char *secstrings,
/linux-master/arch/arm64/kernel/
H A Dmodule-plts.c281 char *secstrings, struct module *mod)
294 if (!strcmp(secstrings + sechdrs[i].sh_name, ".plt"))
296 else if (!strcmp(secstrings + sechdrs[i].sh_name, ".init.plt"))
298 else if (!strcmp(secstrings + sechdrs[i].sh_name,
335 if (!module_init_layout_section(secstrings + dstsec->sh_name))
280 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/arch/arm/kernel/
H A Dmodule-plts.c210 char *secstrings, struct module *mod)
222 if (strcmp(".plt", secstrings + s->sh_name) == 0)
224 else if (strcmp(".init.plt", secstrings + s->sh_name) == 0)
254 if (!module_init_layout_section(secstrings + dstsec->sh_name))
209 module_frob_arch_sections(Elf_Ehdr *ehdr, Elf_Shdr *sechdrs, char *secstrings, struct module *mod) argument
/linux-master/arch/alpha/kernel/
H A Dmodule.c65 char *secstrings, struct module *me)
81 else if (!strcmp(".got", secstrings + s->sh_name)) {
64 module_frob_arch_sections(Elf64_Ehdr *hdr, Elf64_Shdr *sechdrs, char *secstrings, struct module *me) argument
/linux-master/arch/mips/kernel/
H A Dvpe.c183 Elf_Shdr *sechdrs, const char *secstrings)
479 const char *secstrings,
489 if (strncmp(secstrings + sechdrs[i].sh_name, ".bss", 4) == 0) {
580 char *secstrings, *strtab = NULL; local
612 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
640 layout_sections(&mod, hdr, sechdrs, secstrings);
665 secstrings + sechdrs[i].sh_name,
670 simplify_symbols(sechdrs, symindex, strtab, secstrings,
182 layout_sections(struct module *mod, const Elf_Ehdr *hdr, Elf_Shdr *sechdrs, const char *secstrings) argument
476 simplify_symbols(Elf_Shdr *sechdrs, unsigned int symindex, const char *strtab, const char *secstrings, unsigned int nsecs, struct module *mod) argument
H A Dmodule.c429 char *secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset; local
436 if (strcmp("__dbe_table", secstrings + s->sh_name) != 0)
/linux-master/arch/s390/kernel/
H A Dmodule.c143 char *secstrings, struct module *me)
532 char *secstrings, *secname; local
549 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
552 secname = secstrings + s->sh_name;
142 module_frob_arch_sections(Elf_Ehdr *hdr, Elf_Shdr *sechdrs, char *secstrings, struct module *me) argument
/linux-master/arch/parisc/kernel/
H A Dmodule.c281 CONST char *secstrings,
298 if (strncmp(secstrings + sechdrs[i].sh_name,
847 char *secstrings; local
923 secstrings = (void *)hdr + sechdrs[hdr->e_shstrndx].sh_offset;
926 char *secname = secstrings + s->sh_name;
279 module_frob_arch_sections(CONST Elf_Ehdr *hdr, CONST Elf_Shdr *sechdrs, CONST char *secstrings, struct module *me) argument

Completed in 320 milliseconds

12