summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-02-23 18:34:03 -0500
committerRusty Wagner <rusty@vector35.com>2017-02-23 18:34:03 -0500
commitdbe5606575f6b59b82eff2f9ab7b41990b57147e (patch)
treec940da5574655aaa9e792f0db256374eb17d7d32 /binaryninjaapi.h
parentc687ea8692ee553476280ee5b621e861b627fa80 (diff)
Instruction starts and SSA form are a property of IL functions
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 188471b3..9d81b198 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1887,7 +1887,6 @@ namespace BinaryNinja
void SetCommentForAddress(uint64_t addr, const std::string& comment);
Ref<LowLevelILFunction> GetLowLevelIL() const;
- Ref<LowLevelILFunction> GetLowLevelILSSAForm() const;
size_t GetLowLevelILForInstruction(Architecture* arch, uint64_t addr);
std::vector<size_t> GetLowLevelILExitsForInstruction(Architecture* arch, uint64_t addr);
RegisterValue GetRegisterValueAtInstruction(Architecture* arch, uint64_t addr, uint32_t reg);
@@ -2057,7 +2056,8 @@ namespace BinaryNinja
LowLevelILFunction(BNLowLevelILFunction* func);
uint64_t GetCurrentAddress() const;
- void SetCurrentAddress(uint64_t addr);
+ void SetCurrentAddress(Architecture* arch, uint64_t addr);
+ size_t GetInstructionStart(Architecture* arch, uint64_t addr);
void ClearIndirectBranches();
void SetIndirectBranches(const std::vector<ArchAndAddr>& branches);
@@ -2158,6 +2158,8 @@ namespace BinaryNinja
uint32_t GetTemporaryFlagCount();
std::vector<Ref<BasicBlock>> GetBasicBlocks() const;
+
+ Ref<LowLevelILFunction> GetSSAForm() const;
};
class FunctionRecognizer