MCPcopy Create free account
hub / github.com/MJx0/KittyMemoryEx / LinkerScannerMgr

Method LinkerScannerMgr

KittyMemoryEx/KittyScanner.cpp:1345–1356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343 const bool isSysFilter = filter == EScanElfFilter::System;
1344#endif
1345
1346 auto maps = KittyMemoryEx::getAllMaps(_pMem->processID());
1347 if (maps.empty())
1348 {
1349 KITTY_LOGD("GetAllELFs: Failed to get process maps.");
1350 return elfs;
1351 }
1352
1353 unsigned long lastElfNode = 0;
1354
1355 for (auto &it : maps)
1356 {
1357#ifdef __LP64__
1358 if (it.startAddress >= (0x7fffffffffff - 0x1000))
1359 continue;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected