cd7a2df127
This modifies the test performed in call_bad_names to use re.match, adds additional functions to the blacklist, and adds examples that trigger those new blacklist entries. It is an intial pass at addressing https://github.com/chair6/bandit/issues/6, but further changes will be required to clean this up, including separating configuration from test code.
11 lines
239 B
Python
11 lines
239 B
Python
import os
|
|
|
|
os.spawnl(mode, path)
|
|
os.spawnle(mode, path, env)
|
|
os.spawnlp(mode, file)
|
|
os.spawnlpe(mode, file, env)
|
|
os.spawnv(mode, path, args)
|
|
os.spawnve(mode, path, args, env)
|
|
os.spawnvp(mode, file, args)
|
|
os.spawnvpe(mode, file, args, env)
|