From 5ccef726c0954116f8f4b5d6347e0acdbb0b6ce3 Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Tue, 27 Jan 2026 11:26:57 -0500 Subject: Perform function lifting and inlining in arch plugins This change allows architecture plugins to override the LiftFunction callback to iterate a function's basic block list and lift entire functions at once. This is required for architectures such as TMS320 C6x, which have non-traditional "delay slots" in that branches, loads, and other instructions take multiple cycles to complete, and branch instructions can reside within the delay slots of other branches. --- defaultabb/plugin.cpp | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 defaultabb/plugin.cpp (limited to 'defaultabb/plugin.cpp') diff --git a/defaultabb/plugin.cpp b/defaultabb/plugin.cpp deleted file mode 100644 index 917a03ee..00000000 --- a/defaultabb/plugin.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include "binaryninjaapi.h" -#include "binaryninjacore.h" - -using namespace BinaryNinja; - -extern "C" { - BN_DECLARE_CORE_ABI_VERSION - BINARYNINJAPLUGIN bool CorePluginInit() - { - return BNArchitectureSetDefaultAnalyzeBasicBlocksCallback((void *)Architecture::DefaultAnalyzeBasicBlocksCallback); - } -} -- cgit v1.3.1