Commit graph

10 commits

Author SHA1 Message Date
Riccardo Schirone
02a0b7a1ad core/cmd: just store RzCore reference instead of void *data 2022-08-26 07:53:43 +08:00
Riccardo Schirone
64be19f082 Move TSLanguage initialization into new rz_core_cmd_new API 2021-10-08 15:38:16 +02:00
Riccardo Schirone
cad4e0ae0f
Rename newshell to rzshell and parser commands to statements 2021-04-22 19:45:14 +08:00
Riccardo Schirone
53bf5c497f SPDX Copyright text for all files based on history
- Add LICENSES directory
- Download additional licenses used
- Add .reuse directory
- Add doc about SPDX/reuse

Co-authored-by: Florian Märkl <info@florianmaerkl.de>
2021-03-05 19:39:15 +08:00
Riccardo Schirone
8baacdddf2 core: extract RzCorePlugins from RzCmd to RzCore 2021-03-02 08:44:44 +01:00
wargio
8005c480b2 Moving java from shlr to core
Removed unused code and comments.
Removed dead code
Moved print method outside class.c
Moved json method outside class.c
Removed yc_w_refs and i_mref which never worked.
Fixed set_flags method to work as intended.
Fixed various parsing errors.
Fixed many memory leaks.
Fixed "insecure" rz_cons_printf warning.
removed `#define V`, `#define U` and `#define _`
Implemented newshell calls.
Optimized code.
Refactoring rz_bin_java_get_field_offsets
Avoid loading static core plugins when not needed.
Removed useless `if 0`
2021-02-25 12:02:20 +01:00
Anton Kochkov
a0be4e2e64 Run clang-format 2021-01-21 22:05:44 +08:00
Riccardo Schirone
296b64e2e9 Add flags to RzCmdArg to mark array, last, option args 2021-01-05 23:33:32 -06:00
Riccardo Schirone
a7fd3fa3c6 Use mu_main to reduce boilerplate in unit tests
* Disable colors on Windows because terminal looks bad otherwise
* Use environment on Windows to set PATH and make sure unit tests use
  the compiled libraries and not the installed ones
* Define ssize_t on Windows as well by using SSIZE_T

Update test_analysis_block.c

Update test_intervaltree.c

Update test_unum.c
2021-01-03 11:42:38 +01:00
Riccardo Schirone
31d3fe8e65 Add API to (un)escape arguments and use it to pass commands as arguments
Just use one API to escape/unescape args and pass argument
2020-11-20 09:45:17 +01:00