diff options
| author | Josh Ferrell <josh@vector35.com> | 2025-04-17 17:42:08 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2025-04-17 17:45:53 -0400 |
| commit | 4e77062b6ddc38f59a5239f4e20bfa59026506ab (patch) | |
| tree | 915001562c51ad8f10bb79171e1930340f86564f /view/pe | |
| parent | 6769870863027693679119152863982393639882 (diff) | |
Fix crash when opening aarch64 TE binary with free version
Diffstat (limited to 'view/pe')
| -rw-r--r-- | view/pe/teview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/view/pe/teview.cpp b/view/pe/teview.cpp index e5fb2a1b..d7ac7a9c 100644 --- a/view/pe/teview.cpp +++ b/view/pe/teview.cpp @@ -263,6 +263,12 @@ bool TEView::Init() } } + if (!platform) + { + LogError("Platform not supported by this version of Binary Ninja"); + return false; + } + m_arch = platform->GetArchitecture(); if (!m_arch) { |
