Files
codeql/python/ql/test/library-tests/variables/scopes/free.ql
2020-03-30 11:59:10 +02:00

9 lines
207 B
Plaintext

import python
from LocalVariable v, Scope inner
where
v.escapes() and
inner = v.getAnAccess().getScope() and
inner != v.getScope()
select v.toString(), v.getScope().toString(), inner.toString()