MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GuessEntry

Function GuessEntry

pcsx2/DebugTools/MipsStackWalk.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 const size_t MAX_DEPTH = 1024;
26
27 static u32 GuessEntry(DebugInterface* cpu, u32 pc)
28 {
29 FunctionInfo function = cpu->GetSymbolGuardian().FunctionOverlappingAddress(pc);
30 if (!function.address.valid())
31 return INVALIDTARGET;
32
33 return function.address.value;
34 }
35
36 bool IsSWInstr(const R5900::OPCODE& op)
37 {

Callers 1

WalkFunction · 0.85

Calls 2

validMethod · 0.45

Tested by

no test coverage detected