mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
11 lines
244 B
Plaintext
11 lines
244 B
Plaintext
import external.Thrift
|
|
|
|
from ThriftFunction t, string n, ThriftElement x
|
|
where
|
|
exists(int i | x = t.getArgument(i) and n = i.toString())
|
|
or
|
|
x = t.getAThrows() and n = "throws"
|
|
or
|
|
x = t.getReturnType() and n = "returns"
|
|
select t, n, x
|