MCPcopy Create free account
hub / github.com/MhmRdd/NoHello / State

Class State

module/src/main/cpp/utils.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58std::optional<std::pair<dev_t, ino_t>> devinoby(const char* lib) {
59 struct State {
60 const char* needle;
61 std::optional<std::pair<dev_t, ino_t>> result;
62 } state = { lib };
63
64 dl_iterate_phdr([](struct dl_phdr_info* info, size_t, void* data) -> int {
65 auto* s = static_cast<State*>(data);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected