Commit graph

241 commits

Author SHA1 Message Date
Anton Kochkov
32b97e9117
Update TinyCC commit in GitHub Actions (#3162) 2022-11-07 06:58:28 +08:00
Anton Kochkov
996986dba1
Update GitHub Docker Action due deprecations (#3161) 2022-11-06 12:56:33 +08:00
Anton Kochkov
abeaf973ad
Update GitHub Actions setup due NodeJS 12 deprecation (#3158) 2022-11-05 07:59:19 +08:00
wargio
5955ced7d7 Export Py3.11 2022-11-02 23:56:36 +01:00
wargio
fc2eb3f439 Add checksum to pkgconfiglite to install package via choco 2022-11-01 10:58:16 +08:00
Riccardo Schirone
bd8d23179c ci: fix rz-pipe-{go,python} installs 2022-10-06 11:49:26 +02:00
Riccardo Schirone
34d2cde22d ci: build portable Windows
Before this patch only the vs2019_static Windows build was compiled in
portable mode, however the Windows installer that is part of the release
is based on the clang_cl build. That meant a user installing Rizin on
Windows would get wrong paths when doing `rizin -H`, as those paths
would reference the CI user paths.
2022-10-06 11:49:26 +02:00
Khairul Azhar Kasmiran
b1fb418ca5
Upgrade non-rz-test CI to ubuntu-22.04 (#3062) 2022-10-04 23:04:42 +08:00
Khairul Azhar Kasmiran
ed7a283b6f
Upgrade CI to macos-12 (#3057)
Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2022-10-02 08:53:00 +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
Anton Kochkov
7dda939146
Update Android NDK to the latest default platform (#3009)
* Update Android NDK to the `android33` platform
* Use `sed` to fix substitute env var in Meson cross file
2022-09-08 12:00:31 +08:00
Florian Märkl
06ee5e3aaf
Replace meson cmake module usage by plain configure_file() (#2948)
As due to https://github.com/mesonbuild/meson/issues/9702 we are not
using the expansion of @PACKAGE_INIT@ anyway, the cmake module provides
little additional value over a plain configure_file().
More importantly, by not using it, we get full support for muon, which
does not implement the cmake module yet.
2022-08-21 22:01:54 +08:00
Khairul Azhar Kasmiran
8983944f1e
Fix path to meson on Mac (#2928) 2022-08-17 20:19:57 +08:00
Anton Kochkov
d8cb8a3ba2
Use GCC 12.x instead of GCC 11.x on CI job (#2874)
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2022-08-14 19:45:09 +08:00
Dhruv Maroo
2205f3623f
Use clang-format 14 instead of 13 (#2846) 2022-08-05 23:30:07 +05:30
Khairul Azhar Kasmiran
2166230a9c
Show available memory in Linux ci.yml jobs (#2840) 2022-07-26 20:28:03 +08:00
Florian Märkl
91e48624b5 Add very basic debug tests for macOS
The system.privilege.taskport change in CI could also be simplified without
having to manually edit a plist.
2022-07-17 20:31:32 +02:00
Riccardo Schirone
8939fdbd7d
Use add_global_arguments instead of passing cflags/ldflags all around (#2812)
See also 66a0e22293/docs/TESTING_WITH_SANITIZERS.md (clang)
2022-07-17 21:33:51 +08:00
Anton Kochkov
9ef889400c Add Muon CI job 2022-07-07 18:08:57 +08:00
Giovanni
648882d544
Add libmspack and add idpx to extracts compressed pdb (#2728)
* Add libmspack, cabextract and add idpx to extracts compressed pdb
* Remove cabextract from CIs since it is not anymore required.
2022-06-27 23:52:07 +02:00
Riccardo Schirone
6f8aec2b3b
CI: install sigdb in static version of rizin (#2689)
* CI: install sigdb in static version of rizin
* RzCore: use bool2status whenever possible
* RzCore: add flirt.sigdb.load vars to select which signatures to load
* test: adjust testing to not consider system/home flirt db
* sign: use a RzSigDb structure instead of a raw list to store signatures
* sign: switch RzSigDb to use a hashtable and avoid duplicates
2022-06-23 10:29:46 +02:00
Anton Kochkov
eb0395494a Migrate CodeQL Action to version 2 2022-06-02 20:06:03 +08:00
Riccardo Schirone
7b56fb1a51 build: Release also windows shared builds 2022-05-25 16:52:03 +02:00
Anton Kochkov
6a46a4c640
Always run ASAN CI jobs 2022-04-13 01:00:26 +08:00
GustavoLCR
f0f0fc1689
Update PR labeler to use official GitHub action (#2525) 2022-04-09 12:35:30 +02:00
Anton Kochkov
f246d7bdc8
Skip debug tests on Alpine and CentOS (#2443) 2022-03-24 23:15:39 +08:00
Peiwei Hu
a0ea1f6f57
rz-test: support exclude directories (#2440) 2022-03-24 16:54:25 +08:00
Riccardo Schirone
d6f8e53735 Ensure that CI tests unit tests without testbins 2022-03-23 10:34:53 +01:00
Khairul Azhar Kasmiran
c4b35acc2e
Increase timeout of linux-gcc-tests-asan build to 2 hours (#2411) 2022-03-15 22:38:50 +08:00
Khairul Azhar Kasmiran
7ede9dfd39
Update libc6 and dbg.maps.count.after.map test (#2403)
* Update `dbg.maps.count.after.map` test
* `ci.yml`: Install latest version of libc6
* `tcc.yml`: Update libc
2022-03-12 19:11:22 +08:00
Khairul Azhar Kasmiran
92439869b8
Run tcc build even if only tests have changed in pr (#2404) 2022-03-12 08:43:08 +08:00
Dhruv Maroo
1532342358 Add --print-errorlogs flag meson test for Windows jobs 2022-03-06 16:54:44 +01:00
Anton Kochkov
5b38d04bfb
Use GitHub mirror for TinyC compiler (#2202) 2022-01-13 21:21:12 +01:00
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
Riccardo Schirone
47e1cb8335
Provide CMake config files for CMake projects (#2057)
* Remove wrong librz.pc.in file
* Add plugindir variable to .pc files to allow easy plugin configuration
* Add CMake config files to find Rizin in CMake projects
* Add CI jobs to check cmake files
* Provide workaround for mesonbuild/meson#9702
* Use .lib suffix and no prefix on MSVC to make CMake files work
* Disable cmake files on static libraries build
2021-12-17 09:16:25 +00:00
Giovanni
bda1e9cfca
Disable GPL code and Add RISC-V support via Capstone 5 (#2087)
* -Duse_gpl=false is supported by rizin and added riscv_cs for capstone v5
* Added GPL build workflow in CI
2021-12-11 13:30:01 +01:00
Khairul Azhar Kasmiran
d2f649d178
Add --werror to macos build (#2074) 2021-12-06 23:10:33 +08:00
Khairul Azhar Kasmiran
3ad79aaa8c
Update macos builds to macos-11 (#2064) 2021-12-04 21:10:23 +08:00
Khairul Azhar Kasmiran
ffc0b9cf74
Use --werror with Linux Clang builds (#2043) 2021-11-29 22:37:45 +08:00
Khairul Azhar Kasmiran
649f358d2e
Fix clang -Wabsolute-value warning + Trigger linux clang build on clang in branch name (#2042) 2021-11-28 20:03:56 +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
Khairul Azhar Kasmiran
11d9e5c995
asan builds: Get loc of asan so from env (#2024) 2021-11-25 00:05:48 +08:00
Surendrajat
c5fa5a2d5e
macOS: Update installer background (#1994) 2021-11-19 12:41:35 +01:00
Khairul Azhar Kasmiran
5d42d9d163
Support fuzz tests in asan clang build (#1990) 2021-11-18 00:13:16 +08:00
Khairul Azhar Kasmiran
906ece4211
Add asan build for clang (#1910) 2021-11-17 21:02:02 +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
Khairul Azhar Kasmiran
f98680aab4
Fix -Warray-bounds warnings in gcc-11 build (#1818) 2021-10-11 22:33:48 +08:00
Khairul Azhar Kasmiran
b80cadf756
Switch to ubuntu:hirsute for gcc-11 build (#1811) 2021-10-10 18:41:05 +02:00
Khairul Azhar Kasmiran
4995a22228
Add gcc-11 build to CI (#1802) 2021-10-07 17:07:06 +08:00