3313 Commits

Author SHA1 Message Date
pancake
469e38c39d Implement interactive text editor mode in VPi command ##visual
* Tab to toggle between insert and replace mode
* Cursor is enabled after insertion
* Still not yet a replacement for your favourite editor
2022-08-18 23:29:36 +02:00
pancake
fe71345577 Fix insert nibbles in visual hex editor ##visual 2022-08-18 21:30:41 +02:00
pancake
785a469a6d else block linting 2022-08-18 18:35:22 +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
adwait1-g
6fc575dbb3 Fix #20540 - pc should use an unsigned char buffer ##print 2022-08-18 10:46:45 +02:00
pancake
52a22ab995 Add lint for \tfree( 2022-08-18 10:27:06 +02:00
pancake
41cf0bcf39 Add the 'i<' lint 2022-08-18 10:27:00 +02:00
condret
1059018d11 Fix oversensitive assert in r_crbtree_{take,delete} 2022-08-18 09:38:29 +02:00
pancake
e4e4ecc605 Add lint for ';;$' and remove strncmp from io plugins 2022-08-18 00:11:36 +02:00
pancake
5a16cbc3b1 Fix last covs 2022-08-16 17:50:00 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
63047fc2ff
Use R_LOG in util/json_parser.c 2022-08-14 21:25:18 +02:00
Paul B Mahol
b4d929f2c4 Check for RGraph in r_graph_free() ##util 2022-08-08 19:22:49 +02:00
Paul B Mahol
10eb24198a Fix several issues in r_syscmd_join() ##util
Fix crash if reallocation happens when using r_str_append().
Fix leaks in function.
2022-08-07 12:08:20 +02:00
Paul B Mahol
a9956f7192 Fix leak of char* in r_table_visual_list() ##util 2022-08-07 12:07:34 +02:00
Paul B Mahol
2853a125e4 Fix possible leak of list after each loop iteration ##util 2022-08-05 14:26:05 +02:00
Paul B Mahol
da0f39b082 Fix leak in r_log_vmessage() ##util 2022-08-05 14:26:05 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
pancake
5662271054
Be more strict when parsing numbers ##util 2022-07-31 16:53:42 +02:00
pancake
8df818b2de Add the infamous command tac ##shell 2022-07-31 14:41:55 +02:00
pancake
1cd49a8d1c Add cmd.undo and handles it for w and CC commands ##core
* Improve undo command listing
* The cmd.undo variable when set some commands add entries into the `uc`
* This is wip, needs to have better facilities and support more commands
* Defer cmd.undo=true for r2-5.8.0
2022-07-31 06:34:16 -04:00
pancake
be93a9c4b0
Implement ~$!! as a tac replacement and clarify the ~$! use ##shell 2022-07-31 01:50:50 +02:00
Paul B Mahol
a4b9260efd Fix double free when shrinking vectors ##crash
realloc() call can return NULL for size of 0 and still free()
that memory, there was no check for this so code ends prematurely
and double free can happen later.
2022-07-30 07:21:02 -04:00
Paul B Mahol
e540f819e0 Fix overreads in r_str_utf8_codepoint() 2022-07-29 07:29:05 -04:00
pancake
d6d14b2a71 Add spacing linting checks for public function signatures 2022-07-27 10:34:24 -04:00
pancake
12754725dd
Initial work towards onifying r_util ##build 2022-07-25 06:34:09 -04:00
Paul B Mahol
2195fb5f61 Fix FPE crash in p2 visual mode ##crash 2022-07-24 15:24:32 -04:00
Paul B Mahol
58bd12c100
Allow to change entropy bars width with '[]' keys ##print 2022-07-24 15:22:30 -04:00
Paul B Mahol
6c7c3d6951
Fix p=e output ##print 2022-07-23 10:34:38 -04:00
Paul B Mahol
45b6ddb101
Fix display issues with pss visual mode ##cons 2022-07-23 10:24:18 -04:00
pancake
6ee9367a1b
Use of RNum.calc in rax2 to honor error code ##tools 2022-07-23 10:23:51 -04:00
pancake
cfa869989c The RThread.start(true) had racy deadlocks, re-enable the bg http server ##util 2022-07-20 17:36:27 +02:00
pancake
2ba1e80323 Use R_LIKELY and r_return in the skiplist api ##util
* NULL data is still supported
2022-07-20 16:52:24 +02:00
pancake
3c9777dd18 Optimized implementation of rand for skiplist ##util 2022-07-20 16:52:24 +02:00
pancake
7e84240719 Fix r2pm.sh path resolution issue ##r2pm 2022-07-19 17:30:58 +02:00
pancake
e3c09aa9c6
Build r2 with muon+samu ##ci
* Remove asm.arc leftovers
* Fix r2pm -r return value
2022-07-08 22:44:46 +02:00
pancake
52be3062d1 Use more MUSTUSE and fix warning 2022-07-08 21:53:23 +02:00
pancake
091b7c96c2
Fix last covs and support mount in ms ##fs 2022-07-08 09:51:21 +02:00
pancake
ad1add71cb
Fix a new linting to remove the double error message in RLOG calls ##lint 2022-07-07 20:25:26 +02:00
pancake
a7399890fe Tiny optimization in RBuffer -0.01s speedup ##io 2022-07-07 03:39:36 +02:00
Sergi Àlvarez i Capilla
9c9095aa92 Fix race condition in radiff2 test 2022-07-07 02:14:08 +02:00
pancake
550b6764aa Add R_MUSTUSE hint ##lint 2022-07-04 18:21:11 +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
faaa934514 Fix (null) printing on pi command ##print 2022-07-03 12:36:47 +02:00
pancake
9f12bfd0a8
Get rid of some globals and tls-ify others 2022-07-03 10:01:58 +02:00
pancake
47b7e8ae2b Add and fix two more for loop linter rules 2022-07-02 22:40:28 +02:00
pancake
35d65e60eb
Add r_sys_signable() and use it from r_cons_thready ##cons 2022-07-02 20:18:25 +02:00
pancake
0f8321842f
Merge the asm.mcs96 plugin into anal ##refactor 2022-06-28 14:32:12 +02:00