diff options
| author | Ryan Snyder <ryan@vector35.com> | 2024-05-24 14:47:15 -0400 |
|---|---|---|
| committer | Ryan Snyder <ryan@vector35.com> | 2024-05-24 17:14:46 -0400 |
| commit | 56115aecf186bc720dae9a20cc4c6aef248ba07f (patch) | |
| tree | 1754beaa4e8601be328de689c0f6dc9d05851b35 /binaryview.cpp | |
| parent | 74920c190c5c6230833be6d50536119ce5e44c98 (diff) | |
platform: initial BNCustomPlatform support
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 98124fe5..83ed3f3b 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1920,7 +1920,7 @@ Ref<Platform> 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<std::pair<Ref<Platform>, 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); } |
