Files
google-security-research/analysis/kernel/util/Functions.ql
T
Jordy Zomer 69b5e32fe7 Add more queries that are useful for the dashboard. (#77)
* Add first util query that finds syscalls and their arguments.

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Add README for kernel dir and query to find interesting objects for
kernel heap exploitation.

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Fix superfluous `:`

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Rename directory

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Rename again so we can add more tools :)

Signed-off-by: Jordy Zomer <jordyzomer@google.com>

* Add queries to find fields and functions, used for the dashboard and
update results to linux-6.6 with the syzkaller
ci-upstream-kasan-gce-root config.

---------

Signed-off-by: Jordy Zomer <jordyzomer@google.com>
2024-01-22 13:38:17 +01:00

8 lines
282 B
Plaintext

import cpp
// Used for the dashboard to see which syzkaller repro's trigger this function
from Function fun
where not fun.getName().matches("%assert%")
select fun.getName(), fun.getLocation().getFile(), fun.getLocation().getStartLine(),
fun.getBlock().getLocation().getEndLine()