27191 Commits

Author SHA1 Message Date
pancake
4884287b81
Update to the latest thread-friendly sdb 2022-01-18 19:25:08 +01:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util 2022-01-18 18:35:31 +01:00
Francesco Tamagni
7127e204a2 Return 0 in case __LINKEDIT is not there 2022-01-17 14:02:27 +01:00
Francesco Tamagni
16c788692b Compute symbols_off from __LINKEDIT vmaddr 2022-01-17 14:02:27 +01:00
Francesco Tamagni
64e163e4fc Get method name base from magic selector if __objc_scoffs isn't there 2022-01-17 14:02:27 +01:00
Francesco Tamagni
798472dd6d Handle random presence of /Versions/ in framework path 2022-01-17 14:02:27 +01:00
Lazula
fda9a52982 Improve EPRINT_CHAR() and add EPRINT_PTR() for arbitrary addresses 2022-01-16 14:18:23 -06:00
Lazula
e9ee449bba Fix grepbuf grep->counter memory leak when buffer is NULL 2022-01-15 16:42:34 +01:00
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