aboutsummaryrefslogtreecommitdiff
path: root/scripts/coccinelle
AgeCommit message (Expand)AuthorFilesLines
2022-03-21scripts/coccinelle: New use-g_new-etc.cocciMarkus Armbruster1-0/+75
2021-06-15softmmu/memory: Pass ram_flags to memory_region_init_ram_shared_nomigrate()David Hildenbrand1-4/+4
2021-01-08scripts/coccinelle: New script to remove unnecessary timer_del() callsPeter Maydell1-0/+18
2020-10-12qom: fix objects with improper parent typePaolo Bonzini1-0/+26
2020-07-24coccinelle/err-bad-newline: Fix for Python 3, and add patternsMarkus Armbruster1-2/+22
2020-07-10scripts: Coccinelle script to use ERRP_GUARD()Vladimir Sementsov-Ogievskiy1-0/+336
2020-04-04scripts/coccinelle: add error-use-after-free.cocciVladimir Sementsov-Ogievskiy1-0/+52
2020-03-17cpu: Use DeviceClass reset instead of a special CPUClass resetPeter Maydell1-0/+47
2020-03-17scripts/cocci: Patch to let devices own their MemoryRegionsPhilippe Mathieu-Daudé1-0/+56
2020-03-17scripts/cocci: Patch to remove unnecessary memory_region_set_readonly()Philippe Mathieu-Daudé1-0/+15
2020-03-17scripts/cocci: Patch to detect potential use of memory_region_init_romPhilippe Mathieu-Daudé1-0/+19
2020-03-17scripts/cocci: Patch to replace memory_region_init_{ram,readonly -> rom}Philippe Mathieu-Daudé1-0/+18
2020-03-17scripts/cocci: Rename memory-region-{init-ram -> housekeeping}Philippe Mathieu-Daudé1-0/+13
2020-02-20Avoid cpu_physical_memory_rw() with a constant is_write argumentPhilippe Mathieu-Daudé1-0/+12
2020-02-20Let cpu_[physical]_memory() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé1-0/+14
2020-02-20Avoid address_space_rw() with a constant is_write argumentPeter Maydell1-0/+13
2020-02-20Let address_space_rw() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé1-0/+12
2020-02-20Remove unnecessary cast when using the cpu_[physical]_memory APIPhilippe Mathieu-Daudé1-0/+10
2020-02-20Remove unnecessary cast when using the address_space APIPhilippe Mathieu-Daudé1-1/+14
2020-02-20hw/net: Avoid casting non-const pointer, use address_space_write()Philippe Mathieu-Daudé1-0/+14
2020-02-20hw: Remove unnecessary cast when calling dma_memory_read()Philippe Mathieu-Daudé1-0/+23
2018-11-19qemu-iotests: convert `pwd` and $(pwd) to $PWDMao Zhongyi1-1/+1
2018-10-19Use error_fatal to simplify obvious fatal errors (again)Markus Armbruster1-0/+20
2018-10-16coccinelle: new inplace-byteswaps.cocci to remove inplace-byteswapping callsPeter Maydell1-0/+65
2018-05-04qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau1-4/+4
2017-12-27target/*helper: don't check retaddr before calling cpu_restore_stateAlex Bennée1-0/+19
2017-11-17qapi/qlist: Add qlist_append_null() macroMax Reitz1-0/+3
2017-09-04qdict: Add qdict_put_null() helper, and put it to useMarc-André Lureau1-0/+3
2017-07-19coccinelle: add a script to optimize tcg op using tcg_gen_extract()Philippe Mathieu-Daudé1-0/+107
2017-07-14scripts/coccinelle/memory-region-init-ram.cocci: New scriptPeter Maydell1-0/+38
2017-07-12qobject: Update coccinelle script to catch Q{INC, DEC}REFEric Blake1-0/+6
2017-06-20qapi: merge QInt and QFloat in QNumMarc-André Lureau1-2/+2
2017-06-07coccinelle: fix typo in commentPhilippe Mathieu-Daudé1-1/+1
2017-05-08qobject: Add helper macros for common scalar insertionsEric Blake1-0/+22
2017-05-08coccinelle: Add script to remove useless QObject castsEric Blake1-0/+13
2016-09-15coccinelle: add a script to remove useless castsLaurent Vivier1-0/+7
2016-08-08error: Strip trailing '\n' from error string arguments (again)Markus Armbruster1-0/+29
2016-06-20coccinelle: Remove unnecessary variables for function return valueEduardo Habkost1-0/+19
2016-06-20error: Remove unnecessary local_err variablesEduardo Habkost1-0/+29
2016-06-20error: Remove NULL checks on error_propagate() callsEduardo Habkost1-0/+10
2016-06-07coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d))Laurent Vivier1-0/+19
2016-06-07scripts: add muldiv64() checking coccinelle scriptsLaurent Vivier4-0/+46