summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
Commit message (Expand)AuthorAgeFilesLines
* scripts/coccinelle: New script to remove unnecessary timer_del() callsPeter Maydell2021-01-081-0/+18
* qom: fix objects with improper parent typePaolo Bonzini2020-10-121-0/+26
* coccinelle/err-bad-newline: Fix for Python 3, and add patternsMarkus Armbruster2020-07-241-2/+22
* scripts: Coccinelle script to use ERRP_GUARD()Vladimir Sementsov-Ogievskiy2020-07-101-0/+336
* scripts/coccinelle: add error-use-after-free.cocciVladimir Sementsov-Ogievskiy2020-04-041-0/+52
* cpu: Use DeviceClass reset instead of a special CPUClass resetPeter Maydell2020-03-181-0/+47
* scripts/cocci: Patch to let devices own their MemoryRegionsPhilippe Mathieu-Daudé2020-03-171-0/+56
* scripts/cocci: Patch to remove unnecessary memory_region_set_readonly()Philippe Mathieu-Daudé2020-03-171-0/+15
* scripts/cocci: Patch to detect potential use of memory_region_init_romPhilippe Mathieu-Daudé2020-03-171-0/+19
* scripts/cocci: Patch to replace memory_region_init_{ram,readonly -> rom}Philippe Mathieu-Daudé2020-03-171-0/+18
* scripts/cocci: Rename memory-region-{init-ram -> housekeeping}Philippe Mathieu-Daudé2020-03-171-0/+13
* Avoid cpu_physical_memory_rw() with a constant is_write argumentPhilippe Mathieu-Daudé2020-02-201-0/+12
* Let cpu_[physical]_memory() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé2020-02-201-0/+14
* Avoid address_space_rw() with a constant is_write argumentPeter Maydell2020-02-201-0/+13
* Let address_space_rw() calls pass a boolean 'is_write' argumentPhilippe Mathieu-Daudé2020-02-201-0/+12
* Remove unnecessary cast when using the cpu_[physical]_memory APIPhilippe Mathieu-Daudé2020-02-201-0/+10
* Remove unnecessary cast when using the address_space APIPhilippe Mathieu-Daudé2020-02-201-1/+14
* hw/net: Avoid casting non-const pointer, use address_space_write()Philippe Mathieu-Daudé2020-02-201-0/+14
* hw: Remove unnecessary cast when calling dma_memory_read()Philippe Mathieu-Daudé2020-02-201-0/+23
* qemu-iotests: convert `pwd` and $(pwd) to $PWDMao Zhongyi2018-11-191-1/+1
* Use error_fatal to simplify obvious fatal errors (again)Markus Armbruster2018-10-191-0/+20
* coccinelle: new inplace-byteswaps.cocci to remove inplace-byteswapping callsPeter Maydell2018-10-161-0/+65
* qobject: Replace qobject_incref/QINCREF qobject_decref/QDECREFMarc-André Lureau2018-05-041-4/+4
* target/*helper: don't check retaddr before calling cpu_restore_stateAlex Bennée2017-12-281-0/+19
* qapi/qlist: Add qlist_append_null() macroMax Reitz2017-11-171-0/+3
* qdict: Add qdict_put_null() helper, and put it to useMarc-André Lureau2017-09-041-0/+3
* coccinelle: add a script to optimize tcg op using tcg_gen_extract()Philippe Mathieu-Daudé2017-07-191-0/+107
* scripts/coccinelle/memory-region-init-ram.cocci: New scriptPeter Maydell2017-07-141-0/+38
* qobject: Update coccinelle script to catch Q{INC, DEC}REFEric Blake2017-07-121-0/+6
* qapi: merge QInt and QFloat in QNumMarc-André Lureau2017-06-201-2/+2
* coccinelle: fix typo in commentPhilippe Mathieu-Daudé2017-06-071-1/+1
* qobject: Add helper macros for common scalar insertionsEric Blake2017-05-081-0/+22
* coccinelle: Add script to remove useless QObject castsEric Blake2017-05-081-0/+13
* coccinelle: add a script to remove useless castsLaurent Vivier2016-09-151-0/+7
* error: Strip trailing '\n' from error string arguments (again)Markus Armbruster2016-08-081-0/+29
* coccinelle: Remove unnecessary variables for function return valueEduardo Habkost2016-06-201-0/+19
* error: Remove unnecessary local_err variablesEduardo Habkost2016-06-201-0/+29
* error: Remove NULL checks on error_propagate() callsEduardo Habkost2016-06-201-0/+10
* coccinelle: use macro DIV_ROUND_UP instead of (((n) + (d) - 1) /(d))Laurent Vivier2016-06-071-0/+19
* scripts: add muldiv64() checking coccinelle scriptsLaurent Vivier2016-06-074-0/+46