[decompiler] handle pointer to symbol value, clean up prints on offline test (#1978)

- fix issue described in
https://github.com/open-goal/jak-project/issues/1939
- fix `text`, which was manually patched with the wrong offset (was
reading the symbol value off by one byte)
- clean up some random useless prints
- make the offline tests keep trying if there's a comparison error,
clean up the output a bit so the diffs are all at the end.
This commit is contained in:
water111
2022-10-16 18:19:59 -04:00
committed by GitHub
parent e7bb0fb68d
commit ddd60fca48
21 changed files with 291 additions and 509 deletions
+4 -1
View File
@@ -41,7 +41,10 @@ class LinkedObjectFile {
int source_offset,
const char* name,
LinkedWord::Kind kind);
void symbol_link_offset(int source_segment, int source_offset, const char* name);
void symbol_link_offset(int source_segment,
int source_offset,
const char* name,
bool subtract_one);
Function& get_function_at_label(int label_id);
Function* try_get_function_at_label(int label_id);
Function* try_get_function_at_label(const DecompilerLabel& label);