summaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorJordan Wiens <github@psifertex.com>2026-03-03 13:22:53 -0500
committerJordan Wiens <github@psifertex.com>2026-03-03 13:22:53 -0500
commit585882cd807d052535054f9d7b20e4ff4da176a1 (patch)
treeb8f5915ab1806f5bfc40205c344bc76ed419ec09 /docs/dev
parent47c90e940e7c3eb61c5a5a3a9702ebe7cd0ea27c (diff)
add examples about triggering binexport headlessly
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/batch.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/dev/batch.md b/docs/dev/batch.md
index ab7e1830..63772105 100644
--- a/docs/dev/batch.md
+++ b/docs/dev/batch.md
@@ -49,6 +49,15 @@ Note that we used the `load` method which lets you temporarily create a `bv` wit
bv.file.close() #close the file handle or else leak memory
```
+### Triggering Actions
+
+While you might associate actions with UI based actions in the product, many actions can be triggered headlessly. For example:
+
+```python
+cxt = PluginCommandContext(bv)
+PluginCommand.get_valid_list(cxt)['BinExport (Quick)'].execute(cxt)
+```
+
### Multiple files
Looks good! But what if we just want to parse basic headers or stop any major analysis from happening and scan multiple files quickly? We can use the `update_analysis` named parameter to prevent the usual linear sweep and recursive descent analysis from event occurring: