project: create a way to generate smatch_data for a new project
commit10f7b6ea2b1eaec2e9a6ec95de754098d0ac9ff9
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 May 2017 13:32:49 +0000 (10 16:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 May 2017 13:38:56 +0000 (10 16:38 +0300)
treeb17875b9e7b12a30f64394b3842406dbd02fae3f
parent27371176df11d58deaf746f947becc7cdb6f5a67
project: create a way to generate smatch_data for a new project

Edit the Makefile to set CC to cgcc then run
smatch_scripts/build_generic_info.sh

There are a bunch of other small changes to make this slightly cleaner.
One thing is that now we prefer smatch_data/ in the CWD if it exists
instead of the one that ships with the smatch binary.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch.c
smatch_data/db/remove_mixed_up_pointer_params.pl
smatch_project.c
smatch_scripts/build_generic_info.sh [new file with mode: 0755]
smatch_scripts/gen_no_return_funcs.sh
smatch_scripts/gen_sizeof_param.sh