diff options
| author | Rusty Wagner <rusty@vector35.com> | 2015-07-28 01:09:04 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2015-07-28 01:09:04 -0400 |
| commit | 3fc101f475a763a09d779f119dcbec3185a472a0 (patch) | |
| tree | 8705deb4f6745a7a29571a51df4c19691204c24b /function.cpp | |
| parent | 37bc7f679b870b169726e746b75e573db1f3e268 (diff) | |
Initial implementation of type info
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 45b29752..89b2dfbb 100644 --- a/function.cpp +++ b/function.cpp @@ -99,6 +99,12 @@ vector<Ref<BasicBlock>> Function::GetLowLevelILBasicBlocks() const } +Ref<Type> Function::GetType() const +{ + return new Type(BNGetFunctionType(m_func)); +} + + Ref<FunctionGraph> Function::CreateFunctionGraph() { BNFunctionGraph* graph = BNCreateFunctionGraph(m_func); |
