MCPcopy Create free account
hub / github.com/Inori/GPCS4 / GetCurrentInstrumentedAddress

Method GetCurrentInstrumentedAddress

3rdParty/tinydbr/tinydbr.cpp:196–199  ·  view source on GitHub ↗

gets the current code address in the instrumented code in the child process

Source from the content-addressed store, hash-verified

194// gets the current code address in the instrumented code
195// *in the child process*
196size_t TinyDBR::GetCurrentInstrumentedAddress(ModuleInfo* module)
197{
198 return (size_t)module->instrumented_code_remote + module->instrumented_code_allocated;
199}
200
201// Writes the modified code from the debugger process into the target process
202void TinyDBR::CommitCode(ModuleInfo* module, size_t start_offset, size_t size)

Callers 7

JmpAddressMethod · 0.80
TranslateJmpMethod · 0.80
HandleBasicBlockEndMethod · 0.80
WriteHandlerMethod · 0.80
WriteFunctionTableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected