| 104 | } |
| 105 | |
| 106 | static 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" |
no test coverage detected