MCPcopy Create free account
hub / github.com/Vector35/debugger / navigateToCurrentIP

Method navigateToCurrentIP

ui/ui.cpp:1040–1056  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038
1039
1040void DebuggerUI::navigateToCurrentIP()
1041{
1042 uint64_t address = m_controller->IP();
1043 uint64_t lastIp = m_controller->GetLastIP();
1044 if (address == lastIp)
1045 return;
1046
1047 BinaryViewRef liveView = m_controller->GetLiveView();
1048 if (!liveView)
1049 return;
1050
1051 auto functions = liveView->GetAnalysisFunctionsContainingAddress(address);
1052 if (functions.empty())
1053 liveView->CreateUserFunction(m_controller->GetLiveView()->GetDefaultPlatform(), address);
1054
1055 navigateDebugger(address);
1056}
1057
1058
1059void DebuggerUI::checkFocusDebuggerConsole()

Callers

nothing calls this directly

Calls 3

IPMethod · 0.45
GetLastIPMethod · 0.45
GetLiveViewMethod · 0.45

Tested by

no test coverage detected