diff --git a/core/adapters/dbgengadapter.cpp b/core/adapters/dbgengadapter.cpp index 9ea3c74..705bed7 100644 --- a/core/adapters/dbgengadapter.cpp +++ b/core/adapters/dbgengadapter.cpp @@ -1574,7 +1574,7 @@ DebugAdapter* LocalDbgEngAdapterType::Create(BinaryNinja::BinaryView* data) bool LocalDbgEngAdapterType::IsValidForData(BinaryNinja::BinaryView* data) { - return data->GetTypeName() == "PE"; + return data->GetTypeName() == "PE" || data->GetTypeName() == "Raw"; } diff --git a/core/adapters/dbgengttdadapter.cpp b/core/adapters/dbgengttdadapter.cpp index 99b2b60..cb19657 100644 --- a/core/adapters/dbgengttdadapter.cpp +++ b/core/adapters/dbgengttdadapter.cpp @@ -260,7 +260,7 @@ DebugAdapter* DbgEngTTDAdapterType::Create(BinaryNinja::BinaryView* data) bool DbgEngTTDAdapterType::IsValidForData(BinaryNinja::BinaryView* data) { - return data->GetTypeName() == "PE"; + return data->GetTypeName() == "PE" || data->GetTypeName() == "Raw"; }