tor/scripts/coccinelle
Nick Mathewson a2bb66c355 Add a "COCCI" macro that we tell coccinelle is always defined.
This will let us give specific in-file equivalents to given macros
or preprocessor directives, to make things parse.
2019-10-22 09:24:25 -04:00
..
apply.sh Add a "COCCI" macro that we tell coccinelle is always defined. 2019-10-22 09:24:25 -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 document test-operator-cleanup 2019-10-22 09:24:25 -04:00
tor-coccinelle.h tor-coccinelle.h: handle NS and NS_DECL. 2019-10-22 09:24:25 -04:00
try_parse.sh Add a "COCCI" macro that we tell coccinelle is always defined. 2019-10-22 09:24:25 -04:00
uncalloc.cocci Add coccinelle script to remove pointless callocs 2014-09-16 11:11:17 -04:00