From 741fb0538e0ac6ab14928f78697196803dbd2ed5 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 19 Dec 2019 16:04:11 -0500 Subject: LLIL_JUMP_TO/MLIL_JUMP_TO now contain mappings from address to destination instruction --- binaryninjaapi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c4911697..b4b9a602 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -3468,7 +3468,7 @@ __attribute__ ((format (printf, 1, 2))) ExprId LowPart(size_t size, ExprId a, uint32_t flags = 0, const ILSourceLocation& loc = ILSourceLocation()); ExprId Jump(ExprId dest, const ILSourceLocation& loc = ILSourceLocation()); - ExprId JumpTo(ExprId dest, const std::vector& targets, + ExprId JumpTo(ExprId dest, const std::map& targets, const ILSourceLocation& loc = ILSourceLocation()); ExprId Call(ExprId dest, const ILSourceLocation& loc = ILSourceLocation()); ExprId CallStackAdjust(ExprId dest, int64_t adjust, const std::map& regStackAdjust, @@ -3562,7 +3562,7 @@ __attribute__ ((format (printf, 1, 2))) void MarkLabel(BNLowLevelILLabel& label); std::vector GetOperandList(ExprId i, size_t listOperand); - ExprId AddLabelList(const std::vector& labels); + ExprId AddLabelMap(const std::map& labels); ExprId AddOperandList(const std::vector operands); ExprId AddIndexList(const std::vector operands); ExprId AddRegisterOrFlagList(const std::vector& regs); @@ -3792,7 +3792,7 @@ __attribute__ ((format (printf, 1, 2))) ExprId ZeroExtend(size_t size, ExprId src, const ILSourceLocation& loc = ILSourceLocation()); ExprId LowPart(size_t size, ExprId src, const ILSourceLocation& loc = ILSourceLocation()); ExprId Jump(ExprId dest, const ILSourceLocation& loc = ILSourceLocation()); - ExprId JumpTo(ExprId dest, const std::vector& targets, + ExprId JumpTo(ExprId dest, const std::map& targets, const ILSourceLocation& loc = ILSourceLocation()); ExprId ReturnHint(ExprId dest, const ILSourceLocation& loc = ILSourceLocation()); ExprId Call(const std::vector& output, ExprId dest, const std::vector& params, @@ -3897,7 +3897,7 @@ __attribute__ ((format (printf, 1, 2))) ExprId AddInstruction(ExprId expr); std::vector GetOperandList(ExprId i, size_t listOperand); - ExprId AddLabelList(const std::vector& labels); + ExprId AddLabelMap(const std::map& labels); ExprId AddOperandList(const std::vector operands); ExprId AddIndexList(const std::vector& operands); ExprId AddVariableList(const std::vector& vars); -- cgit v1.3.1