Python: Use more API graphs in TaintTrackingPrivate

But now we suddenly don't handle the call to `unicode` :O -- at least
not when I run the test locally (using Python 3).
This commit is contained in:
Rasmus Wriedt Larsen
2021-05-19 12:41:28 +02:00
parent a2e8417c11
commit aa8b7306a3
2 changed files with 5 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ def str_operations():
ts[0], # $ tainted
str(ts), # $ tainted
bytes(tb), # $ tainted
unicode(ts), # $ tainted
unicode(ts), # $ MISSING: tainted
)
aug_assignment = "safe"
@@ -104,7 +104,7 @@ def non_syntactic():
_str = str
ensure_tainted(
meth(), # $ MISSING: tainted
_str(ts), # $ MISSING: tainted
_str(ts), # $ tainted
)