Adam Pridgen
e0b605e939
Added command in anal_java to calculate access flags values
2014-02-17 11:01:23 -06:00
Adam Pridgen
f2745f602d
removed the NULL check for core->anal in disasm and fixed formatting in anal_java
2014-02-17 08:24:22 -06:00
Adam Pridgen
27674ad03e
Fixed Java crashes and case statements for anal and print disasm by adding
...
a reset_counter (added to RAnalPlugin) or reset method address at the beginning
of each print disasm or analysis. Also fixed a bug in reflines.c/disasm.c,
s.t. lines will be respected when printing disasm.
2014-02-15 09:42:14 -06:00
Adam Pridgen
2e20adb68d
Proposed fix to printing function disassembly with rewrite of the function handling reflines.
2014-01-24 02:40:02 +01:00
Adam Pridgen
5eb3e68c4f
fixed warning introduced by java
2014-01-22 21:29:07 -06:00
Adam Pridgen
db1bb1a089
Changed the location of RBinObject, and created RBinFile to conform similarly to
...
RCoreFile, where RBinFile contains meta information for RBinObjects. Now
RBinFiles are swapped out along with the RCoreFile when the priority is changed.
2014-01-20 02:44:25 +01:00
Adam Pridgen
b7961ef00a
coverity fixes
2014-01-18 22:53:03 -06:00
Adam Pridgen
285e9ee1ef
Moving the bin_obj (internal format into RBinObject proper
2014-01-17 12:41:37 -06:00
Adam Pridgen
413411258d
Fixed compile error in shlr/java/main.c and added offsets of class components in the class definition listing
2014-01-14 22:20:31 -06:00
deeso
b5eb1d1ae5
Added preliminary concept for analysis plugin cmd ext, implements a basic dump of class imports, fields, and method definitions.
2014-01-14 20:34:30 -06:00
Adam Pridgen
6058b7b4a8
coverity fixes
2014-01-14 10:40:18 -06:00
Adam Pridgen
415a77dca0
Java can now load multiple bins into radare space, and analyse the different bins.
...
See libr/bin/p.bin_java.c libr/anal/p/anal_java.c for the hacky details.
Fixed the coverity issue.
2014-01-12 17:36:47 -06:00
pancake
e5ad21d731
More cast issues fixed in shlr/java and anal
2014-01-10 18:24:47 +01:00
Adam Pridgen
737664ae87
Added RBinBind to RAnal to facilitate information passing between processed bin and analysis
2014-01-10 10:20:23 -06:00
Adam Pridgen
9bdd742a43
Fix null pointer issues with java's use of sdb. Re-did the way keys for cp object, methods, and fields are entered into the sdb. Updated the way bin objects are referenced in asm and anal plugins for java.
2014-01-10 00:35:25 -06:00
Adam Pridgen
6e07c6a75a
Fixed most warnings (excluding unused functions and vars) in class.* and p/anal_java
2014-01-09 10:13:35 -06:00
Adam Pridgen
79ffe311ec
updated the way shlr java persists bin_objs, so that they can be used by other components. Mac OSX still broken, now its an SDB problem.
2014-01-09 07:43:13 -06:00
Adam Pridgen
efcad51646
Fixing coverity issues and a potential buffer overflow in bb->op_bytes
2014-01-07 04:31:56 +01:00
Adam Pridgen
34e24736e5
fixed up usage of new for switch
2014-01-06 12:32:17 +01:00
Adam Pridgen
989bc540cf
changing RAnalInfos to RAnalState
2014-01-06 12:32:13 +01:00
Adam Pridgen
b0593f9001
rename r_anal2 to r_anal_ex to fix namespace issues
2014-01-05 23:06:00 +01:00
Maxime M
a4d0f03999
Fix some Warnings WFormat
2014-01-05 01:05:04 +01:00
Adam Pridgen
9ce16534ed
fixing coverity issues
2014-01-04 05:58:44 +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
Adam Pridgen
77bc339184
Added cp_opj info into the sdb. CP Info is a primitive serialization that describes the file location, type, and values (dependant on type) in a dotted string format.
2013-12-22 01:56:18 +01:00
pancake
230efd1f05
Rename {RAsmRAnal}Op inst_len and length to size
2013-12-06 05:04:17 +01:00
pancake
d49b56dc3a
RAnalPlugin now have .license and uses the same .bits like in RAsm
2013-12-05 18:41:13 +01:00
Adam Pridgen
b5b6348691
Updated some missing Java Byte code Ops and cleaned up some code parsing.
2013-12-02 01:23:50 +01:00
pancake
d630377905
Fix java nop opcode analysis
2013-10-25 00:45:30 +02:00
pancake
48f710abe8
Share RBinJavaObj to RAsmJava plugin, better java and fixes in config
...
Some more work to get java support back (analysis, disasm, bin share)
Honor ordinal field in java r_bin methods
Fix segfault in 'af*' on FreeBSD (thanks idwer for reporting!)
Fix some valgrind warnings
Better io.maxblk handling
Fix div by zero when blocksize is 0
Fix disasm lines when no function and extra code comments
2012-12-20 11:31:38 +01:00
pancake
8f6459977d
Refactor of {bin|asm}/java into shlr/java
2012-11-16 02:29:30 +01:00
pancake
b910c54714
* Fix getreg for r_debug_gdb on x86 (add profile)
...
* Add bits and arch fields in RAnalPlugin struct
- mrproper is required
2011-05-06 19:56:16 +02:00
Nibble
864fd7aa7e
* Move gdiff stuff to r_anal_diff
...
* Make r_anal_diff customizable by plugins
* Refactor r_anal and redesign API
* Add dummy methods for security patches evaluation in r_anal_diff
* Add functions:
- r_anal_diff_fingerprint_bb
- r_anal_diff_fingerprint_fcn
- r_anal_diff_bb
- r_anal_diff_fcn
- r_anal_diff_eval
2011-03-06 15:21:13 +01:00
Nibble
332524e120
* Rename r_anal_aop_* to r_anal_op_*
...
--HG--
rename : libr/anal/aop.c => libr/anal/op.c
2011-02-24 14:06:49 +01:00
Nibble
5c35f6e359
* Rename {r_*_handle_t, R*Handle} to {r_*_plugin_t, R*Plugin}
2010-05-26 01:42:22 +02:00
pancake
be12c8f284
* Added anal_java plugin (copypasta from r1)
...
- Split java_ops array into a separate object file
* Fix r_config.vapi and add RConfig instance in RCore definition
2010-05-23 14:31:18 +02:00