summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-01-31 21:08:05 -0500
committerPeter LaFosse <peter@vector35.com>2018-03-23 17:10:06 -0400
commit736bd9358ec8c1cdd1c77025b10e576983c4001c (patch)
tree9c861eeabf5267bd0ef748bc0a259dbfe183685b /binaryninjaapi.h
parent55e92538f37be39d915fa395287ff67a4c7dfdfb (diff)
Allow intrinsics to write flags
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 9bdb0058..66c4b861 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -2678,7 +2678,8 @@ namespace BinaryNinja
ExprId BoolToInt(size_t size, ExprId a, const ILSourceLocation& loc = ILSourceLocation());
ExprId SystemCall(const ILSourceLocation& loc = ILSourceLocation());
ExprId Intrinsic(const std::vector<RegisterOrFlag>& outputs, uint32_t intrinsic,
- const std::vector<ExprId>& params, const ILSourceLocation& loc = ILSourceLocation());
+ const std::vector<ExprId>& params, uint32_t flags = 0,
+ const ILSourceLocation& loc = ILSourceLocation());
ExprId IntrinsicSSA(const std::vector<SSARegisterOrFlag>& outputs, uint32_t intrinsic,
const std::vector<ExprId>& params, const ILSourceLocation& loc = ILSourceLocation());
ExprId Breakpoint(const ILSourceLocation& loc = ILSourceLocation());