pancake
0f5b8b0809
Use VARPREFIX and ARGPREFIX instead of "var" and "arg"
2022-04-18 23:47:18 +02:00
pancake
1546300810
Handle ^C in fg and improve ^C in pd ##shell
2022-04-13 00:14:27 +02:00
Sergi Àlvarez i Capilla
64a82e284d
Fix UAF in aaef
##crash
...
* Reported by @hdthky
* Reproducer: uaf-aef
* BountyID: e98ad92c-3a64-48fb-84d4-d13afdbcbdd7
2022-04-08 20:39:43 +02:00
pancake
d60ab7010f
Fix last covs
2022-04-01 12:50:39 +02:00
pancake
982daa3d54
Allow abt to handle addresses in the middle of basic blocks ##analysis
2022-03-29 11:35:38 +02:00
pancake
691bdd0472
Initial implementation of the aavr command ##search
...
* Find relative references using Apple's Swift pointer mangling
* Add aav? help message
2022-03-27 12:23:58 +02:00
pancake
f8a35da205
Dont use != NULL as its implicit in C, even for bool casts ##refactor
...
$ find binr libr -name "*.c" -exec sed -i -e 's/ != NULL//g' {} \;
2022-03-15 19:54:04 +01:00
pancake
4bed905d8a
Fix msvc warnings ( #19827 )
2022-03-15 19:27:34 +01:00
Sergi Àlvarez i Capilla
f44932aafa
Add afiq for quiet functino info and refactor the anal/abi.inc ##analysis
2022-03-15 11:40:03 +01:00
Sergi Àlvarez i Capilla
d07bcfa8b2
Add help for 'pie?', add pieq and add ninstr in afi[j] ##analysis
2022-03-15 11:40:03 +01:00
Lazula
d507bda91c
Remove R_EMPTY and R_EMPTY2
2022-03-13 11:26:10 +01:00
pancake
b2cb721bf0
Restrict local vars and args in a 8KB range, otherwise skip ##analysis ( #19811 )
...
* Update and verify tests accordingly, new output is better
* Optimize function emulation by reusing bbdata
2022-03-10 16:45:59 +01:00
Sergi Àlvarez i Capilla
f72b7b5a50
Do not perform var/arg analysis on Java/Dalvik ##anal
...
* Fix almost an infinite loop on a clusterfuzzed dex file
2022-03-07 18:11:07 +01:00
Sergi Àlvarez i Capilla
10517e3ff0
aaef on arm/thumb switches causes uaf ##crash
...
* Reported by peacock-doris via huntr.dev
* Reproducer: poc_uaf_r_reg_get
2022-03-04 11:11:49 +01:00
Lazula
b5a26e0c0c
Significantly reduce memory leaks in anal tests ( #19759 )
2022-02-27 14:57:58 -06:00
pancake
8729c7d3b1
Fix #19410 - Fix cursor mode regression ##panels
2022-02-01 18:21:00 +01:00
Dennis Goodlett
249222cfe7
Simpler var counting API ##analysis
2022-01-31 01:46:54 +01:00
Lazula
6b45040a4b
Implement pdu ( #19616 )
2022-01-25 03:14:52 -06:00
pancake
f2995c2949
Introduce r_strf and stop using sdb_fmt ##util
2022-01-18 18:35:31 +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
Lazula
ad749a0b1a
Fix static/R_API function definition formatting
...
* Remove spaces before parens
* Remove spaces after asterisks
2021-12-21 20:58:12 +01:00
pancake
575c26f329
Fix some format string warnings in the mingw ci job
2021-12-21 00:31:28 +01:00
Lazula
22ed7d5143
Remove unused read_buffer_only argument from r_core_print_disasm()
2021-12-11 10:57:48 +01:00
aviciano
5a0bc927e7
Fix #16178 - Rename the r_anal_fcn* apis to r_anal_function*
2021-11-21 20:18:46 +01:00
RHL120
59b5ec4e3c
Fix a problem serializing vartypes ##projects
...
That was causing some functions to not be reloaded after saving the project
2021-11-05 11:26:55 +01:00
Sergi Àlvarez i Capilla
4aff1bb002
Fix oobread crash in the analysis loop with corrupted ELFs (tests_64928) ##crash
...
Reported by giantbranch of NSFOCUS TIANJI Lab
2021-10-30 14:11:29 +02:00
condret
fe87ab37a0
Remove redundant RPVector maps from RIO
2021-10-26 00:16:09 +02:00
pancake
cf5cd6df56
Fix latest covs ( #19259 )
2021-10-19 10:49:11 +02:00
pancake
dea41ee3c6
Honor (min|max)-opsz and buffer bounds in aar ##anal
...
* Speedup aar from 120s to 7s
2021-10-16 13:14:59 +02:00
condret
82ebbac993
Rename r_io_map_next_available to r_io_map_locate and add use_banks support ##io
2021-10-09 03:20:49 +02:00
condret
f65be8067f
Kill r_io_map_next_address ##io
2021-10-08 23:26:18 +02:00
pancake
f3563759ef
Move more context fields out of the globals ##cons
...
* Fix |H |T and | suffixes when webserver in background
* Ignore noflush in the RCons.flush() call
2021-09-30 01:04:03 +02:00
Lazula
006d759bc7
Fix #18887 - Invalid instructions near the end of data in loop ##disasm
...
* Add debug logs for disasm()
* Remove unused RDisasmState idx member and correct to index
* Set idx to ds->index and add more debug output
* Remove ds->entry
* Fix behaviour in pr_bb()
* Prevent overread in pdb command
* Track disassembler count by byets when using cbytes
* Change function signatures
* Fix pir behaviour by using print_disasm_instructions
2021-09-19 22:37:13 +02:00
Royos90
67e82db7cf
##anal
...
Chaned found r_anal_fcn api calls to r_anal_function to reflect new changes.
2021-07-25 21:56:44 +02:00
pancake
352630295e
Polish some asserts here and there ( #18927 )
2021-07-23 09:36:10 +02:00
Davide Pizzolotto
2d11342d42
Fix #18852 wrong tables in graphviz dot
2021-06-22 10:57:04 +02:00
pancake
333bbcd06b
Optimize infinite loop on non-quantum computers ##anal ( #18846 )
2021-06-19 12:10:49 +02:00
pancake
26df0c0618
Avoid assert on avr's null cmpreg test ##anal ( #18845 )
...
* Early emulation interruption for faster ^C
2021-06-19 11:04:41 +02:00
pancake
dabc2bf2d0
Fix aef and aaef to actually find xrefs at least ##anal ( #18834 )
2021-06-17 10:43:51 +02:00
pancake
9f64bd3228
Fix #18323 - honor anal.calls in aa ##anal
2021-04-25 01:11:57 +02:00
pancake
55699b9a2a
Use afls in aflm call on ppc test to avoid analysis order diff issues
2021-04-24 22:44:02 +02:00
murphy
a0e5149df9
Minor changes due to code review
2021-04-01 21:52:06 +02:00
murphy
f6d735e7a8
Fix 1355077 Resource leak
...
Fix 1355075 Resource leak
Fix 1408978 Resource leak
Fix 1408693 Resource leak
Fix 1408947 Resource leak
Fix 1355076 Resource leak
2021-04-01 21:52:06 +02:00
pancake
a7c08c15ce
Don't scream out WARNINGs, capitalizing it is enough
2021-03-19 11:02:54 +01:00
Khairul Azhar Kasmiran
637af6323f
aae: Realign on fcn start if not in bb ##anal
2021-03-15 02:23:54 +01:00
Alexis Ehret
f48729acd5
Random null deref and more size_t fixes
2021-03-15 01:48:59 +01:00
pancake
e7c29ed232
Boolify cfg.debug ( #18452 )
2021-03-14 22:22:04 +01:00
condret
eb48818342
Rename r_io_map_get to r_io_map_get_at ##io
2021-03-12 17:56:46 +01:00
mrglm
6fc16a716b
Fix #18284 (json command returning empty string) ##anal ##json ( #18439 )
2021-03-11 20:22:54 +01:00