mirror of
https://github.com/google/security-research
synced 2026-06-08 14:27:23 +00:00
7fd621c4fe
* remove anonymous structs Signed-off-by: Jordy Zomer <jordyzomer@google.com> * Result from 6.6 with syzkaller config. Signed-off-by: Jordy Zomer <jordyzomer@google.com> --------- Signed-off-by: Jordy Zomer <jordyzomer@google.com>
Description
This repository contains CodeQL utility queries designed to analyze the Linux kernel source code.
Queries
syscalls.ql
Identifies system calls within the Linux kernel codebase and extracts relevant parameters for each syscall.
Functions.ql
Identifies within the Linux kernel codebase and extracts their file, start-line and end-line.
Fields.ql
Identifies fields within the Linux kernel codebase and extracts their parent struct, their name, their type, their offset and if they might be interesting.
Run query
codeql query run $query -d=$database --threads=$(nproc) -o output.bqrs
Export results
codeql bqrs decode output.bqrs --format=csv > syscalls.csv
Note: in the results directory you will find some results of a previous run.