trinity: Proof of concept to auto-generate trinity spec files
commit81e48d50010f2739557e39c22f43aec1005d77d3
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Nov 2018 18:13:52 +0000 (14 21:13 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Nov 2018 18:13:52 +0000 (14 21:13 +0300)
tree99bead2a62f88db26ea15038dd942fdc301bf007
parent0f707475560447a383bbd20cd2a6de508e3c927b
trinity: Proof of concept to auto-generate trinity spec files

Trinity is a system call fuzzer for the Linux kernel written by
Dave Jones.  I mentioned this in my talk at Linux Plumbers
Conference.  It's a proof of concept to show how someone could
use the information in the Smatch DB to auto generate the
Trinity spec file.

When you build the kernel --info then it generates
smatch_trinity_xxx files.  Then you run the
smatch_scripts/gen_trinity.sh and it creates a trinity_smatch.h
file that you can copy to the trinity tree.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_list.h
check_syscall_arg_type.c [new file with mode: 0644]
check_trinity_generator.c [new file with mode: 0644]
smatch.h
smatch_scripts/gen_trinity.sh [new file with mode: 0755]