Commit Graph

2189 Commits

Author SHA1 Message Date
Mewt R d28be65647 meson support for smallz4, relates to #19849 ##build 2023-03-18 19:06:34 +01:00
MewtR b06cfb30d8
Use Smallz4 instead of liblz4 which is optional ##build
* Initial smallz4 support, related to #19849
* Patch smallz4 to return -1 on error (as opposed to just exit)
* Add new function 'unlz4Block_userPtr' that can decompress an lz4 block
* New '--with-smallz4' flag to compile and use smallz4 instead of lz4
* Reuse the new unlz4Block_userPtr function to remove duplicate code from unlz4_userPtr in smallz4
* smallz4: remove patch, format small4cat.c properly
2023-03-15 15:29:54 +01:00
pancake 09169f97f7 Move the tarball distribution code into dist/tarball ##ci 2023-03-15 12:03:21 +01:00
pancake 451f02f456 Update to the latest capstone for SH and arm64 improvements ##arch 2023-03-09 13:19:34 +01:00
pancake 2bea582527 Fix #21439 - Fix missaligned read in the hfs parser 2023-03-08 12:34:49 +01:00
pancake 1d394c3839 Fix sign warnings in the quickjs code 2023-03-02 20:55:29 +01:00
pancake b87dfa4585 Run the pending jobs in the qjs repl and expose r2pipe module ##lang 2023-03-02 13:10:11 +01:00
pancake 35c591c625 Fix #21287 - compilation with .c in path ##build 2023-02-20 22:42:26 +01:00
Mewt R ad505cfe7b Don't recreate libcapstone.a if it's already there 2023-02-19 03:26:12 +01:00
Mohamed Lemine Ould El-Hadj 874a2813ab Fix 'no rule to make libcapstone.a' error ##build 2023-02-12 06:00:59 +01:00
pancake 56379ce713 Fixes for the offline tarball generation ##build 2023-01-23 18:01:07 +01:00
pancake 1ec8c152a2 Do not depend on strcasecmp in libzip, build fail on Centos7 ##build 2023-01-22 16:03:19 +01:00
pancake fd4bbe063b Disable stack overflow protection in quickjs for asan builds 2023-01-21 02:34:12 +01:00
Vitaly Bogdanov 8bd67c93a1 Add A0 register into MIPS register profiles
A0 register is required to successfully apply the profile.
2023-01-17 13:48:52 +01:00
Vitaly Bogdanov 7f101ba546 Add required A0 register into x86 register profile provided by GDB ##debug 2023-01-16 18:34:18 +01:00
Vitaly Bogdanov 77c19aa18d Use proper type for the XMM register inside profile recieved ##debug 2023-01-16 18:33:52 +01:00
pancake 4ea4c22923 Finish the CONFIG_NOABORT patch for quickjs 2023-01-16 11:32:42 +01:00
pancake ca6ece2aba Add QJS_NOABORT option to avoid aborts ##qjs 2023-01-11 00:18:13 +01:00
pancake 49d609c86b Update to the latest tinycc in the CI ##build 2023-01-11 00:18:13 +01:00
pancake db0033a4e7 Update r2papi-ts 0.0.23 2023-01-09 00:53:50 +01:00
Vitaly Bogdanov 88bdb74385 Mark libgdbr_t.server_debug field as deprecated 2023-01-08 22:54:39 +01:00
Vitaly Bogdanov e433acc266 Remove libgdbr_t.server_debug flag and `=g!` command
After replacing eprintf by R_LOG_ calls one can enable GDB server
packets logging using `e log.level=5` command.
2023-01-08 20:07:38 +01:00
Vitaly Bogdanov 159e7d922a Replace eprintf by R_LOG_ calls inside GDB module 2023-01-08 20:07:38 +01:00
pancake aa63e120b2 Enable stack overflow check when recursive calls ##js
* `""js var a = foo; function foo() { a(); } a();`
2023-01-02 01:57:14 +01:00
pancake 695fe0831e Bump for r2papi-0.0.22 2023-01-01 18:12:40 +01:00
pancake a6bb0b6c15 Upgrade to r2papi-0.0.20 2022-12-30 11:09:01 +01:00
pancake 658cfd6566 Update r2papi-0.0.18 with many new apis 2022-12-29 23:49:32 +01:00
pancake 739b297a5d Improve error messages in the qjs repl ##js 2022-12-29 23:15:11 +01:00
pancake f27b8d9bfb Support loading/unloading multiple QJS plugins ##js
* This is a hacky and experimental feature, without
* breaking the ABI for all the Core plugins this is
* not possible to be done properly, so i'll keep it
* until 5.9, also rlib api is also unable to unload
* plugins, which will require more breaking changes
2022-12-29 21:29:16 +01:00
pancake 7fd869d05e Update typescript compiler and move r2plugin into r2 ##js
* Update to the latest r2papi0.0.14 adds wip esil apis
* Support more js profiles with a global exports var
2022-12-29 14:49:17 +01:00
nmeum cabba7329b
meson: Install various missing files ##build
While switching our Alpine Linux radare2 package from the GNU autotools
build system to the meson build system I noticed that the meson build
system doesn't install several files which were previously installed by
the GNU autotools buildsystem. This patch adds the missing files to the
corresponding meson.build files.
2022-12-28 13:05:46 +01:00
pancake bf8d32fafb
Fix undefined behaviour in quickjs when casting double to int64 ##js (#21208) 2022-12-28 10:56:56 +01:00
pancake c78a00aa01 Fix undefined behaviour in double->int cast ##js
* Dim the double value to MAX/MIN_INT32
2022-12-27 18:21:59 +01:00
pancake 4f5114f0ef Unsign the shift 2022-12-27 18:08:45 +01:00
pancake 94eca6218a Fix runtime assert when shifting int beyond its limits in qjs 2022-12-27 12:26:03 +01:00
pancake 08a9b55ba3 Upgrade r2papi-ts from 0.0.4 to 0.0.10 ##js 2022-12-26 11:33:40 +01:00
pancake 9fcd0ef668 Add the ability to run qjs scripts with `r2 -je` ##shell 2022-12-23 13:09:46 +01:00
pancake e8a86a28e4 Add proper warning when building libbochs on 64bit 2022-12-23 12:14:14 +01:00
pancake 7caa95151a Fix infinite loop in the qjs repl 2022-12-22 11:56:20 +01:00
pancake 9d657a1472 Implement {ctz|clz}{32|64} RNum ##api 2022-12-19 00:25:06 +01:00
pancake 225963d5f2 Enable BigNum in qjs ##lang 2022-12-19 00:25:06 +01:00
pancake 4378d2de2e Use r2papi 0.0.4 with base64 and R2Api is now known as R2Papi ##lang 2022-12-13 13:21:52 +01:00
pancake 6d5b1a4dbe Add requirejs, simplify compilation and add js_ prefix to all the c files ##lang 2022-12-13 09:46:51 +01:00
pancake b5cbbbc55f Fix another UB bug in quickjs 2022-12-12 13:08:33 +01:00
pancake 73d0d181e2
Enable Bignum support to the QJS interpreter ##lang 2022-12-12 12:04:18 +01:00
pancake 843da0c74f Import the alpha r2papi 0.0.2 api for qjs ##lang 2022-12-11 04:26:17 +01:00
pancake e04ca11b98 Fix `pcc` trifids confussion issue ##print 2022-12-11 04:26:17 +01:00
pancake a6a0b41bac Integrate the qjs repl into the js: command ##lang 2022-12-11 04:26:17 +01:00
pancake e9faffdd0e Remove unnecessary file from qjs 2022-12-11 04:26:17 +01:00
pancake b8e6b52aac Also replace __UNIX__ with R2__UNIX__ 2022-12-10 20:32:10 +01:00