12446 Commits

Author SHA1 Message Date
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
Paul B Mahol
038287c551 Check if RList* is available before calling r_list_get_n() ##util 2022-08-05 14:26:05 +02:00
pancake
116bb77ffc Fix free(stack) crash in fortunetypes list 2022-08-01 18:48:39 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
RHL120
a86c2a1aaa
Minor indent fixes in projects.c 2022-08-01 13:40:05 +02:00
Paul B Mahol
4e47807078 Fix r_cons_printf call in calculator ##view 2022-08-01 09:54:18 +02:00
pancake
4f0fd49b1d Fixes riscv w64 build and improve console printing 2022-08-01 05:43:49 +02:00
pancake
8c51861578 Fix consola 2022-08-01 05:37:39 +02:00
pancake
8b44cee545 Add Assembler entry in Tools/ ##panels 2022-08-01 05:32:43 +02:00
pancake
9b1bc3f85f Fix drf for esil in panels and indent the egg 2022-08-01 04:18:42 +02:00
Paul B Mahol
8a11b29927 Add FPU/XMM/YMM panel displays ##view 2022-08-01 04:10:57 +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
Paul B Mahol
02e306efa2 Fix leaks when switching color themes 2022-07-31 14:24:10 +02:00
Paul B Mahol
5cb5f9aab2 Fix leak of anal_arch in r_core_anal_cc_init() 2022-07-31 14:24:10 +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
Paul B Mahol
2a1872fd1d Fix leak of abandoned buffer in anal_block_cb() 2022-07-30 07:22:36 -04:00
Paul B Mahol
8ffa196193
Fix not calling r_asm_op_fini() when needed (#20506)
The RAsmOp is used on stack when disassembling and after its content is not need it needs to call its _fini to free possible heap memory previously allocated.
2022-07-29 07:30:05 -04:00
Paul B Mahol
8b84123b78 Fix leak by freeing pointer on stack after it is abandoned 2022-07-28 19:05:51 -04:00
pancake
a4c97fb052 Dont show asm.describe on strings ##disasm 2022-07-28 17:13:29 -04:00
Paul B Mahol
bc268f1c46 Fix recently introduced stack buffer overflow ##visual 2022-07-28 15:33:49 -04:00
Paul B Mahol
50ba95eab1 Fix color changing for same block and prc=f ##print
The color issue of small numbers have been fixed in another commit.
2022-07-28 15:31:49 -04:00
Paul B Mahol
dae6293dab
Fix p=F output ##print 2022-07-27 17:14:50 -04:00
Paul B Mahol
e596a0bf9b
Make PageUp/Down keys less laggy ##visual 2022-07-27 16:08:35 -04:00
Paul B Mahol
77291f5d88 Fix small leak of list in cmd_prc_zoom() 2022-07-27 07:30:58 -04:00
Paul B Mahol
6a891ed683 Fix /rx ##search
Simplify code a little.
2022-07-27 07:28:33 -04:00
Lazula
cc70716d96 Add missing break in wtf switch statement 2022-07-25 16:07:52 -04:00
Paul B Mahol
b446f7ab47 Fix some memory leaks caused by buggy macros for reference counting 2022-07-24 15:24:32 -04:00
Lazula
cd15bdb1e8 Use R_LOG_ERROR for failure to decode b64 2022-07-24 15:23:53 -04:00
Lazula
7b6e462d23 Use encoded b64 length since API doesnt support max decoded length 2022-07-24 15:23:53 -04:00
Lazula
3265524885 Fix wtf base64 alias and add tests 2022-07-24 15:23:53 -04:00
Lazula
4ce57c06a8 Refactor cmd_wt() 2022-07-24 15:23:53 -04:00
Lazula
65ff60cf02 Move wt? and wt\0 into switch 2022-07-24 15:23:53 -04:00
Lazula
4c16c91c05 Start using argv and move wts inside switch 2022-07-24 15:23:53 -04:00
Lazula
5ea889c126 cmd_wt() rename str -> input 2022-07-24 15:23:53 -04:00
pancake
6ee9367a1b
Use of RNum.calc in rax2 to honor error code ##tools 2022-07-23 10:23:51 -04:00
Lazula
e74aaf1127
Fix memory management in cmd_wt() (#20477) 2022-07-22 14:16:19 -05:00
pancake
a723a3eb11
Fix the previous fix 2022-07-21 18:12:25 +02:00
pancake
22a5207860 Fix buffer overrun in pd reported by durandal_1707 ##crash 2022-07-21 17:32:39 +02: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