From d6c63268eb98fb0801d1c825e1aa4f72c1e1d99c Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 15 May 2017 23:58:48 -0400 Subject: Adding a constant expression with pointer hint for improved types --- lowlevelil.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lowlevelil.cpp') diff --git a/lowlevelil.cpp b/lowlevelil.cpp index ffb447ab..178d3709 100644 --- a/lowlevelil.cpp +++ b/lowlevelil.cpp @@ -152,6 +152,12 @@ ExprId LowLevelILFunction::Const(size_t size, uint64_t val) } +ExprId LowLevelILFunction::ConstPointer(size_t size, uint64_t val) +{ + return AddExpr(LLIL_CONST_PTR, size, 0, val); +} + + ExprId LowLevelILFunction::Flag(uint32_t reg) { return AddExpr(LLIL_FLAG, 0, 0, reg); -- cgit v1.3.1