27138 Commits

Author SHA1 Message Date
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
Sergi Àlvarez i Capilla
d7117df242 Do not use sdb_fmt in arm.cs plugin 2022-01-06 23:21:00 +01:00
Sergi Àlvarez i Capilla
2f45489441 Fix pdsf?, forbid V? and remove newlines in pxA? ##print 2022-01-06 23:03:12 +01:00
Sergi Àlvarez i Capilla
6ba2de54f7 Update to the latest capstone 2022-01-06 22:55:00 +01:00
Sergi Àlvarez i Capilla
06457a9044 Add quickjs benchmark script 2022-01-06 22:54:55 +01:00
Sergi Àlvarez i Capilla
37897226a1 Fix use-after-free in iobank rbtree usage ##io
* See havoc4 bin for reproducer
* Reported via huntr.dev by 'Cen Zhang'
2022-01-06 21:57:58 +01:00
Sergi Àlvarez i Capilla
7cfd3678f9 Initial implementation of the dummy benchmark ##tests 2022-01-06 21:52:36 +01:00
Sergi Àlvarez i Capilla
8194bfc6c2 Implement rarun2 time=true attribute ##shell 2022-01-06 21:40:01 +01:00
Lazula
987ad145ab
Minor updates to README.md (#19546) 2022-01-06 18:05:42 +01:00
Sylvain Pelissier
e3256a2e6d
Fix typo in capstone.md 2022-01-06 18:04:43 +01:00
pancake
1ed14ca53a
Fix #19541 - Fix null deref and stack exhaustion bugs in the kernelcache ##bin 2022-01-01 18:06:26 +01:00
Lazula
2470a6c284
Rewrite user-facing documentation (#19543) 2022-01-01 06:11:46 -06:00
Lazula
b4195becaa Fix heap overread in loongarch when len < 4 ##anal 2022-01-01 12:21:30 +01:00
Sergi Àlvarez i Capilla
500686304a Fix UAF in p9 parser, add test 2021-12-30 21:23:10 +01:00
Dennis Goodlett
2a117d5f4f
Add Rabin Karp algorythm to ##search 2021-12-30 10:30:30 +01:00
Dennis Goodlett
d76bb693f2 Add r_search_maps to ##search 2021-12-30 10:30:13 +01:00
Dennis Goodlett
efe2a28e94 Search adjacent maps together ##search 2021-12-30 10:30:13 +01:00
Lazula
a661057c7f Update doc files for rpm dist 2021-12-30 10:29:50 +01:00