358 Commits

Author SHA1 Message Date
Dima Turchenkov
43eb41efbe functions overlapping prevention 2015-11-17 13:30:18 +01:00
pancake
d91df64286 Initial support for 'an' aka no-return analysis points 2015-11-12 13:47:44 +01:00
pancake
e089449d99 Use the heap in the recursive analysis 2015-11-09 11:53:21 +01:00
pancake
aaccaea40b Update sdb to get lower memory consumption 2015-11-09 05:07:53 +01:00
sghctoma
34b3fb5ed7 Do not change function name to fcn.<addr> if it starts with "fcn." in af+ 2015-11-02 12:00:21 +01:00
pancake
7f4335b431 Show number of basic blocks in afi and extend fcn depth 2015-10-18 21:38:06 +02:00
pancake
be0538a6a8 Fix some windows build warnings 2015-10-08 11:14:10 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
pancake
fe30154228 Honor ^C in aac 2015-09-07 18:12:08 +02:00
pancake
90c22d90ab Fix #3162 - Duplicate(or more) on analysis warnings 2015-09-07 00:30:48 +02:00
pancake
124c99ed75 RecurseAt on eobjmp tested on arm64 2015-08-18 03:09:40 +02:00
pancake
8a5723eb2a Better ls. Add support for cd - and handle BR arm64 instruction
- Analysis with eobjmp has changed a bit, but its still buggy
2015-08-18 02:44:59 +02:00
Riccardo Schirone
6b47a68c91 core/anal,cmd_anal;anal/bb,data,fcn: general cleaning
* core/cmd_anal: extract cmd_anal_all function
* core/anal;anal/bb,data,fcn: indentation
* core/anal;anal/anal,data,fcn: remove dead code
* core/anal: remove macros in the middle of function
* core/anal: avoid blocks in the middle of functions
* core/anal: fix macro name R_ANAL_BB_HA_OPS -> R_ANAL_BB_HAS_OPS
* core/anal: fix if/else if/else
* core/anal: remove r_ prefix from static functions
2015-08-11 08:57:01 +02:00
pancake
85752a5a44 Honor io.sectonly and fix mips tests mapping code without sections 2015-07-09 20:11:15 +02:00
pancake
1cc2a45c07 Fix for the func too big regression 2015-07-09 03:53:10 +02:00
pancake
3f9c96c71e Fix function too big warning issue for ARM/Thumb binaries 2015-07-09 02:13:55 +02:00
pancake
c334632809 Add anal.noncode to avoid analyzing data by default
Fix double-free in core/anal.c
2015-07-05 01:44:45 +02:00
pancake
cf087149cc Fix #2724 - Fix /+ and few warnings 2015-06-30 12:36:13 +02:00
pancake
f8b1f8e807 Fix iorap bug, disasm glitch, and comments are red now 2015-06-12 02:11:07 +02:00
pancake
19f1e78c5c Fix fcn label glitch in pd and extend anal.eobjmp via CJMP 2015-05-14 01:17:35 +02:00
pancake
92e5d07579 Fix #2450 ASAN crash in code analysis 2015-04-28 00:35:11 +02:00
pancake
d991769935 Better vars naming, Add e cmd.fcn.{new|rename|delete}
- Bump sdb from git
2015-03-16 02:52:26 +01:00
Jeffrey Crowell
fff388ad52 fix crash in Vdj if fcn->bbs is null 2015-03-10 16:00:12 -04:00
pancake
2f7f72facd Add recursecont analysis option 2015-02-23 15:42:27 +01:00
jvoisin
123a77c022 Coverifix 2015-02-11 19:05:28 +01:00
pancake
918d2a3144 Fixes for autofunction name 2015-01-30 00:22:48 +01:00
pancake
a4cd6db606 Add anal.bbsplit (=true) fixing basic block split analysis
- Thanks @earada for reporting!

	$ cat /tmp/analbug.r2
	wx 5589e583ec04837d08027507b802000000eb0b8b4508890424e8d7ffffffc9c3
	e anal.bbsplit=true
	af
	afb
	# pdr

	$ r2 -qni /tmp/analbug.r2 -
	0x00000000 0x0000000c 12 j 0x00000013 f 0x0000000c
	0x00000013 0x0000001e 11 j 0x0000001e
	0x0000000c 0x00000013 7 j 0x0000001e
	0x0000001e 0x00000020 2
2015-01-29 23:27:18 +01:00
jvoisin
9174457d0f Coverity++ 2015-01-24 15:33:53 +01:00
pancake
d32c7d8f80 Initial support for ARM and ARM64 nopskip with invalid instructions 2015-01-10 03:21:27 +01:00
pancake
9b17bd596b Handle 0xcc in anal.nopskip 2014-12-22 23:37:14 +01:00
pancake
b8dfbe8783 Fix anal.nopskip 2014-12-22 11:48:44 +01:00
pancake
984afca05c Fix bb overlap bug causing wrong graphs and enhace 'a2f' 2014-12-14 01:49:04 +01:00
pancake
dd6b3005b1 Enforce weak/unowned linked lists by code, needs more testing 2014-12-11 16:43:33 +01:00
Jeffrey Crowell
ed1aae7fd1 fix lots of spelling
fix some errors from the sed script

undo file mode crap
2014-12-07 17:00:59 +01:00
pancake
7b94826079 Add anal.afterjmp and fix esil for ARM LDR+PC instructions 2014-11-27 11:42:12 +01:00
pancake
d503b72801 Some more tuning to bring back the good analysis times 2014-11-25 02:07:01 +01:00
pancake
5c536f0325 Fix anal.nopskip and enabled by default 2014-11-25 00:02:37 +01:00
pancake
07568e4f4c Make .a2f work (fix afbb and such) 2014-11-13 11:17:43 +01:00
pancake
84070a45f6 Implement anal.{limits,from,to} 2014-11-03 04:12:12 +01:00
pancake
1e3e97f2fb More and better support for tasks. Add anal.sleep to avoid 100% cpu in analysis 2014-11-02 02:01:09 +01:00
pancake
14917b1fb7 Fix #1576 - Infinite analysis loop 2014-11-02 00:28:22 +01:00
jvoisin
a60d82b800 Fix a lot of warnings for GCC
Less than 20 warnings remaining on my x86_64 GCC 4.9.1
2014-10-26 13:50:58 +01:00
pancake
51121e9c9b Make anal.eobjmp an option for testing different analysis rules 2014-10-20 23:13:38 +02:00
pancake
49cc0001c2 Fix #1519 - Jumps creating new functions 2014-10-15 16:10:55 +02:00
pancake
d18481971e Fix infinite loop in analysis 2014-10-09 18:43:57 +02:00
pancake
e6e3ae84f4 Increase max function size of 256KB, Handle ^C in z/ and better output 2014-09-30 03:52:29 +02:00
pancake
1ed9bb428c Fix build after get_fcn refactor 2014-09-26 17:25:19 +02:00
Jody Frankowski
df289d8611 Unify fcn_find and get_fcn_at in get_fcn_in and get_fcn_at 2014-09-26 17:16:28 +02:00
condret
bced1ea0a9 try to create xrefs for ccalls 2014-09-23 16:13:59 +02:00
pancake
932279ed7e Initial work to disable FCN_OLD. 2014-09-23 00:40:35 +02:00