summaryrefslogtreecommitdiff
path: root/highlevelilinstruction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'highlevelilinstruction.cpp')
-rw-r--r--highlevelilinstruction.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/highlevelilinstruction.cpp b/highlevelilinstruction.cpp
index 964e1af9..6fe43618 100644
--- a/highlevelilinstruction.cpp
+++ b/highlevelilinstruction.cpp
@@ -1012,6 +1012,24 @@ void HighLevelILInstructionBase::ClearAttribute(BNILInstructionAttribute attribu
}
+std::optional<DerivedString> HighLevelILInstructionBase::GetDerivedStringReference() const
+{
+ return function->GetDerivedStringReferenceForExpr(exprIndex);
+}
+
+
+void HighLevelILInstructionBase::SetDerivedStringReference(const DerivedString& str)
+{
+ function->SetDerivedStringReferenceForExpr(exprIndex, str);
+}
+
+
+void HighLevelILInstructionBase::RemoveDerivedStringReference()
+{
+ function->RemoveDerivedStringReferenceForExpr(exprIndex);
+}
+
+
size_t HighLevelILInstructionBase::GetInstructionIndex() const
{
return function->GetInstructionForExpr(exprIndex);