tor/scripts/coccinelle
Nick Mathewson c6191983e9 Add a script to tell whether a file can be perfectly parsed by spatch
spatch can let us know whether a file has parsed "perfectly" or
not.  The more perfect it parses, the likelier any semantic patches
are to apply.  I've used this script to identify problem areas in
our code.
2019-09-11 18:44:10 -04:00
..
apply.sh Add a script to run spatch with appropriate arguments 2019-09-11 18:43:16 -04:00
calloc.cocci Add a rule to the calloc semantic patch for argument ordering. 2014-11-02 11:54:42 -05:00
ceil_div.cocci Add Coccinelle patch for detecing places where CEIL_DIV should be used. 2017-08-24 15:20:11 -04:00
ctrl-reply-cleanup.cocci Coccinelle scripts for control.c refactor 2019-04-30 13:18:46 -05:00
ctrl-reply.cocci Coccinelle scripts for control.c refactor 2019-04-30 13:18:46 -05:00
malloc_cast.cocci Add script to detect and remove unCish malloc-then-cast pattern 2014-09-16 10:57:00 -04:00
test_assert_int.cocci Add Coccinelle patch for replacing tt_assert() usage on integer types. 2017-08-24 15:21:43 -04:00
test_assert_null.cocci Add Coccinelle patch for replacing NULL/non-NULL tt_assert(). 2017-08-24 15:22:20 -04:00
test_assert_zero.cocci Add Coccinelle patch for replacing tt_assert(0) with tt_abort(). 2017-08-24 15:21:07 -04:00
test-operator-cleanup Add script for cleaning op operator usage in test files. 2017-08-24 15:19:11 -04:00
tor-coccinelle.h Coccinelle scripts for control.c refactor 2019-04-30 13:18:46 -05:00
try_parse.sh Add a script to tell whether a file can be perfectly parsed by spatch 2019-09-11 18:44:10 -04:00
uncalloc.cocci Add coccinelle script to remove pointless callocs 2014-09-16 11:11:17 -04:00