From 57a3ea491d2d819ab5415d8d7bdf7e9e505808fc Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Sat, 25 Feb 2017 00:25:36 -0500 Subject: Add APIs to access SSA-based data flow --- binaryninjacore.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index f7fb2172..bb08c428 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2031,6 +2031,13 @@ extern "C" size_t* count); BINARYNINJACOREAPI size_t* BNGetLowLevelILSSAMemoryUses(BNLowLevelILFunction* func, size_t idx, size_t* count); + BINARYNINJACOREAPI BNRegisterValue BNGetLowLevelILSSARegisterValue(BNLowLevelILFunction* func, + uint32_t reg, size_t idx); + BINARYNINJACOREAPI BNRegisterValue BNGetLowLevelILSSAFlagValue(BNLowLevelILFunction* func, + uint32_t flag, size_t idx); + BINARYNINJACOREAPI BNRegisterValue BNGetLowLevelILSSAStackContents(BNLowLevelILFunction* func, + size_t memoryIndex, int64_t offset, size_t size); + // Types BINARYNINJACOREAPI BNType* BNCreateVoidType(void); BINARYNINJACOREAPI BNType* BNCreateBoolType(void); -- cgit v1.3.1