summaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
authorAlexander Taylor <alex@vector35.com>2024-09-03 17:19:13 -0400
committerAlexander Taylor <alex@vector35.com>2024-09-13 10:52:48 -0400
commit590b594850ccd15b9e2cb2b0e8f3050d782647b3 (patch)
tree7d204faf40705c4f99918ecb7fca901dae0282c1 /view
parente610029c1425fdb791b3570a4397dffcad420111 (diff)
Ultimate.
Diffstat (limited to 'view')
-rw-r--r--view/elf/elfview.cpp10
-rw-r--r--view/macho/machoview.cpp4
-rw-r--r--view/md1rom/md1rom.cpp2
-rw-r--r--view/pe/peview.cpp4
4 files changed, 10 insertions, 10 deletions
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()