mirror of
https://github.com/qemu/qemu.git
synced 2025-11-01 05:42:59 +00:00
Add script to find and fix trivial use-after-free of Error objects. How to use: spatch --sp-file scripts/coccinelle/error-use-after-free.cocci \ --macro-file scripts/cocci-macro-file.h --in-place \ --no-show-diff ( FILES... | --use-gitgrep . ) Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20200324153630.11882-2-vsementsov@virtuozzo.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> [Pastos in commit message and comment fixed, globbing in MAINTAINERS expanded] Signed-off-by: Markus Armbruster <armbru@redhat.com> |
||
|---|---|---|
| .. | ||
| cpu_restore_state.cocci | ||
| cpu-reset.cocci | ||
| err-bad-newline.cocci | ||
| error_propagate_null.cocci | ||
| error-use-after-free.cocci | ||
| exec_rw_const.cocci | ||
| inplace-byteswaps.cocci | ||
| memory-region-housekeeping.cocci | ||
| overflow_muldiv64.cocci | ||
| qobject.cocci | ||
| remove_local_err.cocci | ||
| remove_muldiv64.cocci | ||
| return_directly.cocci | ||
| round.cocci | ||
| simplify_muldiv64.cocci | ||
| swap_muldiv64.cocci | ||
| tcg_gen_extract.cocci | ||
| typecast.cocci | ||
| use-error_fatal.cocci | ||