From 585882cd807d052535054f9d7b20e4ff4da176a1 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 3 Mar 2026 13:22:53 -0500 Subject: add examples about triggering binexport headlessly --- docs/dev/batch.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/dev/batch.md') 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: -- cgit v1.3.1