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
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
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
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
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
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
8194bfc6c2
Implement rarun2 time=true attribute ##shell
2022-01-06 21:40:01 +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
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
Sergi Àlvarez i Capilla
3b04d3ef40
Add missing =SN for v850
2021-12-26 11:00:35 +01:00
Lazula
ea630ca19f
Kill HAVE_EPRINTF, replace with ifndef eprintf
2021-12-25 09:16:49 +01:00
Sergi Àlvarez i Capilla
8d0b8ae79b
Implement iS, command (table query format for section listing) ##bin
2021-12-23 20:48:16 +01:00
Sergi Àlvarez i Capilla
838b253d52
Add axl command for consistency with afl for 'axlc' ##analysis
2021-12-23 20:24:30 +01:00
Sergi Àlvarez i Capilla
8030c906a0
Fix reference order and use the API in sixref (2x faster) ##analysis
2021-12-23 20:00:04 +01:00
Sergi Àlvarez i Capilla
1eaee48370
Initial implementation of the 'aafs' command ##analysis
...
* Find function entrypoints and creates a single basic block function
* Useful for fast initial analysis instead of aaa (30min vs 5s)
* Handy to get xrefs context in function boundaries
2021-12-23 18:58:38 +01:00
Sergi Àlvarez i Capilla
000e0361d6
Fix harmless warning in v850np
2021-12-23 18:19:10 +01:00
Sergi Àlvarez i Capilla
b01d2140dc
Optimize and fix heap overflow in asm.tabs using RStrBuf ##crash
2021-12-23 18:08:14 +01:00
junchao-loongson
efd05bc7e9
Add support for the new loongarch architecture ##analysis
...
* Disasm, emulation, analysis and ELF support updated
2021-12-23 12:37:29 +01:00
Dennis Goodlett
f8f9599154
Move /e to new search API ##search
...
* Move global var to struct
* Add r_cons_is_breaked
* Use RConsBind
2021-12-23 00:36:51 +01:00
Lazula
4a1ef1de44
Remove undocumented and unlogged seek behavior when no alias match is found
2021-12-22 23:36:25 +01:00