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

Method FunctionOverlappingAddress

pcsx2/DebugTools/SymbolGuardian.cpp:138–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138FunctionInfo SymbolGuardian::FunctionOverlappingAddress(u32 address) const
139{
140 FunctionInfo info;
141 Read([&](const ccc::SymbolDatabase& database) {
142 const ccc::Function* function = database.functions.symbol_overlapping_address(address);
143 if (!function)
144 return;
145
146 info.handle = function->handle();
147 info.name = function->name();
148 info.address = function->address();
149 info.size = function->size();
150 info.is_no_return = function->is_no_return;
151 });
152 return info;
153}
154
155void SymbolGuardian::GenerateFunctionHashes(ccc::SymbolDatabase& database, MemoryInterface& reader)
156{

Callers 5

contextRenameFunctionMethod · 0.80
contextStubFunctionMethod · 0.80
FunctionCanRestoreMethod · 0.80
GuessEntryFunction · 0.80

Calls 6

addressMethod · 0.80
ReadFunction · 0.50
handleMethod · 0.45
nameMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected