Commit Graph

2174 Commits

Author SHA1 Message Date
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
pancake
97a6439055 Do the same for __WINDOWS__ -> R2__WINDOWS__ 2022-12-10 20:32:10 +01:00
pancake
78a26e15fe Double lowerdash defines should be defined only by the compiler ##build 2022-12-10 20:32:10 +01:00
pancake
3f08120ac1
Import the quickjs rlang plugin ##lang
* Fix 2 UB and 4 portability bugs in quickjs
2022-12-10 18:58:33 +01:00
pancake
77efdaca74
Fix Cydia and meson build 2022-12-08 17:21:24 +01:00
pancake
52efddb2c6 Upgrade to the latest capstone, with fixes for arm64 and riscv 2022-12-08 13:56:14 +01:00
pancake
560d5efced
Update to the latest sdb (2.0.0)
* Experiments to integrate the custom heap into r2 will be based on the sdb implementation
2022-12-07 19:08:21 +01:00
pancake
590208e26a Update SDB from git 2022-11-23 11:22:43 +01:00
pancake
aa536ce554 Speedup tcc builds by not using -g ##build 2022-11-23 11:22:43 +01:00
pancake
f09557c7f8
Fix #14540 - klass->super must be an RList instead of char* ##bin 2022-11-21 19:26:29 +01:00
pancake
a79add6dff
Update sdb to remove double include paths ##build
* Updated pkg-config paths
2022-11-19 01:05:18 +01:00
pancake
46e25f8844 Remove anal.malbolge and fix CI r_esil issues ##arch 2022-11-13 22:38:58 +01:00
pancake
fc63211df4 Fix capstone headsup 2022-11-11 17:44:15 +01:00
Alex Bender
e1fbd9b24d
Remove eprintf calls in favor of R_LOG ##api 2022-11-10 13:44:57 +01:00
pancake
7652642373
Deprecate r_str_dup() - related to #20959 ##api 2022-11-07 17:31:30 +01:00
pancake
b5d9ee2342 Update the capstone4 support to 4.0.2 ##build 2022-11-06 18:14:46 +01:00