From 56115aecf186bc720dae9a20cc4c6aef248ba07f Mon Sep 17 00:00:00 2001 From: Ryan Snyder Date: Fri, 24 May 2024 14:47:15 -0400 Subject: platform: initial BNCustomPlatform support --- binaryview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index 98124fe5..83ed3f3b 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1920,7 +1920,7 @@ Ref BinaryView::GetDefaultPlatform() const BNPlatform* platform = BNGetDefaultPlatform(m_object); if (!platform) return nullptr; - return new Platform(platform); + return new CorePlatform(platform); } @@ -4177,7 +4177,7 @@ std::optional, QualifiedName>> BinaryView::LookupImporte return std::nullopt; QualifiedName targetName = QualifiedName::FromAPIObject(&resultName); BNFreeQualifiedName(&resultName); - return std::make_pair(new Platform(resultLib), targetName); + return std::make_pair(new CorePlatform(resultLib), targetName); } -- cgit v1.3.1