Lines Matching refs:orig
27 struct elf *orig, *patched, *out;
56 static char *escape_str(const char *orig)
62 for (a = orig; *a; a++) {
75 for (a = orig, b = new; *a; a++) {
571 /* Count orig candidates */
572 for_each_sym_by_demangled_name(e->orig, sym1->demangled_name, sym2) {
650 const char *orig;
657 * Build a mapping of known orig-to-patched LLVM suffixes based on
682 if (!strcmp(entry->orig, s1)) {
696 entry->orig = s1;
729 if (!strcmp(entry->orig, suffix)) {
770 * them, so they're matched by position: the 1st __quirk in orig matches the
781 for_each_sym_by_demangled_name(e->orig, sym1->demangled_name, sym2) {
816 * Correlate symbols between the orig and patched objects. This is a
826 for_each_sym(e->orig, sym1)
832 file1_sym = first_file_symbol(e->orig);
835 for (; ; file1_sym = next_file_symbol(e->orig, file1_sym),
870 for_each_sym(e->orig, sym1) {
881 if (update_suffix_map(e->orig))
884 for_each_sym(e->orig, sym1) {
896 for_each_sym(e->orig, sym1) {
906 for_each_sym(e->orig, sym1) {
1060 for_each_sym(e->orig, orig_sym) {
1135 sec = find_section_by_name(e->orig, ".modinfo");
1145 name = strdup(e->orig->name);
1325 for_each_sym(e->orig, sym) {
1416 sympos = klp_find_sympos(e->orig, patched_sym->twin);
2088 sympos = klp_find_sympos(e->orig, sym->clone->twin);
2235 e.orig = elf_open_read(argv[0], O_RDONLY);
2239 if (!e.orig || !e.patched)
2242 if (klp_sympos_init(e.orig))
2248 if (read_sym_checksums(e.orig))
2263 e.out = elf_create_file(&e.orig->ehdr, argv[2]);