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

Method findSymbolAll

KittyMemoryEx/KittyScanner.cpp:1295–1315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293 EScanElfFilter filter)
1294#else
1295std::vector<std::pair<uintptr_t, ElfScanner>> ElfScannerMgr::findSymbolAll(const std::string &symbolName)
1296#endif
1297{
1298 std::vector<std::pair<uintptr_t, ElfScanner>> ret{};
1299
1300#ifdef __ANDROID__
1301 auto elfs = getAllELFs(type, filter);
1302#else
1303 auto elfs = getAllELFs();
1304#endif
1305 for (auto &it : elfs)
1306 {
1307 uintptr_t sym = it.findSymbol(symbolName);
1308 if (sym != 0)
1309 {
1310 ret.emplace_back(sym, it);
1311 }
1312 }
1313
1314 return ret;
1315}
1316
1317uintptr_t ElfScannerMgr::findRemoteSymbol(const std::string &local_sym_name, uintptr_t local_sym_addr)
1318{

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls 1

findSymbolMethod · 0.80

Tested by

no test coverage detected