MCPcopy Create free account
hub / github.com/beefytech/Beef / GetSourcePC

Method GetSourcePC

IDEHelper/WinDebugger.h:226–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 }
225
226 addr_target GetSourcePC()
227 {
228 // 'PC' is return address of call in these cases, so subtract 1 for cases where
229 // we want to bring it back into the calling block range (note that this doesn't
230 // properly determine the actual starting address of the call instruction, though)
231 if ((!mIsStart) && (!mInInlineCall))
232 return mRegisters.GetPC() - 1;
233 return mRegisters.GetPC();
234 }
235};
236
237typedef WdStackFrame CPUStackFrame;

Callers 10

GetAutoLocalsMethod · 0.80
UpdateCallStackMethodMethod · 0.80
GetStackFrameInfoMethod · 0.80
EvaluateLocationMethod · 0.80
EvaluateLocationMethod · 0.80
GetAutoLocalsInBlockMethod · 0.80
GetValueByNameInBlockMethod · 0.80

Calls 1

GetPCMethod · 0.45

Tested by

no test coverage detected