Skip to content

Commit

Permalink
Misc formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare committed Jul 10, 2024
1 parent f6fd36a commit 789f8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/debuggercontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,8 @@ DebugStopReason DebuggerController::RunToAndWait(const std::vector<uint64_t>& re
bool DebuggerController::CreateDebuggerBinaryView()
{
BinaryViewRef data = GetData();
auto segment = data->GetSegmentAt(0);
m_zeroSegmentAddedByDebugger = segment == nullptr;
auto segment = data->GetSegmentAt(0);
m_zeroSegmentAddedByDebugger = segment == nullptr;
m_accessor = new DebuggerFileAccessor(data);
data->GetMemoryMap()->AddRemoteMemoryRegion("debugger", 0, m_accessor);
return true;
Expand Down
4 changes: 2 additions & 2 deletions core/debuggercontroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace BinaryNinjaDebugger {
// the binary view -- we will no longer need to track it ourselves
uint64_t m_viewStart;

// inline static std::vector<DbgRef<DebuggerController>> g_debuggerControllers;
// inline static std::vector<DbgRef<DebuggerController>> g_debuggerControllers;
static DbgRef<DebuggerController>* g_debuggerControllers;
static size_t g_controllerCount;

Expand Down Expand Up @@ -149,7 +149,7 @@ namespace BinaryNinjaDebugger {
std::string m_lastAdapterName;
std::string m_lastCommand;

bool m_zeroSegmentAddedByDebugger = false;
bool m_zeroSegmentAddedByDebugger = false;

void DetectLoadedModule();

Expand Down

0 comments on commit 789f8ca

Please sign in to comment.