Commit Graph

229 Commits

Author SHA1 Message Date
pancake
3e92c06758
Add 16GB pagefile for the windows ci ##build (#19652) 2022-02-01 08:44:19 +01:00
pancake
50bf4d5918
Simplify meson logic and use ole's PR to fix Windows ##build
* Kudos to @oleavr for reproducing, spotting and fixing the bug!
* Context https://github.com/mesonbuild/meson/pull/9918
2022-01-31 23:54:00 +01:00
pancake
d58e62e74c Fixes for w2019 (#19644) 2022-01-31 01:47:04 +01:00
Sergi Àlvarez i Capilla
715c4e0ff1 Fix warning 2022-01-28 16:24:41 +01:00
pancake
54b1fcd23c
Add CI job to verify builds with system-wide capstone ##build 2022-01-26 09:49:36 +01:00
Sergi Àlvarez i Capilla
57ec318c34 Fix path for cydia32 builds 2022-01-20 20:02:01 +01:00
pancake
5281f27aa5
Bring back the 32bit builds for Cydia ##build 2022-01-14 19:41:26 +01:00
Sergi Àlvarez i Capilla
1eaee48370 Initial implementation of the 'aafs' command ##analysis
* Find function entrypoints and creates a single basic block function
* Useful for fast initial analysis instead of aaa (30min vs 5s)
* Handy to get xrefs context in function boundaries
2021-12-23 18:58:38 +01:00
pancake
3aef52cae0 Fix issues in r2pm -i acr and the new compiler checks 2021-12-17 10:26:41 +01:00
pancake
aa7af78946 r21d sdk minimum abi compat is 16 2021-12-17 00:18:44 +01:00
pancake
d24bf5b654 More build fixes, googlefuzz integration, add r_asm_cpus() api via the wip 'al' command 2021-12-17 00:15:38 +01:00
pancake
ea2c017c3a
Use api9 for android-arm builds to bring back Kitkat support ##build 2021-12-16 18:24:35 +01:00
Sergi Àlvarez i Capilla
1499a9337f Fix last covs related to the py marshall code 2021-12-09 18:00:58 +01:00
Sergi Àlvarez i Capilla
58e59dbb0b Build for android with acr, meson doesnt seems to work 2021-12-09 12:43:40 +01:00
pancake
e6f2cd0b2a
Remove trailing spaces (#19460)
$ git grep ' $' | grep -v ^test/ | cut -d : -f 1 | sort -u > /tmp/trailing
$ for a in `cat /tmp/trailing` ; do sed -i -e 's/ *$//' $a ; done
2021-12-02 17:39:59 +01:00
pancake
4327d8322f
Bring back the mingw32 builds ##windows
* Massage conflicting function signatures spotted by mingw
* Fix the spp visibility issue
* Enable 32 and 64bit mingw builds in the CI
2021-11-28 22:10:51 +01:00
pancake
8b227868b8
Fix the windows CI workflows
* Use ninja -j2 in the CI, seems like there are less resources for windows
* Add windows configure+make+run CI workflow
* Use more join_paths()
2021-11-14 21:09:42 +01:00
pancake
a5d51af309
Don't use a broken version of ninja in the CI, just pick the last one 2021-11-14 00:14:35 +01:00
pancake
07a4b25adc Dont sync capstone all the time 2021-11-05 10:08:23 +01:00
Sergi Àlvarez i Capilla
6e43c6606f Add offline build CI job 2021-11-05 10:08:23 +01:00
pancake
9b1d09abdb Move windows CI jobs into a separate file 2021-11-03 00:27:37 +01:00
pancake
8cb61df4cb
Dont user latest meson because its broken :D ##build 2021-10-29 12:37:11 +02:00
pancake
4ac2eb65e0 Disable m1 builds for now as long as they look problematic to gh 2021-10-04 18:01:58 +02:00
pancake
a49e6ec403
Fix the w32 builds 2021-09-20 06:38:02 +02:00
pancake
4c4f26095b
Fix #19055 - w32/w64 windows artifacts filenames ##ci 2021-09-16 18:15:30 +02:00
pancake
100582388f Bring back the /MT for w32 in the CI 2021-09-15 00:35:42 +02:00
pancake
3160ee8441 Improve the Windows CI once again 2021-09-13 19:28:08 +02:00
pancake
581b5f1fd9
Add job to build r2 for the m1 macs ##build 2021-09-10 15:54:31 +02:00
pancake
d6f1160464
Use /MT on windows builds (requires meson flag) ##build (#19017) 2021-08-25 17:26:40 +02:00
pancake
99ec892a70 Aim to fix the iPhone SDK publication 2021-07-17 12:59:56 +02:00
pancake
e96ad23b60
More version ci stuff for ios and android (#18908) 2021-07-17 00:28:06 +02:00
pancake
988f70b1ea
Version the artifacts ##ci 2021-07-16 22:33:39 +02:00
pancake
b8a2dc7c33
Windows CI zip stuff with version (#18898) 2021-07-15 17:17:04 +02:00
pancake
190d809466 Use dynamic api resolution on windows builds for better portability ##windows
* Single implementation in r_util, used across io and debug
2021-06-21 23:09:14 +02:00
pancake
2e417ee938
Initial support for capstone-less compilations ##build 2021-06-21 17:48:00 +02:00
pancake
d3824bf0ce
Build and publish the ZIP with the WASI bins ##build (#18855) 2021-06-21 13:51:31 +02:00
pancake
7c14bac05b
Add initial support for building r2 on WASI ##build 2021-06-20 17:14:43 +02:00
Sergi Àlvarez i Capilla
79ab4435f2 Switch to ubuntu18, seems like gha is shipping them again 2021-06-05 11:35:31 +02:00
pancake
23ad9b50ee
Fix #12335 - ignore system-installed r2 includes ##build 2021-05-28 00:45:48 +02:00
pancake
c3953d64d6
Use gperf on anal/d and improve build and checks ##anal
* Add --without-gperf configure flag
* Update sdb to support gperf.foreach and faster ls.sort()
* Support cc and types sdb gperfs
* add r_str_newvf
* Honor HAVE_GPERF in more places
* Add CI job to build and test cmds with gperf
2021-05-20 00:22:20 +02:00
pancake
374037a4d2 Fix warnings 2021-05-18 19:34:23 +02:00
pancake
e92d170a3b
Add support for acr/musl-gcc static builds ##build 2021-05-14 21:34:21 +02:00
pancake
efeba1d15b
Fix --with-rpath and add CI tests (#18668) ##build 2021-05-09 19:57:11 +02:00
pancake
f4e64ac07e Rollback to ubuntu18 to get coverity bins to work again 2021-04-30 12:17:04 +02:00
pancake
d3738096a8 Use sysctl vsyscall=emulate to run coverity binaries 2021-04-29 18:10:40 +02:00
pancake
7546f34e57
Update sdb and use of SdbGperf in asm.d ##asm 2021-04-25 02:31:46 +02:00
pancake
2434c3ca74
Switch to Capstone5 as default ##asm (#18127)
* Add riscv for capstone5 in the meson
* Report capstone version in the asm plugins
* Many changes in the ppc analysis, seems like it's improved, (emulation quality and xrefs)
* Update all tests and report issues in capstone4 to upstream
* Fix-x86-16 test marked as broken as it needs better fix
2021-04-24 22:04:51 +02:00
pancake
e53ed0ab04 Use proper ascii quotes 2021-04-24 21:58:09 +02:00
pancake
0bba1059f8 Don’t treat warnings as errors in the macOS CI 2021-04-24 21:58:09 +02:00
pancake
cbc949c039 Remove tree-sitter and the r2-shell-parser ##shell
* Will be reimplemented soon with a new parser
* Simplifies and speedup the build
2021-04-24 21:58:09 +02:00
pancake
88c76bc0f1
Use debian stable to build the debian package instead of Ubuntu (#18595)
* GHA references https://github.com/actions/virtual-environments/issues/3111
2021-04-19 14:14:33 +02:00
pancake
639045efc5 Dont run debugger tests in ASAN mode and fix crash in snap.c 2021-03-15 12:26:09 +01:00
pancake
c11cd5c69b
Add R2R_SKIP_ASM env var handling in r2r ##test (#18462) 2021-03-15 01:31:08 +01:00
pancake
ee3afa01c9 Fix debian32 in CI ##build 2021-02-27 01:01:22 +01:00
pancake
1997994405 Remove unnecessary ci step 2021-02-22 13:19:38 +01:00
pancake
8be28cc949 Fix linux-static pub action ##ci 2021-02-14 02:41:34 +01:00
pancake
77cf15c2c3 Fixes to make the r2blob shine again ##build 2021-02-14 02:41:34 +01:00
pancake
ef8e3cb512 Make macos-ci green for now 2021-02-14 00:50:40 +01:00
pancake
9398ce4eb7 Add -Wno-unneeded-internal-declaration 2021-02-13 05:18:09 +01:00
pancake
054b5fa46a
Add 32bit Debian packaging and bonus CI fixes ##build 2021-02-13 05:09:30 +01:00
pancake
48d8fbdd96 Fix missing quote 2021-02-11 22:56:37 +01:00
pancake
ea6774b751 Enforce -std=gnu89 with -Werror instead of hacky regexes in tests 2021-02-11 18:19:06 +01:00
pancake
0ceafe426b Dist for macOS 2021-02-11 16:01:48 +01:00
pancake
3a262b31ea asan-fuzz skip archos tests 2021-02-03 23:55:00 +01:00
pancake
d2730a441c Relax asan ci 2021-02-01 02:47:43 +01:00
pancake
8cf1adfb27
Fix and comment the broken debugger tests after last gha update (#18317)
* Add R2R_SKIP_ARCHOS env var handling in r2r to fix TCC suite
2021-01-31 23:00:38 +01:00
pancake
f80c847376
Introduce w32 and w64 in the CI ##build 2021-01-31 00:40:40 +01:00
pancake
569f1f2fb0
Add Windows ZIP in the CI (#18310) ##build 2021-01-30 00:20:16 +01:00
pancake
27da0d4db9
Upload android-arm64 artifact and disable memleak checks in meson-asan testruns ##ci 2021-01-25 15:29:22 +01:00
pancake
36d63b46f6
Fixes for the android-ndk-installer script and the android-arm64 CI job (#18287)
Co-authored-by: pancake <pancake@nopcode.org>
2021-01-25 12:30:57 +01:00
pancake
85edbad0aa
Add WIP android-arm64 ACR build and other CI improvements ##ci
* Fix macos test
* Add cabextract for pdb tests
* Add android-ndk-installer script
* Using NDK r21d
2021-01-25 11:34:08 +01:00
pancake
778b5e041e Fix tcc in the CI, their latest GIT contains non-executable configure script 2021-01-24 19:45:05 +01:00
pancake
c3f7d0e1d1
Add CI test to ensure symlink reinstalls work (#18252) ##build 2021-01-22 00:52:12 +01:00
pancake
0dbc4ee537 Add missing files and remaining patches from import 2021-01-19 05:37:17 +01:00
Anton Kochkov
1a7a2d5bc4 Add Meson for static build 2021-01-19 05:37:17 +01:00
pancake
b433916b25 Fix android and ios artifact names 2021-01-18 11:15:04 +01:00
pancake
05399c5a45 macos-test doesnt needs meson 2021-01-13 10:37:39 +01:00
pancake
8f0016cc4c Dont detect leaks in the asan job and install r2pipe in brew ##ci 2021-01-13 10:29:33 +01:00
Liumeo
b0877cecb4
Fix macos r2pipe 2021-01-12 22:26:05 -05:00
pancake
76cd69ad66 Proper artifact naming and use more r_str_get to avoid some null derefs 2021-01-13 02:08:06 +01:00
pancake
5910d1891f Fix a couple of warnings for -Werror 2021-01-13 01:35:54 +01:00
pancake
af66a574ba Fix TCC CI and improve the rest of jobs ##ci 2021-01-13 01:28:10 +01:00
pancake
5a1fab355f Enable Android and Windows CI, also fix r2pipe test (python vs python3) 2021-01-12 15:02:37 +01:00
pancake
da89020969 Cflags in the yaml was not a good idea 2021-01-12 14:18:29 +01:00
pancake
1184610971
Fix the CI badge and fully rewrite all the workflows to make sense ##build
* Windows, Linux, Static, macOS, Android, iOS builds published for every commit
* Kept coverage, coverity, fuzzing tests, lgtm and -Werror jobs
* Kill the continuos, the over-engineered matrix and other empty or unnecessary tasks (250 vs 900LOC)
* Jobs TODO: fatmac, termux and rpm (centos) packages
2021-01-12 13:41:21 +01:00
pancake
658c6a0918
Create dist/ to hold all the distribution build files ##build (#18131) 2020-12-31 18:57:05 +01:00
pancake
4e0f0807d9
Forbid space builds with acr/make and add job to test them with meson/ninja ##build 2020-12-29 15:08:52 +01:00
Anton Kochkov
8290e502bb
Remove forgotten CI debug lines (#18018) 2020-12-11 10:22:42 +01:00
pancake
6693e33fb4
Bring back tcc support ##build (#17295)
* Fix TinyCC build ##build
* Jemalloc - fix TinyCC build ##build

Co-authored-by: pancake <pancake@nopcode.org>
Co-authored-by: Anton Kochkov <xvilka@gmail.com>
2020-12-11 09:42:12 +01:00
pancake
3bff6182ac
Simplify github issue/pr templates (#18009) 2020-12-08 23:51:17 +01:00
Anton Kochkov
8b3526b677 More verbose TCC tests 2020-12-04 16:30:53 +08:00
Anton Kochkov
58ac34cea5 Fix TCC CI job test dependencies 2020-11-27 12:37:11 +08:00
GustavoLCR
94b2d83004
Add option to log r2r test results and publish it in the CI (#17964) ##test 2020-11-24 03:43:41 +01:00
Anton Kochkov
06e74e1f1b Fix MacOS Meson GitHub Action 2020-11-19 12:21:32 +08:00
Anton Kochkov
e1623e189a Use Meson 0.55.3 2020-11-04 10:07:51 +08:00
Anton Kochkov
7bfe9d2960 Add MacOS Meson build job 2020-11-04 10:07:51 +08:00
Khairul Azhar Kasmiran
9c66a31a97
Add 6 minutes to cmd_aae timeout and skip aaa for swift_read fuzz test (#17805)
* Add 6 minutes to the cmd_aae test
* Skip aaa when doing swift_read fuzz test on asan
* Bump linux-meson-gcc-newshell-tests timeout to 60 minutes
2020-10-27 18:19:01 +08:00
Riccardo Schirone
81e487429f
Use -Wno-cpp to avoid errors on #warning (#17785) 2020-10-14 16:57:07 +08:00
Riccardo Schirone
741d22ed61
Use -Werror when building in CI (#17781) 2020-10-13 12:42:57 +02:00
pancake
aa7de006e6 Fix TinyCC build ##build 2020-09-27 13:33:26 +08:00