summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2024-03-11 16:53:54 -0400
committerBrian Potchik <brian@vector35.com>2024-03-11 16:53:54 -0400
commitc924e7f746f7f81fab1f35d8adc936dfba706b58 (patch)
tree7da3a365dc0c36fc9b0157b0b73449bac7004e92
parenta17853bb2082291306a04281cf672dc69f5fe7eb (diff)
Promote unsupported architecture messages to a popup dialog.
-rw-r--r--view/macho/machoview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp
index ed5f31b1..8a220515 100644
--- a/view/macho/machoview.cpp
+++ b/view/macho/machoview.cpp
@@ -1775,7 +1775,7 @@ bool MachoView::InitializeHeader(MachOHeader& header, bool isMainHeader, uint64_
|| (archName == "ppc64") /* MACHO_CPU_TYPE_POWERPC64 */
)
{
- m_logger->LogError(
+ m_logger->LogAlert(
"Binary Ninja free does not support Mach-O architecture '%s'. "
"Purchase Binary Ninja to unlock all features.",
archName.c_str());
@@ -1783,14 +1783,14 @@ bool MachoView::InitializeHeader(MachOHeader& header, bool isMainHeader, uint64_
}
#endif
- m_logger->LogError(
+ m_logger->LogAlert(
"Mach-O architecture '%s' is not explicitly supported. Try 'Open with Options' to manually select "
"a compatible architecture.",
archName.c_str());
}
else
{
- m_logger->LogError(
+ m_logger->LogAlert(
"Mach-O architecture 0x%x is not explicitly supported. Try 'Open with Options' to manually select "
"a compatible architecture.",
m_archId);