From 9ec26550db5f1cb38e2449cedeeacad96c46e826 Mon Sep 17 00:00:00 2001 From: disinvite Date: Sun, 14 Jan 2024 14:58:02 -0500 Subject: [PATCH] Re-enable print-rec-addr option --- tools/reccmp/reccmp.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/reccmp/reccmp.py b/tools/reccmp/reccmp.py index 6b688890..66bb0f66 100755 --- a/tools/reccmp/reccmp.py +++ b/tools/reccmp/reccmp.py @@ -230,7 +230,9 @@ def main(): print(f"Failed to find the function with address 0x{args.verbose:x}") return - print_match_verbose(match, is_plain=args.no_color) + print_match_verbose( + match, show_both_addrs=args.print_rec_addr, is_plain=args.no_color + ) return ### Compare everything. @@ -241,7 +243,9 @@ def main(): htmlinsert = [] for match in isle_compare.compare_functions(): - print_match_oneline(match, is_plain=args.no_color) + print_match_oneline( + match, show_both_addrs=args.print_rec_addr, is_plain=args.no_color + ) function_count += 1 total_accuracy += match.ratio