Commit Graph

22 Commits

Author SHA1 Message Date
Léo Lam c6ff7af2b0
tools/check: Avoid recreating capstone instances all the time 2020-11-01 17:01:09 +01:00
Léo Lam 41cd5cceea
tools/check: Fix adrp_pair_registers not being updated for identical instructions 2020-11-01 16:57:58 +01:00
Léo Lam d0deedac4c
Compare non-matching functions against expected output
This makes it possible to catch regressions for non-matching functions,
especially those that only have minor issues.

This also reclassifies some minor non-matchings as major non-matchings
whenever it's really not obvious to see that they are equivalent.
2020-11-01 15:43:22 +01:00
Léo Lam 9aacce607d
tools: Reformat progress 2020-11-01 14:57:14 +01:00
Léo Lam 6c3158c057
tools: Update asm-differ 2020-10-16 01:28:54 +02:00
Léo Lam f19d229fa4
Check for non-matching functions that now match 2020-10-06 20:30:17 +02:00
Léo Lam f8db98617c
tools: Fix local symbols being ignored by print_decomp_symbols 2020-10-03 22:48:26 +02:00
Léo Lam fd90123f88
ci: Check matching functions for each push and PR build 2020-09-24 18:40:06 +02:00
Léo Lam 218a8da8ba
tools: Add a tool to check all matchings for diffs
And fix some incorrect function entries
2020-09-24 13:55:39 +02:00
Léo Lam 90ae681ae0
tools: Update asm-differ 2020-09-22 23:35:26 +02:00
Léo Lam 39be118a9c
tools/diff: Accept demangled names as well 2020-09-22 18:43:16 +02:00
Léo Lam 5ac991b0e0
tools: Update asm-differ 2020-09-20 17:40:07 +02:00
Léo Lam 78f19ae1d3
tools/generate_bgparamlist_struct: Represent floats with reasonable precision
There's no point in printing 0.0010000000014 (example) instead of 0.001
2020-09-19 23:56:31 +02:00
Léo Lam dccd9cc720
tools/generate_bgparamlist_struct: Generate includes as well
For convenience :)
2020-09-19 22:07:09 +02:00
Léo Lam a97f61f02a
Add a tool to automatically generate GParamList object struct+ctor 2020-09-19 18:44:21 +02:00
Léo Lam 2857102a43
tools: Add a script to rename functions in IDA 2020-09-08 19:22:53 +02:00
Léo Lam 3c06896cfe
tools: Clean up the progress script
And make the output clearer.
2020-09-07 18:34:50 +02:00
Léo Lam 17701b157b
Bundle aarch64-none-elf-objdump 2.33 from Arm to simplify setup
Ubuntu 18.04's objdump is too old (2.30)

devkitA64's objdump is also too old (2.32) and doesn't support
--source-comment
2020-08-21 14:55:59 +02:00
Léo Lam a344367b01
tools: Fix Python 3.6 compatibility 2020-08-21 14:16:32 +02:00
Léo Lam 26183142b1
Update instructions, fix diff settings and add asm-differ
...to simplify setup a bit
2020-08-21 12:16:06 +02:00
Léo Lam 3ff4e8db65
tools: Also show percentage of matching code in terms of code size 2020-08-21 11:28:25 +02:00
Léo Lam 2de366be0f
Initial commit 2020-08-18 22:50:25 +02:00