summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2020-02-07 21:02:12 -0500
committerRusty Wagner <rusty@vector35.com>2020-04-17 14:20:40 -0400
commit1a73fb21cea559e8da2cabb43176b0f183a937ee (patch)
tree61b2ef1d07c66447011c7fcfaec24d9b3b82134a /binaryninjaapi.h
parent3d5a45d8bcc7f11f89b9da6cf63be95f6d8a2a52 (diff)
Add HLIL instructions for variable declarations
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index ea74a466..4339ad6f 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -4066,6 +4066,11 @@ __attribute__ ((format (printf, 1, 2)))
ExprId NoReturn(const ILSourceLocation& loc = ILSourceLocation());
ExprId Goto(size_t target, const ILSourceLocation& loc = ILSourceLocation());
ExprId Label(size_t target, const ILSourceLocation& loc = ILSourceLocation());
+ ExprId VarDeclare(const Variable& var, const ILSourceLocation& loc = ILSourceLocation());
+ ExprId VarInit(size_t size, const Variable& dest, ExprId src,
+ const ILSourceLocation& loc = ILSourceLocation());
+ ExprId VarInitSSA(size_t size, const SSAVariable& dest, ExprId src,
+ const ILSourceLocation& loc = ILSourceLocation());
ExprId Assign(size_t size, ExprId dest, ExprId src, const ILSourceLocation& loc = ILSourceLocation());
ExprId AssignUnpack(const std::vector<ExprId>& output, ExprId src,
const ILSourceLocation& loc = ILSourceLocation());