MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / plausible_comm

Function plausible_comm

src/os/linux/process_list.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25bool plausible_comm(const std::string& comm) {
26 if (comm.empty() || comm.size() > 15) return false;
27 return std::all_of(comm.begin(), comm.end(), [](unsigned char c) {
28 return c >= 0x20 && c < 0x7f;
29 });
30}
31
32Offsets gather_offsets(const IsfSymbols& isf) {
33 Offsets o{};

Callers 1

fill_processFunction · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected