From 3fc101f475a763a09d779f119dcbec3185a472a0 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 28 Jul 2015 01:09:04 -0400 Subject: Initial implementation of type info --- function.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'function.cpp') diff --git a/function.cpp b/function.cpp index 45b29752..89b2dfbb 100644 --- a/function.cpp +++ b/function.cpp @@ -99,6 +99,12 @@ vector> Function::GetLowLevelILBasicBlocks() const } +Ref Function::GetType() const +{ + return new Type(BNGetFunctionType(m_func)); +} + + Ref Function::CreateFunctionGraph() { BNFunctionGraph* graph = BNCreateFunctionGraph(m_func); -- cgit v1.3.1