mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
11 lines
177 B
Python
11 lines
177 B
Python
s = "taintedString"
|
|
|
|
if s.startswith("tainted"):
|
|
s2 = s # $SafeAccessCheck=s
|
|
pass
|
|
|
|
sw = s.startswith
|
|
if sw("safe"):
|
|
s2 = s # $ MISSING: SafeAccessCheck=s
|
|
pass
|