From 3799022f90d6ad4e2be05904e76917a372197dad Mon Sep 17 00:00:00 2001 From: Xusheng Date: Tue, 28 May 2024 14:25:28 +0800 Subject: [PATCH] Do not allow LLDB to do local debugging on Windows. Fix https://github.com/Vector35/debugger/issues/376 --- core/adapters/lldbadapter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/adapters/lldbadapter.cpp b/core/adapters/lldbadapter.cpp index a541207..397e31b 100644 --- a/core/adapters/lldbadapter.cpp +++ b/core/adapters/lldbadapter.cpp @@ -110,7 +110,7 @@ bool LldbAdapterType::CanConnect(BinaryNinja::BinaryView* data) bool LldbAdapterType::CanExecute(BinaryNinja::BinaryView* data) { - if (data->GetTypeName() == "PE" && data->GetDefaultArchitecture()->GetName() == "x86") + if (data->GetTypeName() == "PE") return false; return true;