diff options
Diffstat (limited to 'function.cpp')
| -rw-r--r-- | function.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/function.cpp b/function.cpp index fc90a8d1..f8b84a8a 100644 --- a/function.cpp +++ b/function.cpp @@ -106,6 +106,12 @@ RegisterValue::RegisterValue(): state(UndeterminedValue), value(0), offset(0) } +bool RegisterValue::IsConstant() const +{ + return (state == ConstantValue) || (state == ConstantPointerValue); +} + + BNRegisterValue RegisterValue::ToAPIObject() { BNRegisterValue result; |
