summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-07-22 16:49:08 -0400
committerRusty Wagner <rusty@vector35.com>2020-07-22 16:49:08 -0400
commit630824de49fcde2f61701ac2019834bda079a341 (patch)
treeaca9478e264f15a897657e9df736c2b4b6dad44f /binaryninjacore.h
parentcf7851dee087e939ae10c0befe7ffa854885d41c (diff)
Expose C++ HLIL instruction comparison operators to Python
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 6a683bd5..7b09e7fa 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -3839,6 +3839,11 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI size_t BNGetHighLevelILExprIndexForLabel(BNHighLevelILFunction* func, uint64_t label);
BINARYNINJACOREAPI size_t* BNGetHighLevelILUsesForLabel(BNHighLevelILFunction* func, uint64_t label, size_t* count);
+ BINARYNINJACOREAPI bool BNHighLevelILExprLessThan(BNHighLevelILFunction* leftFunc, size_t leftExpr,
+ BNHighLevelILFunction* rightFunc, size_t rightExpr);
+ BINARYNINJACOREAPI bool BNHighLevelILExprEqual(BNHighLevelILFunction* leftFunc, size_t leftExpr,
+ BNHighLevelILFunction* rightFunc, size_t rightExpr);
+
// Type Libraries
BINARYNINJACOREAPI BNTypeLibrary* BNNewTypeLibrary(BNArchitecture* arch, const char* name);
BINARYNINJACOREAPI BNTypeLibrary* BNNewTypeLibraryReference(BNTypeLibrary* lib);