Language Features

PyModulefinder

Python stdlib module — modulefinder. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.AddPackagePath()Neutral
#
Signature
AddPackagePath(packagename, path)

AddPackagePath function.

.ReplacePackage()Neutral
#
Signature
ReplacePackage(oldname, newname)

ReplacePackage function.

.test()Neutral
#
Signature
test()

test function.

.Module()Neutral
#
Signature
Module(...)

Module class.

.ModuleFinder()Neutral
#
Signature
ModuleFinder(...)

ModuleFinder class.

Fully-Qualified Names

FQNField
modulefinderfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import modulefinder