| 453 | } |
| 454 | |
| 455 | remote_addr_t |
| 456 | AbstractProcessManager::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 | |
| 473 | remote_addr_t |
| 474 | AbstractProcessManager::scanHeap() const |