Commit Graph

27 Commits

Author SHA1 Message Date
Richard Patel
dcd740dd53
Refactor a few eprintf to R_LOG_ERROR ##refactor 2022-08-01 00:21:21 +02:00
Richard Patel
363df75c06
Replace some instances of eprintf with R_LOG_ 2022-06-28 02:49:42 +02:00
pancake
f35fd1c33e
Initial implementation of shared RAsmConfig ##asm (#19972) 2022-04-22 19:47:25 +02:00
pancake
575c26f329 Fix some format string warnings in the mingw ci job 2021-12-21 00:31:28 +01:00
Sergi Àlvarez i Capilla
4982055f30 Fix the last covs reported in pyc/avr/aao 2021-12-13 23:07:41 +01:00
pancake
fdc9f4c36c
Fix #19476 - heap overflow in aao ##crash 2021-12-09 01:53:00 +01:00
Sergi Àlvarez i Capilla
d896c81566 Fix assert spotted in the asan ci for aao 2021-11-02 12:20:08 +01:00
pancake
7226f0e43c
Refix the objc parsing boundary check (#18648)
Co-authored-by: pancake <pancake@nopcode.org>
2021-05-01 02:45:54 +02:00
pancake
6d33510afe Fix boundary check in aao to parse more refs ##anal 2021-04-28 19:24:31 +02:00
pancake
81be6c177c
Fix long time analyzing oob objc data ##bin (#18479)
* Fix long time analyzing oob objc data ##bin

* Reproducer: r2 -A hang_02.dms
2021-03-16 12:49:34 +01:00
pancake
96756a3048 Simplify RConfigHold APIs and update calls from RCore ##config 2021-02-05 18:48:01 +01:00
pancake
d441baad62
Fix latest COVs, remove dead code and unnecessary global variables (#17231)
Co-authored-by: pancake <pancake@nopcode.org>
2020-07-22 19:37:31 +08:00
pancake
52a64537fb
Fix null deref in aao (#17313) 2020-07-20 09:19:52 +02:00
pancake
09c66157d2
Optimize 'aao' objc analysis ##anal (#17099)
* Optimize 'aao' objc analysis ##anal

* Better logging messages for objc analysis

* Remove SDB from aao (5.5s vs 6s)

* Add another objc test, broken in this branch, fine in master

* Fix a regression, add more tests, improve code checks

* Some more simplifications

* More cleanup

* More refactorings

* Detect large reads and skip them out

* Address comments

Co-authored-by: pancake <pancake@nopcode.org>
2020-07-03 08:51:05 -05:00
gkpln3
b19078d83a
Fixed hang when analysing objc binaries ##bin (#17021)
* Fixed an issue when analyzing Objective C methods, `count` can be 0xffffffff in some places, which in turn can lead to integer overflow, causing radare2 to try and analyze the whole memory space, effectively causing it to hang.

Co-authored-by: Riccardo Schirone <ret2libc@users.noreply.github.com>
Co-authored-by: pancake <pancake@nowsecure.com>
2020-06-15 14:29:59 +08:00
pancake
89cfe05d2d
Add axv and afvx and afv= to visualize var R/W accesses ##anal (#16516) 2020-05-13 15:59:05 +02:00
pancake
f8a9011924
Rename core.assembler to core.rasm (#16814) 2020-05-13 01:28:23 +02:00
Florian Märkl
edf1be10d1
Refactor Meta out of SDB (#16716) 2020-05-09 20:49:28 +02:00
Liumeo
479e026565
meaningless const return for built-in type (#16463) 2020-04-07 23:46:33 +02:00
pancake
2bfee0a270 Blindfix #13659 - crash in aao with a fuzzed macho 2019-04-08 16:33:10 +02:00
pancake
8afb993fae Fix oobread in aao 2019-03-31 22:17:05 +02:00
Maijin
82d1e96b7a Add aao in aaa #13445 ##anal 2019-03-23 14:59:48 +01:00
Riccardo Schirone
23161bbf7f Remove most warnings during compilation 2019-02-14 10:40:25 +01:00
pancake
9f457950b0 Fix 'aao' command 2019-02-03 15:53:47 +01:00
pancake
b207054527 Implement vbc [gG] and fix crash in aao 2019-01-30 14:46:14 -06:00
pancake
c9472f4768 Fix section->size = 0 assert 2019-01-30 07:36:39 -06:00
pancake
4e1b52ab0f Initial implementation of the 'aao' command ##anal 2019-01-29 13:27:29 -06:00