Commit graph

27 commits

Author SHA1 Message Date
Anton Kochkov
3278ec77d0
ci: use clang-format from LLVM 16 (#3696)
Co-authored-by: wargio <wargio@libero.it>
2023-08-01 09:11:26 +08:00
Giovanni
b943e1d05f
Ensure the concurrency job group is unique (#3538) 2023-05-30 17:55:08 +08:00
Giovanni
f03e1d5114
Automatically cancel any previous workflow on new push. (#3510) 2023-05-20 13:10:50 +08:00
rizan21
cc18d675e6 Use clang-format 15 instead of 14 2023-01-25 22:02:26 +08:00
Anton Kochkov
abeaf973ad
Update GitHub Actions setup due NodeJS 12 deprecation (#3158) 2022-11-05 07:59:19 +08:00
Khairul Azhar Kasmiran
b1fb418ca5
Upgrade non-rz-test CI to ubuntu-22.04 (#3062) 2022-10-04 23:04:42 +08:00
Dean
59b38e6efa
Add /*<type>*/ comments everywhere (#2986)
Adds /*<type>*/ comments and a linter check from rz-bindgen to enforce
their existence and consistency

Also includes the following fixes made when adding the annotations:
* removed unused intern_table arguments in pyc_dis.c, pyc_dis.h, asm_pyc.c
* removed unused classes argument from place_nodes in agraph.c
* removed unused recurse and recurse_bb functions in canalysis.c
* removed unused vars field from RzPrint struct
* removed unused RzAnalysisType* structs from rz_analysis.h
* removed unused list field from RzEgg struct
* fixed bug in bp_plugin.c where duplication-checking logic iterates over the wrong list
* removed unused q_regs field from RzDebug struct
* removed unused backtrace field from RzDebugPlugin struct
* removed unused classes_list field from RzBinNXOObj struct
* removed unused methods_list and classes_list fields from RzBinZimgObj struct
2022-09-11 13:04:53 +08:00
Khairul Azhar Kasmiran
8983944f1e
Fix path to meson on Mac (#2928) 2022-08-17 20:19:57 +08:00
Dhruv Maroo
2205f3623f
Use clang-format 14 instead of 13 (#2846) 2022-08-05 23:30:07 +05:30
Riccardo Schirone
6f40dfe493
Move remaining things from shlr/ to meson subprojects (#2126)
* Move binrz meson directives to binrz/ dir

* Move rizin-shell-parser to a subproject

* Move bochs to a meson subproject

* Move rzqnx to meson subproject

* Move winkd to a meson subproject

* Move rzar to a meson subproject

* Move rzw32dbg_wrap to a meson subproject

* Move ptrace-wrap to a meson subproject

* Move rzgdb to a meson subproject

* Rename w32dbg_wrap to rzw32dbg_wrap

* Update CODEOWNERS

* Remove old references to shlr

* Move shlr/heap stuff in core and remove shlr/arm

* Move spp to a meson subproject

* Remove last references to shlr

* Remove use_webui option

* Move include files directives to librz/include/meson.build

* Move librz meson directives into librz/meson.build

* Handle d/ directories inside the specific module meson.build

* Move plugins listing to specific module meson.build

* Move rzheap to its own subproject

* Fix js linter and licenses

* Use meson.override_dependency for all rz_ modules
2021-12-22 09:20:39 +08:00
Dhruv Maroo
17573c17df Use clang-format-13 for linting
* Update `linter.yml` to use `clang-format-13`
  * Update documentation for clang-format
2021-11-25 15:44:28 +08:00
Giovanni
ce88e7c5bc
Run push only on certain branches (#1905) 2021-10-30 12:23:54 +02:00
Riccardo Schirone
86f6fec835
Add rzshell_which script to look for the handler of a rzshell cmd (#1839)
* remove isort linter on CI
2021-10-19 15:43:11 +02:00
Anton Kochkov
aacd6421e6
Fix #683 - enable SPDX linter checks (#1578)
* Fix #683 - enable SPDX linter checks
* Add license to the last remaining file
2021-09-03 00:54:40 +08:00
Riccardo Schirone
d6319c0d2c
Few SPDX info addition and REUSE lint to CI (#1274)
* Download missing MS-PL license
* Missing copyrights + some licenses
* Add REUSE linter to CI
* Python linter fixes on cmd_descs_generate.py
* Remove unused MPL-1.1 license
* Use with in check_meson_subproject.py script
2021-07-07 16:09:57 +08:00
Florian Märkl
820615969a
Make clang-format.py call clang-format just once (#801) 2021-03-09 23:31:58 +08:00
Riccardo Schirone
66a0024c3d ci: adapt cmd_descs linter check to new layout 2021-02-25 10:19:13 +01:00
Riccardo Schirone
e09e77aa1b ci: detect changes to .yaml files as well 2021-02-25 10:19:13 +01:00
Alexis Ehret
8eae11ae4e Fix coding style python files (black, isort) 2021-02-15 10:24:46 +01:00
Alexis Ehret
d6b99195a5 Add workflow linter python 2021-02-15 10:24:46 +01:00
Alexis Ehret
7e10f714a4
Fix no git repository on master (CI) (#621) 2021-02-14 21:32:37 +01:00
Alexis Ehret
535a677f3f Add filter step for linter.yml 2021-02-13 20:36:29 +01:00
Alexis Ehret
82d1464f94 Add prettier - js coding style 2021-02-12 17:30:02 +01:00
Alexis Ehret
49e1874b09 Add flag diff sys/clang-format.py 2021-02-08 21:44:10 +01:00
Khairul Azhar Kasmiran
169d7e5bce
Rename clang_format GHA to clang-format (#520) 2021-02-04 19:49:39 +08:00
Alexis Ehret
81692416db Add worflow clang-format 2021-02-04 07:19:19 -01:00
Riccardo Schirone
9b65d35c61
Use cmd_descs_generate.py to update src dir and fallback if no PyYAML (#91) 2020-11-17 11:04:34 +01:00