Commit Graph

136 Commits

Author SHA1 Message Date
Andrew McDonnell
844c9f3dbb Fix for function length being too long in MIPS with branch delay 2014-06-02 17:14:02 +02:00
Anton Kochkov
153749003e Fix CID 1215821 2014-05-26 14:27:22 +04:00
pancake
54ec41467a Fix analysis. Caused by false xref_add and wrong anal_var used 2014-05-26 10:37:18 +02:00
pancake
7cde5cd39e Add 'VX' to follow function refs, Fix 'Vx' xrefs 2014-05-25 03:28:54 +02:00
Anton Kochkov
3f38cfb7f3 Fix CID 1214331 2014-05-16 00:49:01 +04:00
Anton Kochkov
2ea82d6389 Fix CID 1214316 2014-05-16 00:47:20 +04:00
pancake
547f7f5024 Fix more warnings 2014-05-12 11:04:46 +02:00
ditch
5cca5bea30 remember idx after last delayed slot 2014-05-12 00:43:08 +02:00
ditch
78a6efd8e6 start incorporating delay slots into anal 2014-05-12 00:42:37 +02:00
nobody@no.org
32afcd8215 Fixed some ref/xref issues.
Add refs for conditional jumps.

Fixed issue with saving of refs/xrefs to projects

Fixed determination of jump target's enclosing function

Reenabled display of jump target's enclosing function for condition jumps.

Fixed another issue with call refs introduced earlier.
2014-05-06 03:02:39 +04:00
Anton Kochkov
697e0ac485 Fix CID 1134930 2014-05-03 16:19:23 +04:00
Anton Kochkov
ea57383d84 Fix CID 1134833 2014-05-03 04:29:09 +04:00
fr33tux
a68171d3e9 Remove r_list_unlink and r_list_unref functions 2014-05-03 01:27:10 +02:00
fr33tux
3d801f90ff Remove r_list_destroy, replaced it by r_list_purge 2014-05-03 01:27:10 +02:00
pancake
d9ff886e41 Sdbize graphs. Using the new 'agk' command 2014-04-27 02:48:42 +02:00
pancake
b7ac099d2d Add 'pxd' for base10 hexdump 2014-04-12 01:14:13 +02:00
pancake
10f2439c5d Update sdb and fix #777 - pxq and pxw honors cfg.big_endian 2014-04-10 19:18:21 +02:00
pancake
52c41a12da NOPsleds shift function begins (analysis enhacement test) 2014-04-07 13:49:09 +02:00
pancake
ad6b3842df Fix build and some more sdbization of anal vars 2014-04-04 03:42:22 +02:00
pancake
f288cb811b Better r2048, more random refactoring for anal sdbization 2014-03-31 04:42:55 +02:00
pancake
bc344eea1d Add r2048 game in V! command. Initial sdbization of fcn vars 2014-03-31 03:06:45 +02:00
pancake
7b8905f2da Refix anal crash 2014-03-02 22:16:54 +01:00
pancake
e5f534eee6 Fix #585 - Fix use-after-free bug 2014-02-04 04:42:54 +01:00
pancake
9634cc7a44 Fix too much memory usage in analysis (thanks saelo)
- Clear some warnings
- Implement Vc. to seek to cursor instead of entry0
2014-02-20 02:11:04 +01:00
pancake
fe78487fe7 Remove useless sdb instance inside RAnalFcn (thanks saelo) 2014-02-20 01:32:33 +01:00
Adam Pridgen
11a5b17ecf Added Sdb fields to fcn (args, rets, locals, vars, refs), and then updated thes in lib/anal/p/anal_java.c, may want to review usage 2014-02-18 01:20:14 -06:00
pancake
473cd8953d ax -> afr ; more cleanup, add ark 2014-01-23 02:31:51 +01:00
pancake
ae85c1c16b Fix data references and prefix after flag in disasm 2014-01-20 00:14:00 +01:00
Adam Pridgen
bc2ee1f869 Improved plugin analysis allowing plugin developers to define custom
analysis algorithms.
Java analysis plugin is re-written to leverage this capability.
Added some new R_ANAL types, and some of the respective operations and strings.
Updated io-component files to get file size and info
2014-01-03 00:28:46 +01:00
pancake
05d7188a9a Fix dynamic format string functions
- s/r_str_dup_printf/r_str_newf/g
- Add r_strbuf_setf()
2013-12-04 00:20:52 +01:00
pancake
64b6750ee3 Fix #277 - Segfault in radiff2 - Thanks nibble! 2013-10-25 10:42:46 +02:00
pancake
e26763a496 Fix some more regression tests. Implement ahc/ahf, COND,REP are now op flags 2013-10-25 02:06:00 +02:00
pancake
bec4f5b63a Fix radiff2, Ps segfaults and ARC syntax
- Fix some nullptr derefs on uninitialized graphdiff structs
- 'ar' is now r_cons compliant and rnum friendly (add arj)
- Fix some arc disasm syntax issues
- Fix segfault when saving analysis info in projects
- ARCompact analysis needs to be rewritten
2013-10-24 13:59:19 +02:00
pancake
a5b9d9126a Code analysis fixes, add 'sf' command and add visual seek feedback 2013-10-20 00:25:37 +02:00
pancake
5ff25ef62e Fix fcnsize calculation 2013-10-17 01:04:05 +02:00
pancake
d8e41ac26b Fix code analysis issue (code vs data) 2013-10-12 02:19:01 +02:00
pancake
1578ae90cb Add recurse limit in analysis to avoid stack exhaustion 2013-10-08 14:20:21 +02:00
pancake
32816c4669 Rewrite the code flow analysis logic 2013-10-08 04:58:51 +02:00
pancake
ae97789986 Fix lot of warnings 2013-09-14 14:04:08 +02:00
pancake
f1e42d9448 Fix null ptr deref 2013-08-29 18:04:31 +02:00
pancake
353ecec16c Rollback #195 2013-09-13 01:21:42 +02:00
pancake
8ce16cb8a5 Fix #195 and close pull #199 2013-09-12 00:41:01 +02:00
pancake
38a3d0fa3f Renamed some 't' commands and more work on supporting sdb types everywhere 2013-09-02 01:20:12 +02:00
Riccardo Schirone
c56b8db665 Fix issue 195. 2013-08-28 00:26:30 +04:00
pancake
59820d6b14 Implement pointer arithmetics in 'pf', 't?' and 'td'. 2013-08-11 14:23:51 +02:00
pancake
a597b0e414 Bring back code|data xrefs to life. Use 'ar' command
'ax' and 'ar' are in conflict. must resolve
Uses sdb to store code and references
Ugly code that needs a huge cleanup
Update to latest sdb
2013-07-19 03:35:45 +02:00
Anton Kochkov
0711e60667 local labels inside functions - initial support 2013-06-29 10:21:15 +04:00
Jaume Delclòs (cosarara)
cc102cbd6a Stop function analysis at jump 2013-06-26 23:46:12 +02:00
pancake
082fccc1b2 Change r_anal ABI to fix bindings +to_esil_string() 2013-06-09 03:25:32 +02:00
pancake
29066085de New 'afb <bits>' per-function asm.bits, Renamed 'afb' to 'afbb' 2013-05-24 02:53:15 +02:00