27205 Commits

Author SHA1 Message Date
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
Lazula
26be488a41 Fix item freeing in r_sign_add_name() 2022-01-11 01:10:00 +01:00
Lazula
681b2fe50a Fix memory leaks in single_block_analysis() 2022-01-11 01:10:00 +01:00
Lazula
f2707bfc05 Fix memory leak in r_core_bin_export_info() 2022-01-11 01:10:00 +01:00
Sergi Àlvarez i Capilla
5bdc32053d Use the working commit from capstone 2022-01-10 14:32:39 +01:00
pancake
0caa0bb651 Add scr.theme and Lt commands as alias for 'eco' ##cons 2022-01-09 23:56:31 +01:00
Sergi Àlvarez i Capilla
32b292b71d Handle instruction operands in wasm.asm ##asm 2022-01-09 23:46:28 +01:00
pancake
6ae845c991
Move asm/wasm into anal, and add new opasm() callback ##abi
* ABI break for all anal plugins
2022-01-09 22:55:34 +01:00
Sergi Àlvarez i Capilla
1eaca080ca Add 'pcc' command to print block as C char*string ##print 2022-01-09 22:33:31 +01:00
Sergi Àlvarez i Capilla
084064bdf1 Fix oobread transfering large packets via qnxr 2022-01-09 21:41:25 +01:00
Sergi Àlvarez i Capilla
e60bc5d12c Fix dyldcache uninitialized variable issue 2022-01-09 21:34:44 +01:00
Sergi Àlvarez i Capilla
189531ea78 Fix oobread in loongarch 2022-01-09 21:28:50 +01:00
pancake
24ece3a757
Remove uaf patch for csv5 (upstream is good again) 2022-01-09 19:48:35 +01:00
pancake
fb0ec6ed00
Use stdint like if there was no yesterday ##refactor
* stdint is needed to build r2, so there's no need to keep using
  those weak basic types anymore, and we can just alias them
2022-01-09 19:48:16 +01:00
pancake
6561ad536b Add help for /re? and handle invalid subcommands properly 2022-01-09 19:10:09 +01:00
Sergi Àlvarez i Capilla
2fe573880c Bring back the old afls behaviour and update tests 2022-01-07 18:10:50 +01:00
Dennis Goodlett
b4e87f1715 Fix fast jump with ahc on register calls ##visual 2022-01-07 12:32:13 +01:00
Sergi Àlvarez i Capilla
5f2a9dfa34 Fix 'afls' and add tests ##analysis 2022-01-07 12:12:46 +01:00
Sergi Àlvarez i Capilla
8909464c45 Handle 'ph?' 2022-01-07 03:42:23 +01:00
Sergi Àlvarez i Capilla
ab1e0de94c Remove asm.hexagon, anal one is enough ##refactor 2022-01-07 03:24:07 +01:00
Sergi Àlvarez i Capilla
ef915ccf3f Implement /aF and /aFd to search for instructions in functions ##search 2022-01-07 02:19:13 +01:00
Sergi Àlvarez i Capilla
f21bc55f27 Fix assert in 'v.' 2022-01-07 01:50:05 +01:00
Sergi Àlvarez i Capilla
97f3f7cb6a Fix isqq. command ##bin 2022-01-07 01:44:58 +01:00
Sergi Àlvarez i Capilla
0c355d8ff9 Fix R2PM_DEPS handling in r2pm -ci ##tools 2022-01-07 01:41:54 +01:00
Sergi Àlvarez i Capilla
ffcca7dfb5 Increase local buffer to avoid some scary long instruction truncation 2022-01-07 01:07:04 +01:00
Sergi Àlvarez i Capilla
75f813a4a9 Update tests and help about asm.leahints -> asm.hint.lea 2022-01-07 00:56:27 +01:00
Sergi Àlvarez i Capilla
478c7d2d1d Fix capstone v5 regression 2022-01-07 00:56:27 +01:00
Sergi Àlvarez i Capilla
5630b7f082 Handle .wren and .qjs file extensions without plugins installed 2022-01-06 23:37:02 +01:00
Sergi Àlvarez i Capilla
838a1b90c7 Fix uaf in tab 2022-01-06 23:36:58 +01:00