27233 Commits

Author SHA1 Message Date
Lazula
56018d73c9 Free fmt2 under correct conditions in r_print_format_struct_size() 2022-01-15 16:42:34 +01:00
Lazula
6b8e6ab5f5 Always free key in r_bin_addr2line2() 2022-01-15 16:42:34 +01:00
Lazula
40c119e20a Free fi in cmd_esil_mem() 2022-01-15 16:42:34 +01:00
Lazula
8d65cd4561 Free strings in Elf_(r_bin_elf_get_head_flag)() 2022-01-15 16:42:34 +01:00
Lazula
5a38486561 Free buffer in aespc command 2022-01-15 16:42:34 +01:00
Lazula
0eaa918903 Free tmpopstr in r_core_disasm_pdi_with_buf() 2022-01-15 16:42:34 +01:00
Lazula
0200498e65 Fix command string leak in do_asm_search() and use r_list_free() 2022-01-15 16:42:34 +01:00
Lazula
ae3f643c06 Free inp in r_core_asm_strsearch() 2022-01-15 16:42:34 +01:00
Lazula
85e3520182 Fix ds->opstr leak in ds_build_op_str 2022-01-15 16:42:34 +01:00
Lazula
77f56015e3 Fix leaks in esil2c operations 2022-01-15 16:42:34 +01:00
Lazula
aa10d544b1 Update memory fixes in r_print_format_struct_size() 2022-01-15 01:11:21 +01:00
Lazula
852dc0eeaa Remove const from rels to prevent r_list_free complaint 2022-01-15 01:11:21 +01:00
Lazula
f4262f55f8 Use R_FREE for fmt in r_print_format_struct 2022-01-15 01:11:21 +01:00
Lazula
c8b6201a3d Free var string in esil2c_neg() 2022-01-15 01:11:21 +01:00
Lazula
5a6fbfed04 Free var string in esil2c_xor() 2022-01-15 01:11:21 +01:00
Lazula
d68f803bd4 Free hint in 'aho*' command 2022-01-15 01:11:21 +01:00
Lazula
36bead7154 Free relocs in foreach3list() 2022-01-15 01:11:21 +01:00
Lazula
34db2e86b3 Free fmt in r_print_format_struct() 2022-01-15 01:11:21 +01:00
Lazula
596044a910 Free format in r_print_format_struct_size() 2022-01-15 01:11:21 +01:00
Lazula
11f4be900a Use ls_free for ls in r_core_bin_export_info() 2022-01-15 01:11:21 +01:00
Lazula
c6bef817ae Fix leaks when pfile is overwritten in r_main_radare2() 2022-01-15 01:11:21 +01:00
Lazula
1e3535299c Free recursive help string 2022-01-15 01:11:21 +01:00
Lazula
78a4b02470 Fix return values and entry leak in check_inlined_canary() 2022-01-15 01:11:21 +01:00
Sergi Àlvarez i Capilla
ac62073ba8 Fix warning 2022-01-14 22:45:25 +01:00
Lazula
26cfc906e4
Ignore trailing backslash in unescape_special_chars() (#19585) 2022-01-14 22:44:10 +01:00
pancake
5281f27aa5
Bring back the 32bit builds for Cydia ##build 2022-01-14 19:41:26 +01:00
Sergi Àlvarez i Capilla
0eab6e9fad Add ws1, ws2 and ws4 commands for variable size pascal strings ##write 2022-01-14 18:37:14 +01:00
Sergi Àlvarez i Capilla
902ec02b2c Add missing include for codemeta 2022-01-14 17:53:17 +01:00
Sergi Àlvarez i Capilla
4a3db2a1cd Rename retdec plugin reference name in the pdz command 2022-01-14 16:58:36 +01:00
Sergi Àlvarez i Capilla
5a024f10fe Fix UBSAN in armass64 when shifting a signed variable
* runtime error: left shift of 128 by 29 places cannot be represented in type 'int'
2022-01-14 12:42:04 +01:00
Sergi Àlvarez i Capilla
e8fea8f2d1 Add arc.mk in shared builds 2022-01-14 12:30:51 +01:00
pancake
7d47603098 More esil support for v850.np 2022-01-14 01:37:44 +01:00
Lazula
81c599779e Free zfo in r_io_zip_open_many() when not appending 2022-01-14 00:28:09 +01:00
Lazula
b64e348224 Free map_list when r_io_bank_get() fails in r_io_map_get_by_fd() 2022-01-14 00:28:09 +01:00
Lazula
21e5728030 Always free argv in 'o' and 'o ' commands 2022-01-14 00:28:09 +01:00
Lazula
c751d9b8b7 Use r_skiplist_insert_autofree() in mach0 walk_bind_chain_callback() 2022-01-14 00:28:09 +01:00
Lazula
5b2ffab0d7 Free strbuf when match is false in v850np disasm 2022-01-14 00:28:09 +01:00
Sergi Àlvarez i Capilla
2cc473640f Expose RDebug for Linux-arm64 is also for 32bit 2022-01-13 19:20:52 +01:00
Sergi Àlvarez i Capilla
1a6ac566c3 Expose the 32bit arm reg profile on 64bit hosts ##debug 2022-01-13 18:57:56 +01:00
pancake
070c51e900
Add support for x86-32 callpop artifacts ##analysis 2022-01-13 18:34:32 +01:00
Sergi Àlvarez i Capilla
6dca5aca6f BinNE plugin delegates should be static 2022-01-13 18:15:13 +01:00
Francesco Tamagni
bae21844d0
Parse relocs from Mach-O chained binds if no opcodes ##bin 2022-01-13 16:33:17 +01:00
pancake
f56a9530b0 Initial steps to implement ESIL for the v850.np plugin 2022-01-13 00:46:05 +01:00
pancake
1aa2ec6e69
Add 'first session' example in the README ##doc 2022-01-12 15:46:49 +01:00
Sergi Àlvarez i Capilla
d83aebe94f Rename config var anal.detectwrites -> anal.onchange 2022-01-12 12:21:12 +01:00
pancake
fba739a1ee
Add ablc, ab-, Fix and optimize in af- and aafs ##analysis
* Add ablc, ab-, Fix and optimize in af- and aafs ##analysis

* delete dangling basic blocks after 'aafs' when using 'af-*'
* add test for aafs and ablc
* queue reanalysis on write, and mark detectwrite tests as broken
* function reanalisis tests in a separate file
2022-01-12 12:07:26 +01:00
Sergi Àlvarez i Capilla
fdc1ba6d6d Rewrite r_list_uniq with a faster algorithm ##core
* Adds _inplace() variant to avoid creating a new list
* Speedups aafs, aflm, pd, aflt and aflj
2022-01-11 23:29:47 +01:00
Francesco Tamagni
169c643a7a Add support for rebasing ARM64E_USERLAND24 chained format ##bin 2022-01-11 12:51:32 +01:00
Sergi Àlvarez i Capilla
3fb7de3e2d Improve pcc output and add a test ##print 2022-01-11 02:59:30 +01:00
Lazula
dc21a2e081 Clean up sp->event in r_spaces_fini() 2022-01-11 01:10:00 +01:00