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

Method allSoInfo

KittyMemoryEx/KittyScanner.cpp:1544–1567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1542 EScanElfFilter filter)
1543#else
1544std::vector<std::pair<uintptr_t, ElfScanner>> ElfScannerMgr::findSymbolAll(const std::string &symbolName)
1545#endif
1546{
1547 std::vector<std::pair<uintptr_t, ElfScanner>> ret{};
1548
1549#ifdef __ANDROID__
1550 auto elfs = getAllELFs(type, filter);
1551#else
1552 auto elfs = getAllELFs();
1553#endif
1554 for (auto &it : elfs)
1555 {
1556 uintptr_t sym = it.findSymbol(symbolName);
1557 if (sym != 0)
1558 {
1559 ret.emplace_back(sym, it);
1560 }
1561 }
1562
1563 return ret;
1564}
1565
1566uintptr_t ElfScannerMgr::findRemoteSymbol(const std::string &local_sym_name, uintptr_t local_sym_addr)
1567{
1568 if (!_pMem || local_sym_name.empty() || !local_sym_addr)
1569 return 0;
1570

Callers 1

mainFunction · 0.80

Calls 4

getAllMapsFunction · 0.85
getAddressMapFunction · 0.85
ReadMethod · 0.80
processIDMethod · 0.45

Tested by

no test coverage detected