mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
9 lines
161 B
Python
9 lines
161 B
Python
s = "taintedString"
|
|
|
|
if s.startswith("tainted"): # $checks=s branch=true
|
|
pass
|
|
|
|
sw = s.startswith
|
|
if sw("safe"): # $ MISSING: checks=s branch=true
|
|
pass
|