From 590b594850ccd15b9e2cb2b0e8f3050d782647b3 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Tue, 3 Sep 2024 17:19:13 -0400 Subject: Ultimate. --- view/elf/elfview.cpp | 10 +++++----- view/macho/machoview.cpp | 4 ++-- view/md1rom/md1rom.cpp | 2 +- view/pe/peview.cpp | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'view') diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp index 801adf76..677f0b67 100644 --- a/view/elf/elfview.cpp +++ b/view/elf/elfview.cpp @@ -695,7 +695,7 @@ bool ElfView::Init() m_logger->LogError("Support for ELF architecture 'x86' is not present"); break; case 8: - #ifndef DEMO_VERSION + #ifndef DEMO_EDITION m_logger->LogError("Support for ELF architecture 'mips' is not present"); #else m_logger->LogError("Binary Ninja free does not support ELF architecture 'mips'. " @@ -703,7 +703,7 @@ bool ElfView::Init() #endif break; case 20: - #ifndef DEMO_VERSION + #ifndef DEMO_EDITION m_logger->LogError("Support for ELF architecture 'ppc' is not present"); #else m_logger->LogError("Binary Ninja free does not support ELF architecture 'ppc'. " @@ -711,7 +711,7 @@ bool ElfView::Init() #endif break; case 21: - #ifndef DEMO_VERSION + #ifndef DEMO_EDITION m_logger->LogError("Support for ELF architecture 'ppc64' is not present"); #else m_logger->LogError("Binary Ninja free does not support ELF architecture 'ppc64'. " @@ -725,7 +725,7 @@ bool ElfView::Init() m_logger->LogError("Support for ELF architecture 'x86_64' is not present"); break; case 183: - #ifndef DEMO_VERSION + #ifndef DEMO_EDITION m_logger->LogError("Support for ELF architecture 'arm64' is not present"); #else m_logger->LogError("Binary Ninja free does not support ELF architecture 'arm64'. " @@ -2888,7 +2888,7 @@ extern "C" { BN_DECLARE_CORE_ABI_VERSION -#ifdef DEMO_VERSION +#ifdef DEMO_EDITION bool ElfPluginInit() #else BINARYNINJAPLUGIN bool CorePluginInit() diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp index 9d854f7b..4859d73d 100644 --- a/view/macho/machoview.cpp +++ b/view/macho/machoview.cpp @@ -1767,7 +1767,7 @@ bool MachoView::InitializeHeader(MachOHeader& header, bool isMainHeader, uint64_ string archName = UniversalViewType::ArchitectureToString(m_archId, 0, is64Bit); if (!archName.empty()) { - #ifdef DEMO_VERSION + #ifdef DEMO_EDITION if ((archName == "arm64") /* MACHO_CPU_TYPE_ARM64 */ || (archName == "arm64v8") || (archName == "arm64e") @@ -3961,7 +3961,7 @@ extern "C" { BN_DECLARE_CORE_ABI_VERSION -#ifdef DEMO_VERSION +#ifdef DEMO_EDITION bool MachoPluginInit() #else BINARYNINJAPLUGIN bool CorePluginInit() diff --git a/view/md1rom/md1rom.cpp b/view/md1rom/md1rom.cpp index d7169eb3..3e8cb64c 100644 --- a/view/md1rom/md1rom.cpp +++ b/view/md1rom/md1rom.cpp @@ -444,7 +444,7 @@ extern "C" { BN_DECLARE_CORE_ABI_VERSION -#ifdef DEMO_VERSION +#ifdef DEMO_EDITION bool Md1RomPluginInit() #else BINARYNINJAPLUGIN bool CorePluginInit() diff --git a/view/pe/peview.cpp b/view/pe/peview.cpp index 98cef6ed..3ae26ea5 100644 --- a/view/pe/peview.cpp +++ b/view/pe/peview.cpp @@ -629,7 +629,7 @@ bool PEView::Init() m_logger->LogError("Support for PE architecture 'x86_64' is not present"); break; case 0xaa64: - #ifndef DEMO_VERSION + #ifndef DEMO_EDITION m_logger->LogError("Support for PE architecture 'arm64' is not present"); #else m_logger->LogError("Binary Ninja free does not support PE architecture 'arm64'. " @@ -3141,7 +3141,7 @@ extern "C" { BN_DECLARE_CORE_ABI_VERSION -#ifdef DEMO_VERSION +#ifdef DEMO_EDITION bool PEPluginInit() #else BINARYNINJAPLUGIN bool CorePluginInit() -- cgit v1.3.1