From ad05dd2072917e2487dcd34dbc249b2a0efac589 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Mon, 25 Jan 2016 15:16:43 -0500 Subject: Initial implementation of platform ABI classes --- function.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'function.cpp') diff --git a/function.cpp b/function.cpp index c1367ad6..9c8968b7 100644 --- a/function.cpp +++ b/function.cpp @@ -15,6 +15,12 @@ Function::~Function() } +Ref Function::GetPlatform() const +{ + return new Platform(BNGetFunctionPlatform(m_func)); +} + + Ref Function::GetArchitecture() const { return new CoreArchitecture(BNGetFunctionArchitecture(m_func)); -- cgit v1.3.1