Commit Graph

28522 Commits

Author SHA1 Message Date
Paul B Mahol
c163b3a715 Fix leak of memory returned by r_str_ansi_crop() ##cons 2022-08-08 19:22:49 +02:00
Paul B Mahol
b4d929f2c4 Check for RGraph in r_graph_free() ##util 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
474c258c29 Fix unnecessary large allocation on fuzzed machos 2022-08-07 15:50:57 +02:00
pancake
4f1cbdc6fc Fix null deref on non-capstone builds ##crash 2022-08-07 13:48:11 +02:00
Paul B Mahol
ac4ef739a1 Check list allocation return value ##anal 2022-08-07 12:08:20 +02:00
Paul B Mahol
6d3e0346b7 Fix leak of RAnalBlock in false return code path ##anal
Block should be unreferenced after it have been referenced
above while loop.

Fixes possible leaks with '-e bin.cache=true'.
2022-08-07 12:08:20 +02:00
Paul B Mahol
36347f19f2 Fix broken 'rafind2 -e' test 2022-08-07 12:08:20 +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
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
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
a9956f7192 Fix leak of char* in r_table_visual_list() ##util 2022-08-07 12:07:34 +02:00
Paul B Mahol
833b8d92a0 Fix integer overflow in match_c_lui() ##asm 2022-08-07 00:30:05 +02:00
Paul B Mahol
c79b5f76cf Fix integer overflow in R_ANAL_JAVA_COND_OP 2022-08-07 00:30:05 +02:00
Paul B Mahol
ef0b0ddc7f Fix integer overflow in R_BIN_NM_BLOCKS 2022-08-07 00:30:05 +02:00
Paul B Mahol
2d496db14a Fix leaks on error path in r_io_zip_open_many() ##io 2022-08-07 00:30:05 +02:00
Paul B Mahol
cafbed4ea8 Fix memory leak on error path of rabin_do_operation() ##tools 2022-08-07 00:30:05 +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
Paul B Mahol
3a6e3c797f Fix leak by inappropriate use of realloc() 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
cc4a6115f6 Tell correct command for function renaming 2022-08-07 00:03:40 +02:00
Paul B Mahol
dc28629707 Fix leak in some yanking cases ##util 2022-08-05 14:26:05 +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
802eb32aa2 Fix leaks of allocated memory for duplicate plugins ##tools 2022-08-05 14:26:05 +02:00
Paul B Mahol
ab4efd117c Check return value of r_list_new() ##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
Paul B Mahol
da0f39b082 Fix leak in r_log_vmessage() ##util 2022-08-05 14:26:05 +02:00
pancake
d6cd7e74ba Improve pid directive in rarun2, better info reporting ##tools 2022-08-02 03:15:24 +02:00
Dennis Goodlett
a28d10f222 Add pickle descriptions ##anal 2022-08-01 23:49:18 +02:00
pancake
a1c68b92dd After release version bump 2022-08-01 19:39:03 +02:00
pancake
a66f301d18 Upgrade to the latest capstone-next for ppc purposes ##arch 2022-08-01 19:31:10 +02:00
pancake
116bb77ffc Fix free(stack) crash in fortunetypes list 2022-08-01 18:48:39 +02:00
pancake
54d66a1536 Fix typo in m1 build script 2022-08-01 18:35:22 +02:00
Paul B Mahol
bf386b221d Remove obsolete tip, and fix another one. 2022-08-01 18:20:10 +02:00
pancake
2913f019f9 Release 5.7.6 - codename mapi 2022-08-01 16:56:33 +02:00
Richard Patel
b78855c38d Refactor a few eprintf 'Cannot …' to R_LOG_ERROR 2022-08-01 16:46:46 +02:00
pancake
34323f2c30
GIT_TAP=$R2_VERSION if no .git is found ##build 2022-08-01 15:57:50 +02:00
RHL120
a86c2a1aaa
Minor indent fixes in projects.c 2022-08-01 13:40:05 +02:00
Paul B Mahol
e874bc55c1 Fix for riscv ##asm 2022-08-01 09:54:18 +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