MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / is_valid_function_name

Function is_valid_function_name

pythonmemorymodule/pefile.py:2287–2292  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

2285
2286@lru_cache(maxsize=2048)
2287def is_valid_function_name(s):
2288 return (
2289 s is not None
2290 and isinstance(s, (str, bytes, bytearray))
2291 and all(c in allowed_function_name for c in set(s))
2292 )
2293
2294
2295class PE:

Callers 2

parse_importsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected