summaryrefslogtreecommitdiff
path: root/function.cpp
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2023-01-03 14:29:32 -0500
committerkat <kat@vector35.com>2023-02-20 13:23:31 -0500
commitfcfa33a14fc309984880b535b9f9b4fcfc316466 (patch)
tree0d2b1c62e9939d357a508a446f440541709625e4 /function.cpp
parent982d90f20e400c7fe7b254eee31fe7eca4e11c2c (diff)
Allow DataVariables to be added to Components
Diffstat (limited to 'function.cpp')
-rw-r--r--function.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/function.cpp b/function.cpp
index 04318393..c9314968 100644
--- a/function.cpp
+++ b/function.cpp
@@ -1512,24 +1512,6 @@ set<SSAVariable> Function::GetHighLevelILSSAVariablesIfAvailable()
}
-std::vector<Ref<Component>> Function::GetParentComponents() const
-{
- std::vector<Ref<Component>> components;
-
- size_t count;
- BNComponent** list = BNGetFunctionParentComponents(m_object, &count);
-
- components.reserve(count);
- for (size_t i = 0; i < count; i++)
- {
- Ref<Component> component = new Component(list[i]);
- components.push_back(component);
- }
-
- return components;
-}
-
-
void Function::CreateAutoVariable(
const Variable& var, const Confidence<Ref<Type>>& type, const string& name, bool ignoreDisjointUses)
{