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

Function JumpToIPCallback

ui/ui.cpp:106–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106static void JumpToIPCallback(BinaryView* view, UIContext* context)
107{
108 auto controller = DebuggerController::GetController(view);
109 if (!controller)
110 return;
111
112 ViewFrame* frame = context->getCurrentViewFrame();
113 if (!frame)
114 return;
115
116 if (controller->GetLiveView())
117 frame->navigate(controller->GetLiveView(), controller->IP(), true, true);
118 else
119 frame->navigate(controller->GetData(), controller->IP(), true, true);
120}
121
122#ifdef WIN32
123 #include "msi.h"

Callers 1

SetupMenuMethod · 0.85

Calls 3

GetLiveViewMethod · 0.45
IPMethod · 0.45
GetDataMethod · 0.45

Tested by

no test coverage detected