diff options
Diffstat (limited to 'highlevelilinstruction.h')
| -rw-r--r-- | highlevelilinstruction.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/highlevelilinstruction.h b/highlevelilinstruction.h index 9be7d7c5..53a3c567 100644 --- a/highlevelilinstruction.h +++ b/highlevelilinstruction.h @@ -25,6 +25,7 @@ #include <vector> #ifdef BINARYNINJACORE_LIBRARY #include "variable.h" + #include "ilsourcelocation.h" #else #include "binaryninjaapi.h" #endif @@ -487,9 +488,10 @@ namespace BinaryNinja void VisitExprs(const std::function<bool(const HighLevelILInstruction& expr)>& preFunc, const std::function<void(const HighLevelILInstruction& expr)>& postFunc) const; - ExprId CopyTo(HighLevelILFunction* dest) const; + ExprId CopyTo(HighLevelILFunction* dest, const ILSourceLocation& sourceLocation = {}) const; ExprId CopyTo(HighLevelILFunction* dest, - const std::function<ExprId(const HighLevelILInstruction& subExpr)>& subExprHandler) const; + const std::function<ExprId(const HighLevelILInstruction& subExpr)>& subExprHandler, + const ILSourceLocation& sourceLocation = {}) const; bool operator<(const HighLevelILInstruction& other) const; bool operator==(const HighLevelILInstruction& other) const; |
