pancake
a90afe7e7c
Permit ending '%' in the env keys for % and @% ##shell
2021-10-09 03:26:47 +02:00
pancake
9a2636b32b
Remove other useless and incomplete treesitter leftovers and get +400 new commands in the recursive help ##shell
2021-08-14 18:28:20 +02:00
Qijia Liu
b8afdf8d7d
Fix memleak in db/formats/mangling/mangling
2021-01-25 02:37:21 +01:00
pancake
edda7a408a
Add CC, command previous CC, is now CCF ##meta
2021-01-15 10:56:58 +01:00
pancake
d2e0f72049
Fix assert in eco
2021-01-07 19:02:37 +01:00
pancake
9dae8babb0
Add null check in eco to fix asan
2021-01-04 11:50:17 +01:00
pancake
020c3056d0
Fix ecn (and VR) when no custom theme was set in .rc ##cons
2021-01-03 10:15:00 +01:00
pancake
d3157e2ed3
Fix 32 critical COVs (UAF, UB and OOB) ( #18077 )
2020-12-21 01:10:22 +01:00
pancake
89f6c6e1f1
Fix many ASAN issues, from uaf to memory leaks and some boolification ( #18048 )
2020-12-20 23:37:45 +01:00
Lazula
243bc871c3
Multiple refactors in io and util ##io ##util ##refactor
...
* Add r_io_map macros throughout code base
* Update string NULL-checking with renamed functions r_str_get() and r_str_getf()
* Change string NULL-checks throughout code base to use functions
* Add r_str_get_fail() to specify a custom string to return if NULL-check fails
* Mark JSON to be updated with PJ with "TODO PJ"
* Incidental style updates such as missing spaces
2020-12-13 05:09:13 +01:00
pancake
7df28e1fb2
Implement the comma command to manage user-defined tables ##util ( #17702 )
...
* Import export in CSV and R2 formats
* Export in JSON, ascii-art, columns, r2, ..
* For example: aaa;aflt>$a;,.$a,/size/sum
2020-12-09 03:39:49 +01:00
Riccardo Schirone
2ffa790e0a
Generate help automatically ##newshell ( #16782 )
...
* Add additional RCmdStatuses
* ?? should be a cmd_identifier, not help_command
2020-06-17 21:29:23 +02:00
pancake
160fc95e66
Use (void) instead of () in function signatures ( #17026 ) ##refactoring
...
* Use (void) instead of () in function signatures
* Add test to avoid further contributions to commit the same mistake
2020-06-14 16:08:32 +02:00
Florian Märkl
edf1be10d1
Refactor Meta out of SDB ( #16716 )
2020-05-09 20:49:28 +02:00
radare
db39ca95c0
Implement ecHj to list highlight rules in json format ##cons
...
Authored-by: Rishi Bhatt <bhattrishi8@gmail.com>
2020-03-04 00:08:39 +01:00
radare
5e629a3260
Avoidify the strTrim() APIs + cleanup/refactor ##util ( #16056 )
2020-03-02 21:39:37 +01:00
Anton Kochkov
9ae41ae69f
Revert "Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor" ( #16055 )
...
This reverts commit 38b61c7bcf
.
2020-02-26 09:59:04 +08:00
radare
38b61c7bcf
Avoidify the RUtil.strTrim() APIs, rename trimHeadTail() and add asserts in RConfig ##refactor
2020-02-25 17:53:09 +01:00
radare
b334dac312
Fix ecH- deleting ecHi and deleting meta highlight items ##cons ( #16039 )
2020-02-24 01:10:51 +01:00
Riccardo Schirone
40187725f2
Make env
command trim key/value strings before setting env variables
2020-02-21 23:58:24 +01:00
pancake
b4cab37bc0
Add ecH. command to show highlight info in the current offset
2020-02-18 10:52:20 +01:00
pancake
3b5c9bd775
Improve ecH (ecH-* dels them all, ecH- doesnt segfault, ecH list) ##disasm
2020-02-18 01:07:33 +01:00
pancake
306b6f11cd
Fix asan crash in ecH-
2020-02-17 16:35:10 +01:00
bannsec
7a39bb9245
Echi bad color ( #15986 )
...
* Outputting error on ecHi bad color
* Added a testcase
2020-02-17 11:54:48 +08:00
radare
672fe95049
Implement RCons.echo() and use it from r2.cmd("echo64") ##cons ( #14635 )
...
Required for r2pipe programs to buffer output to be processed by r2
2019-07-24 13:59:57 +02:00
pancake
9b7dcd30a9
Simplify RConfig.eval and improve e with e, for csv ##core
2019-06-20 10:30:52 +02:00
radare
a49bb7cf66
Change the signature of r_str_trim to avoid confusions ##refactor
2019-06-16 20:58:40 +02:00
radare
51cc15072a
Fix some UAF in rap server, handle HTTP over rap and tcp properly ##remote ( #14081 )
2019-05-16 14:18:16 +02:00
dodococo
fc4000a796
Fixes #13767 : Honor color theme in p-- ##cons
2019-05-15 01:22:15 +02:00
pancake
1d33705cc0
Code cleanup in RConfig and bring back 'e asm.' for listing ##config
2019-05-05 23:18:53 +02:00
pancake
e2d94ad1e2
Fix 'e cmd.gprompt=dr=' becaues of the strtok approach ##core
...
This is more like a workaround
2019-04-21 12:09:44 +02:00
radare
73f76a99b2
Make RCons.is_interactive() into the RConsContext and improve loading projects in tasks ##cons ( #13132 )
2019-02-18 06:20:01 +01:00
Florian Märkl
f80a47ab60
Move Palette to RConsContext to make RCoreTask less racy ##cons
2019-01-18 11:58:49 +01:00
radare
63fae31b1e
Implement ecoo and extend scr.rainbow into pd ##visual ( #12499 )
2018-12-17 11:04:11 +01:00
radare
f7be81edbb
Fix instruments leaks ( #11695 )
...
* Fix a small memleak in the disasm reflines
* Fix huge args leaks in r_parse for arm
* Fix another memleak
* Fix memleak in VR
* Fix memleak related to bad use of r_list_join
* Fix warnings
* Fix two rlist related asserts
2018-10-01 19:57:33 +02:00
radare
945e9566fb
Fix #11455 - Implement internal less pager with scr.pager=.. ( #11548 )
...
* Use full screen in r_cons_less (last line was not used before)
2018-09-17 12:15:12 +02:00
pancake
4e2ab95628
Fix eco crash and add ecoq
2018-09-10 17:36:17 +02:00
ylmrx
7a5a4c9661
Several themes related changes [r2con] ( #11435 )
...
- Adding a command ('ecoc') to print current color theme (c->current).
- Documenting the available themes JSON listing.
- defining a specific 'eco?' for themes related commands.
- Adding a cute little arrow to point current theme when listing themes.
- Replacing nextpal() with r_core_list_themes(), for the list, so the
code is less confusing (it's still used elsewhere ('ecp', 'ecn'), didn't remove it)
- Correcting several typos in eval docs
2018-09-08 19:03:33 +02:00
Luca Di Bartolomeo
800fa1b909
Some improvements to the visual color editor VE ( #10979 )
...
* Feat: select background color in visual color picker
* Feat: various enhancements to visual color editor
Added truecolor support
Made initial help more helpful
Added h/l keys to switch colortheme
Added c key to change the command used to generate the preview
2018-08-08 12:12:28 +08:00
pancake
a4f0ad3e38
Fix echo behaviour
2018-06-11 11:43:58 +02:00
Khairul Kasmiran
2f285d5f90
ec highlight -> wordhl
2018-06-04 15:51:36 +02:00
pancake
1c4464d88f
Fix #10003 - uaf in e??j
2018-05-03 18:55:07 +02:00
Paul I
5180e0220f
Add R2_PLUGINS, R2_EXTRAS, R2_BINDINGS macros ( #9994 )
2018-05-02 15:58:14 +02:00
Paul I
cc90ec6be5
[WIP] Move hardcoded paths to r_userconf.h ( #9959 )
...
* Move hardcoded paths to r_userconf.h
* Add R2_HOME_* macros
* Some cleanup
2018-04-28 10:02:55 +02:00
sivaramaaa
1d4cd29ec7
Fix #9957 , Fix double free in eco ( #9958 )
2018-04-26 07:03:52 +05:30
Florian Märkl
cee122e9df
Make r_cons_rgb_str() safe ( #9938 )
2018-04-21 11:31:24 +02:00
Florian Märkl
b3067bbad3
Replace usages of R2_DATDIR with r_sys_prefix() ( #9889 )
...
* Replace usages of R2_DATDIR with r_sys_prefix()
* Minor Fixes
2018-04-15 20:35:18 +02:00
pancake
30e98b24be
Fix: ed works when no r2rc exists, add RFile.touch() and fix .dump()
2018-03-07 01:20:06 +01:00
Vanellope
d39ddcba26
fixed the bug that bothered you from changing more than once with VbT ( #9602 )
2018-03-06 10:37:43 +01:00
xarkes
70bd99da25
Fixed wrong ecoj behaviour
2018-02-26 23:18:29 +01:00