lifting-bits / patchestry

Patchestry is a binary patching framework built with MLIR and Ghidra.
https://lifting-bits.github.io/patchestry/
Apache License 2.0
17 stars 3 forks source link

Add option to `decompile-headless.sh` to list all functions in binary #43

Closed xlauko closed 1 month ago

xlauko commented 1 month ago
### Tasks
- [ ] Add option `-l,--list-functions` to show all know functions in processed binary
- [ ] This will require another ghidra script `ListFunctions.java`.
- [ ] For clarity rename `PatchestryScript.java` to `DecompileFunction.java` and update docs where needed.
- [ ] If ghidra ends with `PatchestryScript.java> Function not found:` let user know what are the options.
- [ ] Add option to decompile all functions in a file.