pancake
459e071510
Use r2 -NN from r2r and extend the env for rasm2/rabin2 ##shell
2023-03-27 15:21:13 +02:00
pancake
b7ec6fb366
Support R2_PREFIX env var to override compile-time PREFIX ##core
...
* Supports overriding system paths at startup time
* Makes happy snaps and other sandboxed or randomized execution environments
2023-03-14 21:30:38 +01:00
Vitaly Bogdanov
52ba949fef
Fix #8992 - Apply command line settings before initializing debug plugin ##debug
2023-01-18 08:05:14 +01:00
pancake
297126b871
Add R2_DEBUG_NOPAPI env var ##tools
2022-12-29 14:49:17 +01:00
pancake
9fcd0ef668
Add the ability to run qjs scripts with r2 -je
##shell
2022-12-23 13:09:46 +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
condret
fc61e4f1ee
Kill r_io_read_at_mapped ##io
2022-12-11 23:27:46 +01:00
pancake
cff7216df7
New RPrint.spinBar() API used from scr.demo for now ##print
2022-12-11 05:11:30 +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
a544c0d15a
Implement RBinFile.merge() and obm
command to use it ##bin
2022-12-07 23:06:43 +01:00
pancake
bcfcf84125
Fix r2 -2 ##tools
2022-11-25 12:48:10 +01:00
pancake
67a5f8589e
Fix r2 /directory
behaviour ##shell
2022-11-23 01:05:17 +01:00
pancake
9e95cc9444
Add bin.types and disable by default for CI reasons ##bin
2022-11-15 07:22:25 +01:00
pancake
22342066c1
Rename many bin.*str evars into bin.str.* ##core
2022-11-11 12:17:50 +01:00
pancake
1816fa0ad4
Add r2 -LL to list core plugins ##shell
2022-11-03 07:30:33 +01:00
pancake
0798cd6adf
Upgrade to the latest wasi16 sdk ##wasm
2022-11-02 22:03:45 +01:00
pancake
0b90768931
Rename RStr.home() to RFile.home() as part of the Plan ##api
2022-10-27 16:28:33 +02:00
pancake
332b0d0fcd
Fix initial seek for Rosetta2 aot binaries ##bin
2022-10-16 21:03:26 +02:00
pancake
ae108d7a69
Add R_UNUSED_RESULT and use it to avoid unnecessary -Wunused-result warnings
2022-09-30 12:48:29 +02:00
pancake
a9fb40057b
Fix r2 -d foo\bar.exe and r2 -d bar.exe on windows ##debug
2022-09-30 11:41:54 +02:00
pancake
c2851a6f46
Use XDG instead of R2_HOME_CACHEDIR and R2_HOME_HISTORY ##core
...
* Implement and use the new `r_xdg` apis
* Remove R2_HOME_RC, R2_HOME_RC_DIR and R2_HOME_CONFIGDIR
* R2_HOME_THEMES, R2_HOME_ZIGNS R2_HOME_PDB R2_HOME_HUD R2_HOME_BINRC and R2_HOME_BIN
* Disable the bin-specific user scripts
* Massage the help messages and reduce and review all the env vars used
2022-09-29 17:33:21 +02:00
pancake
adb7c1388a
Initial support for XDG env vars and paths ##core
2022-09-29 17:33:21 +02:00
pancake
90f8c21a02
Make ravc2 accessible via blob and r2 shell ##vc
2022-09-26 00:01:25 +02:00
pancake
1fb3c0fa0d
Guard more critical sections in cons and core ##threads
2022-09-23 23:29:17 +02:00
pancake
adfe8a00a0
Analysis now waits in background for the bin parsing to finish ##threads
2022-09-23 22:07:49 +02:00
pancake
3ee7a15a44
Bring back the r2 -t for parsing bin and analysing in background ##tools
2022-09-21 22:06:36 +02:00
pancake
6967f63396
Allow changing number of saved input lines ##shell
...
Authored-by: Paul B Mahol <onemda@gmail.com>
2022-09-16 15:50:21 +02:00
pancake
e5d8cc46af
Add linting to avoid setting bool config vars with strings
2022-09-16 11:46:18 +02:00
pancake
b705e334f6
Massage more R2_580 pending changes breaking APIs and ABIs
2022-09-16 11:34:19 +02:00
pancake
a6e0d6c480
Merge rhash into rcrypto and improve apis ##api
...
* Update meson and make build systems
* Remove leftovers and unused dependencies
2022-09-15 11:25:40 +02:00
pancake
df1dce4109
Remove the file.offset
unused config variable ##config
...
* It was set for a while, RBinFile holds this info in loadaddr
* file.offset was conceptually wrong because its 'global'
2022-09-14 19:53:26 +02:00
pancake
d020b38d32
Use more Config.setBoolean() and lint some cases
2022-09-06 22:23:08 +02:00
pancake
e2700bf951
Fix process detach in the xnu debugger ##debug
...
* Inspired by f6664c2cee715b54b13ba4cf77f752917242a08b from rizin
* AuthorDate: Sun Jul 10 16:06:59 2022 +0200
* Author: Florian Märkl <info@florianmaerkl.de>
2022-08-22 21:02:34 +02:00
pancake
7ad8353838
Use R_LOG in libr.main and fix RLogLevelMatch ##tools
2022-08-19 15:31:46 +02:00
pancake
7a35f03471
More source spacing linting
2022-08-18 14:37:29 +02:00
pancake
a538b2b700
Add =0 and =1 lintings
2022-08-18 13:58:40 +02:00
pancake
620c3fa3dd
Fix (null) license on r2 -L
2022-08-14 19:19:31 +02:00
Paul B Mahol
802eb32aa2
Fix leaks of allocated memory for duplicate plugins ##tools
2022-08-05 14:26:05 +02:00
Paul B Mahol
5aad604a27
Fix leak when showing lib versions
2022-07-31 14:24:10 +02:00
Lazula
dd6aa1abfc
Fix crash due to null debug file handle/uri
2022-07-17 22:01:42 +02:00
pancake
e2bbe2b14e
Add a linting to avoid R_LOG calls ending with a dot ##lint
2022-07-04 17:42:25 +02:00
pancake
4d3887fb1d
Don't hash files when loading, that's too heavy! 1.2s -> 0.8s ##bin
2022-07-02 21:30:17 +02:00
pancake
304a3a7fcf
Use more R_LOG instead of eprintfs and add more linting checks ##refactor
2022-06-28 11:24:06 +02:00
pancake
8d88e1208d
Fix echo q|r2 return code
2022-06-28 02:00:26 +02:00
pancake
21e99d6fa6
More core fixes for Windows
2022-06-09 23:12:33 +02:00
pancake
4039c23f3e
Cleanup gdb:// uri handling in r2's main.c
2022-06-08 20:18:38 +02:00
pancake
4959457cc9
Expose R2_HISTORY in r2 -hh and r2 -H to locate history file ##shell
2022-06-03 20:40:02 +02:00
pancake
93d9860f41
Add test for 'q' return code bug and minor cleanup r2r ##tests
2022-05-26 12:41:49 +02:00
Aleksey Kislitsa
e51af6ddf2
Correction returned code, set zero if ret isn't -1
2022-05-25 23:45:30 +02:00