summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2021-08-20 16:28:39 -0400
committerBrian Potchik <brian@vector35.com>2021-08-20 16:28:39 -0400
commit72d95afd2541fd8d463a853375f4f36993e7c099 (patch)
tree614bd36961a4f6d11e9e4744f1ac874eb3dcaa86 /binaryninjaapi.h
parentcc1e85a4a8b2001f9fd6cf91b93fb39abef3a0e2 (diff)
Workflows basic blocks and IL function analysis setters.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 59e920aa..7c595b69 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2296,8 +2296,10 @@ __attribute__ ((format (printf, 1, 2)))
NameAndType(const std::string& n, const Confidence<Ref<Type>>& t): name(n), type(t) {}
};
+ class Function;
class LowLevelILFunction;
class MediumLevelILFunction;
+ class HighLevelILFunction;
class FunctionRecognizer;
class CallingConvention;
class RelocationHandler;
@@ -3119,7 +3121,11 @@ __attribute__ ((format (printf, 1, 2)))
Ref<LowLevelILFunction> GetLowLevelILFunction();
Ref<MediumLevelILFunction> GetMediumLevelILFunction();
+ void SetBasicBlockList(std::vector<Ref<BasicBlock>> basicBlocks);
+ void SetLiftedILFunction(Ref<LowLevelILFunction> liftedIL);
void SetLowLevelILFunction(Ref<LowLevelILFunction> lowLevelIL);
+ void SetMediumLevelILFunction(Ref<MediumLevelILFunction> mediumLevelIL);
+ void SetHighLevelILFunction(Ref<HighLevelILFunction> highLevelIL);
bool Inform(const std::string& request);
@@ -3214,8 +3220,6 @@ __attribute__ ((format (printf, 1, 2)))
void SetGutterWidth(size_t width);
};
- class Function;
-
struct BasicBlockEdge
{
BNBranchType type;
@@ -3370,8 +3374,6 @@ __attribute__ ((format (printf, 1, 2)))
};
class FlowGraph;
- class MediumLevelILFunction;
- class HighLevelILFunction;
struct SSAVariable;
class Function: public CoreRefCountObject<BNFunction, BNNewFunctionReference, BNFreeFunction>