mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
9 lines
159 B
Python
9 lines
159 B
Python
s = "taintedString"
|
|
|
|
if s.startswith("tainted"): # $checks=s $branch=true
|
|
pass
|
|
|
|
sw = s.startswith # $f-:checks=s $f-:branch=true
|
|
if sw("safe"):
|
|
pass
|