Commit Graph

2081 Commits

Author SHA1 Message Date
pancake
80b71d656e Fix timeout bug in r2r when fd is closed ##crash 2024-09-30 23:51:45 +02:00
pancake
a7ac83d8d2 Use RSys.perror() in r2r 2024-09-27 09:21:28 +02:00
Ole André Vadla Ravnås
7db5912491 Revive binr/rules.mk for WASM builds ##build 2024-09-23 13:22:34 +02:00
Ole André Vadla Ravnås
50b54573c7 Omit -pie when building with Emscripten ##build
To avoid warnings, as it's not supported.
2024-09-23 13:22:34 +02:00
pancake
245779383e
Fix a 1 byte overflow in r2cmd and improve logic checks ##crash
Some checks failed
build / tarball (push) Failing after 0s
build / linux-static (push) Failing after 0s
build / check_abi_compatibility (push) Has been skipped
build / linux-acr-rpm-64 (push) Failing after 0s
build / linux-acr-deb (amd64) (push) Failing after 0s
build / linux-acr-deb (arm64, aarch64-linux-gnu) (push) Failing after 0s
build / linux-acr-deb (i386, multilib) (push) Failing after 0s
build / android-acr (16, arm) (push) Failing after 0s
build / android-acr (aarch64) (push) Failing after 0s
build / android-meson (x86_64) (push) Has been skipped
CI / linux-acr-oldlibsbug (push) Failing after 0s
CI / linux-nocs (push) Failing after 0s
CI / linux-acr-gperf (push) Failing after 0s
CI / linux-sys-capstone (push) Failing after 0s
CI / linux-acr-resymlink (push) Failing after 0s
CI / linux-test (push) Failing after 0s
CI / linux-static-meson (push) Failing after 0s
CI / linux-rpath (push) Failing after 0s
CI / linux-meson-spaces (push) Failing after 0s
CI / linux-tinyasan-fuzz (push) Failing after 0s
CI / linux-asan-fuzz (push) Failing after 0s
CI / w32-mingw (push) Failing after 0s
CI / w64-mingw (push) Failing after 0s
Code scanning - action / CodeQL-Build (push) Failing after 0s
Coverity Scan / latest (push) Failing after 0s
tcc / ubuntu-tcc-newabi (push) Failing after 0s
tcc / ubuntu-tcc-test (push) Failing after 0s
tcc / ubuntu-tcc-nodbg (push) Failing after 0s
tcc / r2pm-tcc (push) Failing after 0s
tcc / ubuntu-tcc-syslibs (push) Failing after 0s
2024-09-13 17:54:09 +02:00
pancake
7a120e6f17
Make rasm2 flags more coherent (-s,-S,-o,-O) ##tools 2024-09-05 16:21:11 +02:00
pancake
38a5664eed Add NEWABI and OLDABI bool fields for the testsuite ##r2r 2024-08-31 16:04:30 +02:00
Sylvain Pelissier
5af81cfc1e
Display the correct number of jobs ##tests 2024-08-12 15:22:10 +02:00
pancake
6057b59693 Fix 'r2pm -r false' because exit(system("false")) is a lie ##shell 2024-08-06 18:16:52 +02:00
satk0
060d976412
Replace other r_return_* uses and update DEVELOPERS.md ##refactor 2024-08-05 13:31:58 +02:00
meme
f6585839ee
Also compile for WASI reactor ##build 2024-07-24 19:51:44 +02:00
pancake
8c723d1df8 Run the json tests when loading no files in r2 ##tests 2024-06-12 15:24:31 +02:00
pancake
f98a9b7559 Fix null deref in dbtj ##crash 2024-06-12 14:32:16 +02:00
pancake
79283d8f4c Empty strings cant be considered valid json ##tests 2024-06-12 14:32:16 +02:00
pancake
edba38d799
Add r2r -H and honor R2R_JOBS as an env replacement for -j ##tests 2024-05-22 23:11:13 +02:00
pancake
95f82cc578 Fix sys/static.sh 2024-04-29 23:35:50 +02:00
pancake
993b9894f9 Fix ragg2 -d and -D on big endian host 2024-04-26 17:25:12 +02:00
kyufie
bdfe499255 Fix concurrency issue (improves 71f57c6c) ##test 2024-04-20 09:19:35 +02:00
kyufie
71f57c6cfc Fix concurrency issue ##test 2024-04-18 08:18:15 +02:00
pancake
275e16719a
Fix #22745 - Fix Android static builds and autodetect NDK on Ubuntu ##build 2024-03-25 19:23:57 +01:00
pancake
f1d94b0e59 Fix r2 symlink because lldb won't resolve them more than once 2024-03-25 19:11:35 +01:00
condret
fdc26071e8 some refactoring of the RThread thing 2024-02-23 18:47:27 +01:00
Armin Weihbold
1d92509b1a
Fix running arch/debug specific tests in r2r ##tests
Mark failing tests as broken
Mark tests that timeout as NORUN
Include bits in testfolder names
Update CI to upload results.json
2023-12-24 12:18:07 +01:00
pancake
0b9ddfde68 Implement the NORUN directive for r2r ##tests 2023-12-22 00:43:42 +01:00
Richard Patel
15b9924e75 Fix archos detection on AIX ##port 2023-12-07 08:51:52 +01:00
pancake
f2c8b12c1a Fix static linking on macOS ##build 2023-11-22 00:59:27 +01:00
pancake
871d3436c4 Verbose R2_ARGS for debugging purposes ##shell 2023-11-19 17:03:54 +01:00
Sylvain Pelissier
55e292681e
Load plugins when running extra tests ##r2r
Co-authored-by: Sylvain Pelissier <sylvain.pelissier@kudelskisecurity.com>
2023-10-04 10:34:11 +02:00
pancake
cfccd3d92d Add R2R_TIMEOUT env for r2r and use it from the CI ##r2r 2023-09-12 23:50:29 +02:00
pancake
4c3d3da744 Bring back the r2 -Lj, and fix -LLj ##shell 2023-09-08 17:22:00 +02:00
pancake
bfb7aa143c
Add 'F' in r2r to fix all tests, fix fgets usage ##tests 2023-08-26 03:28:46 +02:00
Francesco Tamagni
78241be338 Implement ENV directive for r2r ##tests
ENV contains a ;-separated list of K=V env variable definitions to use
for the single test.
2023-08-20 05:15:06 +02:00
pancake
5b0b9d09a9 Implement R2_ARGS as it was done for rabin2 and rarun2
* TODO: Unify all this logic into a single function
2023-08-18 14:14:36 +02:00
pancake
7dda1e97d9 Implement R2_ARGS environment ##tools 2023-08-18 14:07:24 +02:00
pancake
8b550d2c5b Handle RARUN2_ARGS env var in rarun2 ##tools 2023-08-18 13:29:16 +02:00
pancake
4746c14fd4 Implement they REPEAT directive for r2r ##tests 2023-08-18 12:30:20 +02:00
pancake
46a676b37d
Fix cd test/db/cmd && r2r . ##tests 2023-08-15 16:29:58 +02:00
pancake
ee029bcb28 Fix R2R_OFFLINE behaviour 2023-06-29 23:46:48 +02:00
pancake
f9719a4ee1 Document R2R_OFFLINE ##tests 2023-06-29 23:46:48 +02:00
pancake
ddc3c2daee Fix return code when running r2r against .c files ##tests 2023-06-29 22:46:51 +02:00
pancake
67cc72d66d Add missing error code checks in chdir calls ##r2r 2023-06-15 18:19:32 +02:00
pancake
264682931b Accept .c files as argument to r2r ##tests 2023-06-14 19:35:12 +02:00
pancake
d2b9ba276f RFile.path() returns NULL if not found ##util
* This helps to simplify the caller's code and reduce logic
2023-06-08 18:44:52 +02:00
pancake
b13e834aa8 Implement r2pm -t for timeless packages ##r2pm 2023-06-07 18:55:32 +02:00
pancake
c2153e9a2a Implement rax2 -rS and update manpage ##tools 2023-05-23 20:05:52 +02:00
pancake
4ee3727c05 Implement r2r -g to run the tests associated with the files changed ##tests 2023-05-10 20:24:33 +02:00
pancake
ab053bff3d Fix the r2p tool and add a test ##shell 2023-05-10 18:34:12 +02:00
pancake
5599aaf196 Fix r2r build when doing static linking ##build
* That looks like a gcc bug, because clang is not affected
* Anyway, lets just workaround it this way
2023-04-26 20:04:10 +02:00
pancake
459e071510 Use r2 -NN from r2r and extend the env for rasm2/rabin2 ##shell 2023-03-27 15:21:13 +02:00
theNKCode
7dd19cff68 Referenced https:// instead of http:// everywhere as per requirement 2023-03-22 06:58:25 +01:00