Commit Graph

12436 Commits

Author SHA1 Message Date
pancake
7cf0c56dbf Improve visual text editor navigation ('j' moves to next line) ##visual 2022-08-19 00:11:17 +02:00
pancake
79679dbae0 Fix #20602 - Insert and cursor glitching in hex panel ##visual 2022-08-19 00:09:59 +02:00
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
6654541c71 Implement wcu command to undo cached writes ##io
* Integrated with the visual hex editor with the 'u' key
2022-08-18 21:31:21 +02:00
pancake
fe71345577 Fix insert nibbles in visual hex editor ##visual 2022-08-18 21:30:41 +02:00
pancake
b74970f966 Add missing help for y- command 2022-08-18 21:29:55 +02:00
pancake
785a469a6d else block linting 2022-08-18 18:35:22 +02:00
pancake
22a1266331 Implement y- command and some other indentation fixes ##shell 2022-08-18 17:14:19 +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
e01660dc52 Rename to io.basemap 2022-08-18 10:31:22 +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
pancake
660478b3cc sys/lint for '0 ;' 2022-08-18 10:26:56 +02:00
pancake
0cb57b6742 Use p8x and remove pcj from visual list ##visual 2022-08-18 01:32:07 +02:00
pancake
6d46f10664 Implement p8x and p8* similar to y* ##print 2022-08-18 01:31:24 +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
Dennis Goodlett
8b796b216d
Refactor esil new in cmd_anal ##anal
* Replace cmd_anal repeated code refactor
* Use new static esil_setup_from_core in cmd_anal
* Combine functions to r_esil_new_setup

Co-authored-by: Dennis Goodlett <dennis@hurricanelabs.com>
2022-08-16 09:17:52 +02:00
pancake
8c66266e99 Lint for trailing spaces 2022-08-15 18:21:18 +02:00
pancake
0239a265cd Fix warnings spotted by last gcc in cmd_anal.c 2022-08-14 21:07:19 +02:00
pancake
0b9e86e989 Fix issues found by last gcc in cmd_anal.c 2022-08-14 21:06:15 +02:00
pancake
620c3fa3dd Fix (null) license on r2 -L 2022-08-14 19:19:31 +02:00
Dennis Goodlett
8488630478 Fix R_LOG lint 2022-08-14 12:25:32 +02:00
Dennis Goodlett
cd261aa787 Refactor ar set command to static func ##anal 2022-08-14 12:25:32 +02:00
pancake
278b6b51b7 Fix memleak on -Cj failure 2022-08-12 17:24:09 +02:00
pancake
db7741247e Fix autocompletion for :.<tab> for r2frida ##shell 2022-08-09 20:50:16 +02:00
Paul B Mahol
9854d41cc2 Fix '/gg' output ##anal
Add also tests.
2022-08-09 20:41:05 +02:00
Paul B Mahol
326ba3592b Fix leaks when calling r_flag_all_list() ##core 2022-08-09 20:41:05 +02:00
Paul B Mahol
090bba7945 Fix several bugs when interacting in VE mode ##cons
No need to handle non-truecolor mode separately,
there is conversion internally to lesser formats.
Also conversion was wrong, using lower bits instead
of higher bits.

Disallow setting colors to fully black foreground and
background, this is so user does not shot itself in foot
by having to restart r2 because some items become invisible.

Limit opt to sensible values, prevent bad user experience.
2022-08-08 19:23:09 +02:00
Paul B Mahol
454e8c61ab Fix leak in nextpal() ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
1bcc3670a7 Fix leaks in VE mode ##cons 2022-08-08 19:23:09 +02:00
Paul B Mahol
c163b3a715 Fix leak of memory returned by r_str_ansi_crop() ##cons 2022-08-08 19:22:49 +02:00
pancake
c0d3c226f1 Enable emulation in /as, it's fast enough and results are better ##search
* Use x16 on macOS and x8 on Linux
* Add test against glibc
2022-08-07 18:42:10 +02:00
Paul B Mahol
19f8235062 Fix leak in 'aex' command. ##anal 2022-08-07 16:24:55 +02:00
Paul B Mahol
4ac5862a90 Fix compilation warning ##anal
Fix logic in code.
2022-08-07 16:24:55 +02:00
Paul B Mahol
11c2d8de07 Silence compilation warning in show_reg_args() ##anal 2022-08-07 16:24:55 +02:00
Paul B Mahol
d747f49147 Fix leak in r_core_esil_step() ##anal 2022-08-07 16:24:55 +02:00
pancake
ddf483893e Test and benchmark --with-sysmagic in the CI ##search
* Improve output of search.verbose
* Remove conflictive magic signature
2022-08-07 16:24:08 +02:00
pancake
4f1cbdc6fc Fix null deref on non-capstone builds ##crash 2022-08-07 13:48:11 +02:00
Paul B Mahol
75deea0d96 Check that vector length is not 0 ##anal 2022-08-07 12:08:20 +02:00
Paul B Mahol
0f2e7dfdcc Fix leak of list when using asj command ##anal 2022-08-07 12:08:20 +02:00
Paul B Mahol
e5234b920c Fix leaks caused by not calling r_anal_op_fini() ##anal 2022-08-07 12:08:20 +02:00
Paul B Mahol
9b9a7ee892 Fix leak in bin_sections ##bin
No need to call strdup for last r_listinfo_new() parameter.
r_listinfo_new() strdups internally.
2022-08-07 12:07:34 +02:00
Paul B Mahol
7246782899 Fix leak in error path of r_core_anal_search_xrefs() ##core 2022-08-07 00:30:05 +02:00
Paul B Mahol
bca169d07f Fix leak of pointer left behind ##core 2022-08-07 00:30:05 +02:00
erfur
0133e92709
Emit json when radiff2 is run with -Cj ##diff 2022-08-07 00:20:57 +02:00
Paul B Mahol
dc28629707 Fix leak in some yanking cases ##util 2022-08-05 14:26:05 +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
6ca1563d21 Move eprintf message to debug log ##util 2022-08-05 14:26:05 +02:00