288 Commits

Author SHA1 Message Date
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
pancake
b0b16a7318 Allow af and df to resize+ redefine new function (anal testing) 2014-09-22 15:00:41 +02:00
pancake
342ff7ba4f Bring back the anal vars (wip), Fix Vvg, and VJK with screen boundaries 2014-09-22 13:45:36 +02:00
pancake
1306653d4a Working with 'afa' and 'afv' again. Updated sdb for some goodies 2014-09-22 04:22:47 +02:00
pancake
bd2da0557e Fix infinite analysis loop issue 2014-09-22 02:10:27 +02:00
pancake
196cfd0534 Initial major cleanup of the RAnal module 2014-09-22 01:39:24 +02:00
condret
2a4b1f0d96 remove a useless conditional 2014-09-21 23:29:25 +02:00
pancake
cb83310c8b Restrict function size limits, avoid 4GB size functions 2014-09-20 10:50:26 +02:00
pancake
68b38a80de Bring back the JMP_IS_EOB analysis feature 2014-09-20 09:43:31 +02:00
pancake
a7395d5afc Add anal.nopskip config var 2014-09-14 11:52:30 +02:00
pancake
a4ad8d88e9 Fix function fit size issues 2014-09-12 11:07:57 +02:00
pancake
fd013cced5 Refixes for the analysis engine 2014-09-12 04:57:39 +02:00
pancake
4bcb57955f Initial test exposing elf headers into Sdb and fix crash in bin-any 2014-09-08 04:17:38 +02:00
pancake
39a26769fa Some minor cleanup and fixes to the anal/var thing 2014-09-03 23:02:39 +02:00
pancake
327104086f Add 'aff' command to fit function boundaries. Used after 'aa' 2014-09-02 02:43:19 +02:00
pancake
851d2213a1 Bring back the old fcn store thing, needs more work 2014-08-06 21:39:56 +02:00
pancake
0a292c936a Add asm.indent, handle 'xX' in aa graph and enhace ptr references 2014-08-05 18:03:14 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
pancake
01871c25c3 Revert b61a377 2014-06-19 17:08:01 +02:00
pancake
7b9d13bbc3 Fix 'afc' (code complexity), fix nulltype xrefs and some helps 2014-06-19 01:11:53 +02:00
Andrew McDonnell
b61a3772b2 Workaround to ensure mips / branch delayed code properly accounts function size. 2014-06-17 10:31:52 +02:00