diff options
| author | Xusheng <xusheng@vector35.com> | 2021-01-14 17:56:04 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2021-01-18 10:38:26 +0800 |
| commit | 2dd9e2408b9fdadea180a07f6df82eaa18ba07a6 (patch) | |
| tree | fac902fe1a0b8acc807a209363c4b1e7d091dd57 /function.cpp | |
| parent | b47c5a64e466d2322a7072a3fd1d11aff5cfab43 (diff) | |
expose Function::IsVariableUserDefinded()
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 d7345248..ed50b4df 100644 --- a/function.cpp +++ b/function.cpp @@ -1082,6 +1082,12 @@ void Function::DeleteUserVariable(const Variable& var) } +bool Function::IsVariableUserDefinded(const Variable& var) +{ + return BNIsVariableUserDefined(m_object, &var); +} + + Confidence<Ref<Type>> Function::GetVariableType(const Variable& var) { BNTypeWithConfidence type = BNGetVariableType(m_object, &var); |
