aboutsummaryrefslogtreecommitdiff
path: root/scripts/coccinelle
AgeCommit message (Expand)Author
2020-07-10scripts: Coccinelle script to use ERRP_GUARD()Vladimir Sementsov-Ogievskiy
2020-04-04scripts/coccinelle: add error-use-after-free.cocciVladimir Sementsov-Ogievskiy
2020-03-17cpu: Use DeviceClass reset instead of a special CPUClass resetPeter Maydell
2020-03-17scripts/cocci: Patch to let devices own their MemoryRegionsPhilippe Mathieu-Daudé
2020-03-17scripts/cocci: Patch to remove unnecessary memory_region_set_readonly()Philippe Mathieu-Daudé
2020-03-17scripts/cocci: Patch to detect potential use of memory_region_init_romPhilippe Mathieu-Daudé
2020-03-17scripts/cocci: Patch to replace memory_region_init_{ram,readonly -> rom}Philippe Mathieu-Daudé
2020-03-17scripts/cocci: Rename memory-region-{init-ram -> housekeeping}Philippe Mathieu-Daudé
2020-02-20Avoid cpu_physical_memory_rw() with a constant is_write argumentPhilippe Mathieu-Daudé
2020-02-20Let cpu_[physical]_memory() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé
2020-02-20Avoid address_space_rw() with a constant is_write argumentPeter Maydell
2020-02-20Let address_space_rw() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé
2020-02-20Remove unnecessary cast when using the cpu_[physical]_memory APIPhilippe Mathieu-Daudé
2020-02-20Remove unnecessary cast when using the address_space APIPhilippe Mathieu-Daudé
2020-02-20hw/net: Avoid casting non-const pointer, use address_space_write()Philippe Mathieu-Daudé
2020-02-20hw: Remove unnecessary cast when calling dma_memory_read()Philippe Mathieu-Daudé
2018-11-19qemu-iotests: convert `pwd` and $(pwd) to $PWDMao Zhongyi
2018-10-19Use error_fatal to simplify obvious fatal errors (again)Markus Armbruster
2018-10-16coccinelle: new inplace-byteswaps.cocci to remove inplace-byteswapping callsPeter Maydell
2018-05-04qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau
2017-12-27target/*helper: don't check retaddr before calling cpu_restore_stateAlex Bennée
2017-11-17qapi/qlist: Add qlist_append_null() macroMax Reitz
2017-09-04qdict: Add qdict_put_null() helper, and put it to useMarc-André Lureau
2017-07-19coccinelle: add a script to optimize tcg op using tcg_gen_extract()Philippe Mathieu-Daudé
2017-07-14scripts/coccinelle/memory-region-init-ram.cocci: New scriptPeter Maydell
2017-07-12qobject: Update coccinelle script to catch Q{INC, DEC}REFEric Blake
2017-06-20qapi: merge QInt and QFloat in QNumMarc-André Lureau
2017-06-07coccinelle: fix typo in commentPhilippe Mathieu-Daudé
2017-05-08qobject: Add helper macros for common scalar insertionsEric Blake
2017-05-08coccinelle: Add script to remove useless QObject castsEric Blake
2016-09-15coccinelle: add a script to remove useless castsLaurent Vivier
2016-08-08error: Strip trailing '\n' from error string arguments (again)Markus Armbruster
2016-06-20coccinelle: Remove unnecessary variables for function return valueEduardo Habkost
2016-06-20error: Remove unnecessary local_err variablesEduardo Habkost
2016-06-20error: Remove NULL checks on error_propagate() callsEduardo Habkost
2016-06-07coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d))Laurent Vivier
2016-06-07scripts: add muldiv64() checking coccinelle scriptsLaurent Vivier