Python stdlib module — linecache. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.getline()Neutralgetline(filename, lineno, module_globals)
Get a line for a Python source file from the cache.
.getlines()Neutralgetlines(filename, module_globals)
Get the lines for a Python source file from the cache.
.lazycache()Neutrallazycache(filename, module_globals)
Seed the cache for filename with module_globals.
.updatecache()Neutralupdatecache(filename, module_globals)
Update a cache entry and return its list of lines.
| FQN | Field | |
|---|---|---|
| linecache | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import linecache