Commit graph

272 commits

Author SHA1 Message Date
Rot127
b16471fa53
Remove Capstone 3 (fix CS 4 & 5) (#3934)
* Remove macros checking for CS_API_VERSION 3

* Remove CS 3 from meson_options and subprojects.

* Remove Capstone v3 from CI

* Remove CS_API_VERSION >= 4 checks since always true from now on.

* Add CSv5 workflow to CI.

* Handle ARM pre v6 build errors.

* Fix PPC build errors for CS < v6

* Fix correct macro name

* Remove wrong include.

* Fix fallthrough warning

* Fix getter macros for WB and post-fix flags.

* Fix faulty macro name

* Check for all float extensions for vabs.

* Add return to assert cases.

* Update cs to 46154e8605aaefdcca5fecf4ea88b92db5a40ad3

* Remove cs3 wrap file.

---------

Co-authored-by: wargio <wargio@libero.it>
2023-10-25 18:30:15 +08:00
Riccardo Schirone
19dbb57739 ci: switch to softprops/action-gh-release 2023-10-11 10:01:40 +02:00
Anton Kochkov
71679b0800
Fix CI build 2023-09-26 08:03:54 +08:00
Dhruv Maroo
714c338e0f
Remove designated array initializers in rz_analysis.h (#3876)
* Do not use designater array initializer because MSVC complains
* Add new Appveyor CI test for including C headers from C++ files

    * Need to test whether Rizin headers can be included in C++ when
      using MSVC, needed for Cutter to build successfully
    * Changed the name of `build-cpp` CI job in GitHUb jobs to
      `build-cpp-linux` to make it obvious that it only performs the
      test for Linux
2023-09-26 07:36:40 +08:00
Anton Kochkov
833c59c6eb
Pin Meson to 0.61.5 for old CentOS and Debian (#3887) 2023-09-25 20:29:43 +08:00
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
Anton Kochkov
b30cd7fc83
Update TinyCC CI job (#3683) 2023-07-21 17:10:25 +08:00
yossizap
4aadd18f7e Set the default capstone version to v5 instead of v4
Co-authored-by: wargio <wargio@libero.it>
2023-07-16 13:22:47 +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
Riccardo Schirone
8d4c12cf9a Add CI job for testing EXTRA_PREFIX 2023-05-19 16:42:35 +02:00
Anton Kochkov
8ef2d9a6ad Fix Debian Stretch builds 2023-04-26 20:01:47 +08:00
Anton Kochkov
d2de771c3d Use meson setup <dir> instead of meson <dir> 2023-04-26 20:01:47 +08:00
Riccardo Schirone
beedbfc5a1 ci: use default llvm/clang for rz-bindgen task 2023-04-22 21:48:46 +08:00
Anton Kochkov
4c7408a15a Fix Debian Jessie builds 2023-03-27 00:21:26 +08:00
Riccardo Schirone
fb71f36859
doc: add release issue template (#3386) 2023-03-10 08:39:55 +00:00
ajakk
2f9ceb6367
CI: install system capstone dependencies (#3388)
Signed-off-by: John Helmert III <ajak@gentoo.org>
2023-02-21 08:16:39 +08:00
ajakk
2315646570
CI: fix system capstone meson flag (#3383)
Signed-off-by: John Helmert III <ajak@gentoo.org>
2023-02-20 06:52:02 +08:00
John Helmert III
cebd2f3200 CI: add build for building with system capstone
Signed-off-by: John Helmert III <ajak@gentoo.org>
2023-02-20 00:01:15 +08:00
Riccardo Schirone
497c2b2e05
Remove old bash-based rz-pm (#3360) 2023-02-07 18:26:38 +08:00
Riccardo Schirone
c61dd6f7c6
CI: env vars on windows work differently (#3354) 2023-02-06 13:19:54 +08:00
Anton Kochkov
438b56e166
Remove use of deprecated set-output in GHA (#3346) 2023-02-05 18:06:53 +08:00
rizan21
cc18d675e6 Use clang-format 15 instead of 14 2023-01-25 22:02:26 +08:00
Riccardo Schirone
30f4d77088
ci: add CI for rz-bindgen (#3285) 2023-01-17 07:02:15 +08:00
Anton Kochkov
8ec9529a09
Enable trivial-auto-var-init and unsigned-char GCC flags (#3232) 2022-12-17 15:27:15 +08:00
Khairul Azhar Kasmiran
85d41f5f34
Run debug tests on Ubuntu 20.04 (#3235) 2022-12-10 14:32:41 +08:00
Khairul Azhar Kasmiran
111e912b99
Drop container from gcc-11 ASAN build (#3234) 2022-12-08 09:29:10 +08:00
Khairul Azhar Kasmiran
ea858e6078
Upgrade rz-test CI to ubuntu-22.04 (#3066) 2022-12-04 13:20:12 +08:00
Anton Kochkov
b1f24d5cf3
Fix rz-pipe.go building on CI (#3185)
Co-authored-by: Khairul Azhar Kasmiran <kazarmy@gmail.com>
2022-12-02 20:48:17 +08:00
Khairul Azhar Kasmiran
25c1624f28
For gcc, use ${CC} when setting ASAN_LD_PRELOAD (#3217) 2022-12-01 23:43:42 +08:00
Anton Kochkov
1bda1b573d
Fix old Debian CI builds (#3201)
* Fix old Debian CI builds

* Update GitHub Actions to address NodeJS 12 deprecation
2022-11-24 18:06:12 +08:00
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