summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-07-13 18:43:34 -0400
committerRusty Wagner <rusty@vector35.com>2018-07-13 18:43:34 -0400
commitc5c93fc82b8929d04f62d241ca50228de60fa5f4 (patch)
treee9456e0921d0706ab839cf4ca96eba18afec96a4 /binaryninjacore.h
parentdfe5d28f0aaee75ccad8c733e23879676ed77c37 (diff)
Add ability to update custom flow graphs
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index a32d8364..9359ca0e 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -1778,6 +1778,7 @@ extern "C"
void (*prepareForLayout)(void* ctxt);
void (*populateNodes)(void* ctxt);
void (*completeLayout)(void* ctxt);
+ BNFlowGraph* (*update)(void* ctxt);
};
BINARYNINJACOREAPI char* BNAllocString(const char* contents);
@@ -2629,6 +2630,8 @@ extern "C"
BINARYNINJACOREAPI void BNFinishPrepareForLayout(BNFlowGraph* graph);
+ BINARYNINJACOREAPI BNFlowGraph* BNUpdateFlowGraph(BNFlowGraph* graph);
+
// Symbols
BINARYNINJACOREAPI BNSymbol* BNCreateSymbol(BNSymbolType type, const char* shortName, const char* fullName,
const char* rawName, uint64_t addr);