Commit graph

86 commits

Author SHA1 Message Date
Ahmed Mohamed Abd El-MAwgood
2dbb3d8fc6 Calling convention profiles in SDB (#5358) 2016-07-27 13:50:14 +02:00
Riccardo Schirone
8727840e90 anal/fcn: use getter/setter to access the size of a RAnalFunction
This is one of the first steps to improve analysis. This way we'll have
one single place to change if we want to change the meaning of the
"size" field. (size -> realsize)
2016-05-19 01:50:50 +02:00
Riccardo Schirone
c169073c74 Fix #4080 : remove assumption that functions are contiguous
* anal/p/anal_java: remove function that does nothing

* anal/fcn: workaround for java analysis
2016-05-14 16:37:24 +02:00
pancake
4e0a71c0c3 Fix #4573 - fix oobread in java disassembler 2016-04-10 01:23:18 +02:00
pancake
9c9bb2dbd5 Memory optimization for flags (-70%) + some warnfixes + sdb-sync 2015-11-08 23:38:42 +01:00
pancake
f137c8e460 Restrict switch statement boundaries in Java analysis 2015-11-05 14:20:42 +01:00
pancake
0f5a2cc641 Fix infinite loop + mem exhaustion in malformed java 2015-11-05 14:00:49 +01:00
pancake
cb936e10e9 Fix #3490 - RAnalPlugin.arch.typeof(char*) 2015-10-22 02:23:52 +02:00
pancake
8eb71af9ed Internal reg prefix is now $, 85008 for curpc, TRAP for traps 2015-09-14 11:31:54 +02:00
Jonathan Neuschäfer
523aa3af5c add .version to all plugins 2015-07-12 19:05:33 +02:00
jvoisin
8155c6e8f2 Even more coverifix 2015-06-01 23:06:55 +02:00
pancake
1d6a40b92f Fix more Java issues 2015-05-11 16:46:52 +02:00
pancake
7994af7fca Fix another crash in AnalJava 2015-05-11 16:45:15 +02:00
pancake
e85448208e Fix one overflow in the AnalJava plugin 2015-05-11 15:14:17 +02:00
pancake
2aecde26d2 Tons of free candy. See details below:
- Fix arm-thumb ESIL for the SUB instruction
- Handle Java imports as symbols in code analysis
- Invoke Java instructions reference the imports now
- Fix 71 crashes reported by jn
- Affected bin modules: elf, mach0, java, te, pe, dex
2015-04-13 00:57:32 +02:00
pancake
98fa19ac49 Handle ILL ops in anal Java 2015-04-10 01:28:02 +02:00
pancake
3a5600f7c5 Sync with latest capstone-next (fixes pkg-config issue) 2015-03-05 23:54:41 +01:00
jvoisin
55f5c73008 Coverifix++ 2015-02-19 12:59:13 +01:00
jvoisin
5ad3afb628 Coverifix 2015-02-11 17:55:25 +01:00
jvoisin
1a17b5b420 Coverifix++ 2015-01-27 16:03:18 +01:00
pancake
66e547da1f Fix #1696 - Fix crash in Java CLASS parser 2014-12-01 23:51:47 +01:00
Jonathan Neuschäfer
fe6e882422 minor cleanup in java: remove a now-useless snprintf
It became useless in 0.9.6-330-g415a77d.
2014-08-26 03:45:14 +02:00
deeso
684b459c20 Bug in the code flipped jump and case value of the switch op, remove dangling in_switch key, and add a formal "case" op-type
and changed some strings back to "static" from "R_API"
2014-08-13 03:12:23 +02:00
pancake
e57d8346f5 Link the java anal against shlr/ 2014-06-25 04:35:50 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
pancake
547f7f5024 Fix more warnings 2014-05-12 11:04:46 +02:00
Jody Frankowski
3ff35276bb Fix -Wformat warnings. Use ut64 instead of uint64_t where needed. 2014-05-08 02:12:20 +04:00
deeso
ce7f33480e fixing warnings (not the unused ones) in various files 2014-04-28 12:58:35 -05:00
Adam Pridgen
aea7766d96 Fixed replace cp classname code, and added code to guard against too much fail if the java file is mangled 2014-04-05 00:10:25 -05:00
Adam Pridgen
3048a34783 Trying to fix mem-leaks, and allow updating of bin object infos 2014-04-03 14:04:07 -05:00
Adam Pridgen
d876dec7ee Adding java command to help identify external calls, reads, and writes 2014-04-02 17:02:23 -05:00
Adam Pridgen
d3e09af4c9 Removing use of r_cons_printf from java analysis plugin 2014-04-01 16:36:33 -05:00
Adam Pridgen
6bc694f873 Added colorization to pdn and added a dead code warning if all the bytes in a method are not consumed during analysis. 2014-04-01 16:22:56 -05:00
pancake
10b901736e Fix linux reloc issue in link stage 2014-03-18 02:37:38 +01:00
pancake
92c5d8513b Refix link 2014-03-18 02:21:52 +01:00
pancake
31b8c6f377 Fix shared build 2014-03-18 01:51:36 +01:00
pancake
6a835f159d Fix static link 2014-03-18 01:36:54 +01:00
Adam Pridgen
42be12d7cb Fixed dependency issues for build 2014-03-16 23:05:45 -05:00
Adam Pridgen
62445c5e98 Adding java command plugin and moving the functionality out of the anal/p/anal_java.c code
Added functions to print information about CP Objects and read/write access flags
2014-03-16 22:32:18 -05:00
Adam Pridgen
b464851707 reduced the Java R_API footprint and fixed some other java related stuff 2014-03-15 15:18:45 -05:00
Adam Pridgen
a99cbddeaa Fix CIDS: 1182007 1182008 1182009 1182016 1182015 1182014 2014-02-20 23:51:53 -06: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
Adam Pridgen
f6ac1f8d9b Fixing the coverity issues for java 2014-02-19 15:09:16 -06:00
Adam Pridgen
0efd93c57a Added Constant Pool Retrieval to anal_java command extension 2014-02-18 23:11:07 -06:00
Adam Pridgen
8f72843498 Refactoring java constant pool resolution 2014-02-18 22:29:03 -06: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
Adam Pridgen
5b731da686 Adding Java types to the anal types sdb 2014-02-18 00:36:19 -06:00