Léo Lam
710c91eeff
tools: Make register pair tracking more robust by using insn.regs_access()
2021-06-28 18:51:08 +02:00
Léo Lam
c249c93be1
tools: Fix check script not handling ldrb, ldrsb, etc. correctly
2021-06-25 00:32:29 +02:00
Léo Lam
1b9f698134
tools: Fix strb and other str variants not being handled
2021-06-24 22:47:19 +02:00
Léo Lam
f4740f07e7
Exclude libcurl and NintendoSDK-NEX
...
This project is not going to decompile libcurl and NEX. It's just not
the main focus of the project and it's unlikely to yield any kind of
interesting information.
PosTrackerUploader and possibly the network save transfer stuff
do use NEX but those are secondary, possibly debug-only features.
Furthermore decompiling those two systems does not require actually
implementing the entirely of libcurl+NEX (~1MB); we just have to
write "API stubs" (headers) for the few parts of NEX that are used
by BotW code.
2021-06-15 01:49:54 +02:00
Léo Lam
a303d6e1b7
tools: Show line number when CSV parsing fails
2021-02-07 15:42:56 +01:00
Léo Lam
3dd4331fc9
Add more AI matches
2020-12-31 15:09:42 +01:00
Léo Lam
3869e440e7
Generate AIs
2020-12-31 14:16:09 +01:00
Léo Lam
a226027828
Add tool to rename AI virtual functions
2020-12-31 12:46:44 +01:00
Léo Lam
834f44e556
tools: Optimize symbol parsing
2020-12-29 15:04:45 +01:00
Léo Lam
81b1ec96bb
Add more missed matches
2020-12-29 01:38:07 +01:00
Léo Lam
56e1c0cfd2
Action: Fix incorrect handling of inherited virtual functions
2020-12-28 23:49:15 +01:00
Léo Lam
fcc062ec30
tools: Add unknown call hook to FunctionChecker
2020-12-28 20:51:34 +01:00
Léo Lam
02c583ca4d
Generate actions
2020-12-28 01:26:51 +01:00
Léo Lam
d9f6166ed0
tools: Deduplicate AI tool code
2020-12-27 00:59:37 +01:00
Léo Lam
60b457c522
Add script to rename Action virtual functions
...
Useful to keep function names synchronised between decomp, IDA and the
function CSV
2020-12-26 02:41:01 +01:00
Léo Lam
f98d3ee758
Generate stubs for queries
2020-12-22 01:50:49 +01:00
Léo Lam
a4ea87cb88
tools/util: Ignore unknown data symbols
2020-11-22 20:39:24 +01:00
Léo Lam
68c9ffeede
tools: Add support for data symbol checking for GOT entries
2020-11-11 17:31:52 +01:00
Léo Lam
96a8bb104e
tools: Read entire ELF ahead of time to reduce seek/read overhead
2020-11-11 13:54:01 +01:00
Léo Lam
7e7a76f926
tools: Print mismatch cause
...
Makes it easier to identify what's wrong.
2020-11-10 21:35:58 +01:00
Léo Lam
dc9b346d7e
tools: Add function call checking
2020-11-10 21:25:45 +01:00
Léo Lam
ce5ff17666
tools: Add script to automatically identify matches
...
Given a list L of functions to identify and a small list of
candidates C, this tool will attempt to automatically identify matches
by checking each function in L against each function in C.
Very slow, but this should work well enough for small lists.
2020-11-09 23:46:57 +01:00
Léo Lam
844db4220c
tools: Do not use a global capstone disassembler instance
...
Instead, use one instance per function checker.
2020-11-09 21:23:23 +01:00
Léo Lam
5d09d99b1b
tools: Deduplicate code
2020-11-09 19:16:37 +01:00