Commit Graph

335 Commits

Author SHA1 Message Date
Luc Tielen
99c43664f9 Move .inc files to .inc.c for editor support ##main 2023-05-23 20:05:17 +02:00
pancake
b0e4ae4785 Implement RLangPlugin.init for Go,Rust,Typescript and Zig ##lang 2023-05-23 19:09:39 +02:00
pancake
09a2f993f0 Make RLangPlugin.init() actually define if can be instantiated ##lang 2023-05-23 18:56:53 +02:00
pancake
ed39311e3f Autocomplete -i command ##shell 2023-05-23 16:56:25 +02:00
pancake
b3ee9670b4
Improve r2js module loading, honoring relatve and absolute paths ##lang 2023-05-19 16:05:23 +02:00
pancake
4cb500e0e9 Handle multiple ../ imports ##qjs 2023-05-18 11:44:00 +02:00
pancake
f500fbe771 Update r2papi.ts 0.1.1 ##lang 2023-05-18 02:44:05 +02:00
pancake
45c15c03a1 Support relative module resolution in qjs ##lang 2023-05-17 23:46:54 +02:00
pancake
aa44c817da Fix alias marker parser in the qjs loader ##lang 2023-05-16 06:34:37 +02:00
pancake
1c8bd6d592 Skip the alias marker in the qjs loader 2023-05-14 22:53:21 +02:00
pancake
71d40513be Better LA/Ll listings ##shell 2023-05-04 11:48:43 +02:00
pancake
b6d777275c Better typescript entrypoint support and fake r2pipe ##lang 2023-04-05 11:29:22 +02:00
pancake
38d4b86693 Support running typescript files without r2's Gmain ##lang 2023-04-05 02:07:26 +02:00
pancake
46229e33ea frida-compile bundles can contain anything, we only interpret/load the .js ones ##lang 2023-04-05 01:59:38 +02:00
Lazula
06a8789780
Remove all char* casts in free ##cleanup
* Fix dwarf demangle logic
* dwarf_process.c * type.c * pyc_dis.c * dex.c
* emit_arm.c * qjs_core.c * axml.c * engine.c
* cconfig.c * core.c * asn1_str.c
2023-03-09 18:40:24 +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
cc16725dec Add fake 'r2papi' module for r2frida-compile scripts ##lang 2023-03-01 10:34:05 +01:00
pancake
2b34da70fa Implement ESM module loader for the QJS runtime ##lang
* Supports files generated with frida-compile
* Use R_LOG for qjs error messages
2023-02-28 19:33:20 +01:00
pancake
b9ebcd0610
Cleanup some lines in the PIC and lang.qjs.arch plugins 2023-02-28 16:06:17 +01:00
pancake
336b86914e
Initial support for r_arch plugins via qjs ##lang 2023-02-27 12:23:48 +01:00
pancake
6562542998 Remove some unsafe sprintf/strcpy 2023-02-20 23:20:53 +01:00
pancake
960acc5405 Fix the wasi build 2023-02-10 02:54:20 +01:00
pancake
d1a557e3ce Add support for NIM scripting on top of the QJS engine ##lang 2023-02-09 17:48:01 +01:00
pancake
3adef7e059
Avoid the use of sprintf() 2023-01-25 21:39:22 +01:00
pancake
626fffa44a Fix null deref in the poke scripting support 2023-01-19 16:47:45 +01:00
pancake
1deedbaa5a Initial skeleton integration with GNU/Poke ##shell 2023-01-19 11:40:12 +01:00
pancake
c1846af09e Fix linking issues after the libs reordering 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
c3a1fe170d Initial implementation of lang.s assembly scripting ##lang 2023-01-11 00:18:13 +01:00
pancake
1546936a7c R_TH_LOCAL two globals in RLang.c ##lang 2023-01-11 00:18:13 +01:00
pancake
12c6271e7e Reestructure lib dependencies, add lang.asm plugin ##lang 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
fff7d4b1d0 Add experimental r2.cmd0 and r2.call0 for qjs ##js 2023-01-05 12:19:51 +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
b11fecf7e8 Rename qjs's dir function to dump ##js 2022-12-29 22:35:42 +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
77c3797c71 Extra checks and enforce the singleton core plugin ##js 2022-12-27 13:35:02 +01:00
pancake
15a92dbd0a Improve typescript entrypoint logic detection ##js 2022-12-27 12:48:38 +01:00
pancake
dd8a58a07d Initial support for javascript core plugins ##js 2022-12-27 12:03:02 +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
7a879ce490 Support typescript Main namespace and pass --allowJs ##js 2022-12-26 11:32:26 +01:00
pancake
7caa95151a Fix infinite loop in the qjs repl 2022-12-22 11:56:20 +01:00
pancake
cb764ac449 Make r2 -j work as a hashbang handler for qjs ##lang
* Fix "script not found" issue, solve command injection bugs
2022-12-22 11:56:20 +01:00
pancake
4a8f807f72 Add ve command to set fg/bg colors for current panel ##panels 2022-12-18 22:34:21 +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
a4ed62b7d2 Add typescript support ##lang 2022-12-13 09:46:51 +01:00