MCPcopy Create free account
hub / github.com/bloomberg/pystack / scanAllAnonymousMaps

Method scanAllAnonymousMaps

src/pystack/_pystack/process.cpp:455–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453}
454
455remote_addr_t
456AbstractProcessManager::scanAllAnonymousMaps() const
457{
458 LOG(INFO) << "Scanning all anonymous maps for PyInterpreterState";
459 for (auto& map : d_memory_maps) {
460 if (!map.Path().empty()) {
461 continue;
462 }
463 LOG(DEBUG) << std::hex << std::showbase
464 << "Attempting to locate PyInterpreterState in with map starting at " << map.Start();
465 remote_addr_t result = scanMemoryAreaForInterpreterState(map);
466 if (result != 0) {
467 return result;
468 }
469 }
470 return 0;
471}
472
473remote_addr_t
474AbstractProcessManager::scanHeap() const

Callers

nothing calls this directly

Calls 2

LOGClass · 0.85
StartMethod · 0.80

Tested by

no test coverage detected