Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
404d committed Apr 18, 2020
1 parent a31a42c commit 27f5012
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.mkd
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Binary Ninja Auto Utils
Auto Utils provides various helpers for automatically discovering features about a binary.

Some examples:

* Renaming of methods based on logging with method names
* That's it right now, sorry

## Examples

### Automatic symbol name discovery based on call args
In cases where you for example have a common logging function that will log the
caller's name using an argument passed to it, the plugin will be able to rename
the names of all callers based on the strings left in the binary.

Given an example binary with methods as shown below:

![Subroutines without clear or meaningful names](extras/discover_arg_before.png)

By running the "Analysis → Discover caller names by call parameters" action
while being inside the `log_msg` subroutine and providing it with the parameter
name `arg1`, the plugin will change the name of all callers to `log_msg` as such:

![Subroutines after call-argument name discovery](extras/discover_arg_after.png)
Binary file added extras/discover_arg_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extras/discover_arg_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 27f5012

Please sign in to comment.