From 1a73fb21cea559e8da2cabb43176b0f183a937ee Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Fri, 7 Feb 2020 21:02:12 -0500 Subject: Add HLIL instructions for variable declarations --- binaryninjaapi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binaryninjaapi.h') 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& output, ExprId src, const ILSourceLocation& loc = ILSourceLocation()); -- cgit v1.3.1