summaryrefslogtreecommitdiff
path: root/python/examples/README.md
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2016-04-11 11:55:14 -0400
committerJordan Wiens <jordan@psifertex.com>2016-04-11 11:55:14 -0400
commit716a5c3e5e7af964665e4e2b952d3ee874dcc0f8 (patch)
tree62e9239a7c301a601957de4621900444ffd7c571 /python/examples/README.md
parent69aafc8c09174ebf9bba399831261e0c08ef71fc (diff)
adding readme, arm-syscall, bin-info, and breakpoint plugins
Diffstat (limited to 'python/examples/README.md')
-rw-r--r--python/examples/README.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/python/examples/README.md b/python/examples/README.md
new file mode 100644
index 00000000..4ad4ac03
--- /dev/null
+++ b/python/examples/README.md
@@ -0,0 +1,39 @@
+# Binary Ninja Python API Examples
+
+The following examples demonstrate the Binary Ninja API. They include both stand-alone examples that directly call into the core, as well as examples meant to be loaded as plugins.
+
+## Stand-alone
+
+* bin-info.py - general binary information
+* arm-syscall.py - extract syscall numbers from IL for arm Mach-O files
+
+To use the stand-alone Python examples, make sure your `PYTHON_PATH` includes the API, like:
+
+```
+PYTHONPATH=$PYTHONPATH:/Applications/Binary\ Ninja.app/Contents/Resources/python
+```
+
+## GUI Plugins
+
+* nes.py - 6502 CPU architecture including LLIL lifting and `.NES` file format parser
+* breakpoint.py - small example showing how to modify a file and register a GUI menu item
+
+Plugins are meant to be loaded into a running Binary Ninja GUI and should either be copied or symlinked into the appropriate plugin folder. You'll need to then re-start Binary Ninja.
+
+### OSX
+
+```
+~/Library/Application Support/Binary Ninja/plugins
+```
+
+### Windows
+
+```
+%APPDATA%\Binary Ninja\plugins
+```
+
+### Linux
+
+```
+~/.binaryninja/plugins
+```