Skip to content

Commit

Permalink
Allow dbgeng to debug the taret when the opened view is a raw view
Browse files Browse the repository at this point in the history
  • Loading branch information
xusheng6 committed Jan 12, 2024
1 parent f5118a7 commit 8939309
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/adapters/dbgengadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}


Expand Down
2 changes: 1 addition & 1 deletion core/adapters/dbgengttdadapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}


Expand Down

0 comments on commit 8939309

Please sign in to comment.