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

Method findSoInfo

KittyMemoryEx/KittyScanner.cpp:1569–1580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1567{
1568 if (!_pMem || local_sym_name.empty() || !local_sym_addr)
1569 return 0;
1570
1571 ElfScanner r_lib{};
1572 KittyMemoryEx::ProcMap l_lib{};
1573
1574 l_lib = KittyMemoryEx::getAddressMap(getpid(), local_sym_addr);
1575 if (l_lib.isValid())
1576 r_lib = findElf(l_lib.pathname);
1577
1578 if (!r_lib.isValid())
1579 {
1580 KITTY_LOGD("KittyInjector: Failed to find %s, remote lib not found.", local_sym_name.c_str());
1581 return 0;
1582 }
1583

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected