Skip to content

Commit 4e77062

Browse files
committed
Fix crash when opening aarch64 TE binary with free version
1 parent 6769870 commit 4e77062

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

view/pe/teview.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ bool TEView::Init()
263263
}
264264
}
265265

266+
if (!platform)
267+
{
268+
LogError("Platform not supported by this version of Binary Ninja");
269+
return false;
270+
}
271+
266272
m_arch = platform->GetArchitecture();
267273
if (!m_arch)
268274
{

0 commit comments

Comments
 (0)