Commit Graph

58 Commits

Author SHA1 Message Date
Adam Satko
c3f95c2621
Fix qjs symbols visibility ##build 2024-10-25 18:21:11 +02:00
Adam Satko
eeebe83420
Update to the latest quickjs-ng, so we dont need to ship custom patches ##r2js 2024-10-22 22:07:33 +02:00
pancake
96f56e055f Fix "TypeError: not a function" error with an ugly hack ##r2js
Some checks failed
build / w32-meson (push) Waiting to run
build / w64-static-2022 (push) Waiting to run
build / w64-static (push) Waiting to run
build / w64-meson (push) Waiting to run
build / check_abi_compatibility (push) Blocked by required conditions
build / check_release (push) Blocked by required conditions
build / release (push) Blocked by required conditions
CI / linux-acr-oldlibsbug (push) Waiting to run
CI / linux-nocs (push) Waiting to run
CI / linux-acr-gperf (push) Waiting to run
CI / linux-sys-capstone (push) Waiting to run
CI / linux-acr-resymlink (push) Waiting to run
CI / linux-test (push) Waiting to run
CI / linux-static-meson (push) Waiting to run
CI / macos-test (push) Waiting to run
CI / linux-rpath (push) Waiting to run
CI / macos-rpath (push) Waiting to run
CI / linux-meson-spaces (push) Waiting to run
CI / linux-tinyasan-fuzz (push) Waiting to run
CI / linux-asan-fuzz (push) Waiting to run
CI / w64-make (push) Waiting to run
CI / w32-mingw (push) Waiting to run
CI / w64-mingw (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
tcc / ubuntu-tcc-newabi (push) Waiting to run
tcc / ubuntu-tcc-test (push) Waiting to run
tcc / ubuntu-tcc-nodbg (push) Waiting to run
tcc / r2pm-tcc (push) Waiting to run
tcc / ubuntu-tcc-syslibs (push) Waiting to run
Coverity Scan / latest (push) Has been cancelled
2024-10-21 19:49:34 +02:00
pancake
e3af0aed83 Update r2papi to the test version from git ##r2js 2024-10-21 19:49:34 +02:00
pancake
86529d7cf6 Fix the mingw32 build of qjs 2024-09-27 19:03:07 +02:00
Adam Satko
c2e7795bfb
Update lang.qjs and use quickjs-ng instead ##lang
* Fix all the portability issues for w32, w64, wasi
2024-09-27 11:27:50 +02:00
3393304070
b2a467cd13 Fixed out-of-bound write in libbf.c
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
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
Code scanning - action / CodeQL-Build (push) Failing after 0s
2024-09-15 11:55:26 +02:00
pancake
762088e87f
Update r2papi from git, use src from /tmp instead of npm ##r2js (#23082)
* Dont uglify or minify, sed is more reliable
* Fix h<tab> help message
2024-07-01 11:43:59 +02:00
pancake
7e7eca2413
Minor improvements for the r2papi sync make logic 2024-06-23 02:05:54 +02:00
Richard Patel
05b950a1a3 Fix qjs MSVC support ##shlr 2024-02-18 07:24:09 +01:00
Richard Patel
24baff584b Improve quickjs portability ##shlr
- quickjs assumes NAN and INFINITY are constant expressions.
  This is not true on AIX. Adds a workaround.
- Don't use tm_gmtoff on AIX. (tm_gmtoff appeared in 4.3BSD Tahoe,
  but AIX hasn't bothered to backport it in over 35 years)
2023-12-06 17:27:24 +01:00
pancake
c9701a5049
Support latest reestructured r2papi.ts (0.3.3) 2023-11-14 01:49:17 +01:00
pancake
90f0baff96 Update to r2papi-0.3.0 2023-11-13 15:52:48 +01:00
pancake
c691f48625 Update r2papi-0.2.6 for r2ai integration fixes 2023-11-07 22:00:17 +01:00
pancake
3ce13a9c36 Add readRelativePointer() from r2papi-0.2.5 2023-10-28 00:11:22 +02:00
pancake
137628110e
Upgrade r2papi-0.2.3 2023-10-23 23:35:27 +02:00
pancake
89b3865802 Upgrade r2papi to the latest 0.2.2 adding Process and Module objects ##js 2023-10-12 23:35:17 +02:00
pancake
2cbc70e3ba
Upgrade r2papi to 0.2.0 2023-10-11 20:14:21 +02:00
pancake
075d144b76 update r2papi again 2023-08-31 10:05:43 +02:00
pancake
0c513bc25a More fixes coming from r2papi.ts 2023-08-30 13:26:05 +02:00
pancake
6ad3f82927 Bumping r2papi again 2023-08-30 11:46:03 +02:00
pancake
b899bac017 Update r2papi-0.1.3 2023-08-30 10:54:14 +02:00
pancake
00f015151e Update r2papi.ts to 0.1.2: add new apis ##lang 2023-08-30 01:15:34 +02:00
pancake
5b49064e4c Add progressbar in 'aaa' when scr.demo is set ##analysis 2023-08-29 14:56:08 +02:00
pancake
b5ff13f63c Implement qjs bridge for r2frida via io->system ##io
* Using -j with the new ':' command prefix to run and autocomplete
* the keywords on the target r2frida session, note that not all io
* plugins provide a system interface, so it will nop in these case
2023-07-12 21:53:02 +02:00
pancake
f500fbe771 Update r2papi.ts 0.1.1 ##lang 2023-05-18 02:44:05 +02: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
pancake
fd4bbe063b Disable stack overflow protection in quickjs for asan builds 2023-01-21 02:34:12 +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
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
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
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