Lines Matching defs:patched
27 struct elf *orig, *patched, *out;
396 * These symbols should never be correlated, so their local patched versions
479 * Try to find sym1's twin in patched using deterministic matching.
512 * unchanged. Level 4 matches each to the patched candidate with the
551 /* Count patched candidates */
552 for_each_sym_by_demangled_name(e->patched, sym1->demangled_name, sym2) {
605 const char *patched;
611 * Build a mapping of known orig-to-patched LLVM suffixes based on
651 entry->patched = s2;
660 * map to find the corresponding hash suffix for the patched object.
684 patched_suffix = entry->patched;
725 * 1st in patched, the 2nd matches the 2nd, etc.
747 for_each_sym_by_demangled_name(e->patched, sym1->demangled_name, sym2) {
770 * Correlate symbols between the orig and patched objects. This is a
782 for_each_sym(e->patched, sym2)
787 file2_sym = first_file_symbol(e->patched);
790 file2_sym = next_file_symbol(e->patched, file2_sym)) {
841 sym2 = find_twin_suffixed(e->patched, sym1);
1064 * Copy all changed functions (and their dependencies) from the patched object
1094 for_each_sym(e->patched, patched_sym) {
1106 for_each_sym(e->patched, patched_sym) {
1118 for_each_sym(e->patched, patched_sym) {
1565 * always patched by alternatives. See ALTERNATIVE_TERNARY().
1571 ret = convert_reloc_sym(e->patched, patched_reloc);
1760 * when their corresponding to-be-patched module gets loaded. Then klp relocs
1780 sym_for_each_reloc(e->patched, sym, reloc) {
1784 if (convert_reloc_sym(e->patched, reloc))
1866 if (!should_keep_special_sym(e->patched, patched_sym))
1887 for_each_sec(e->patched, sec) {
2105 patched_sec = find_section_by_name(e->patched, ".modinfo");
2158 e.patched = elf_open_read(argv[1], O_RDONLY);
2161 if (!e.orig || !e.patched)
2170 if (read_sym_checksums(e.patched))
2194 if (create_fake_symbols(e.patched))