Adam Pridgen
b7961ef00a
coverity fixes
2014-01-18 22:53:03 -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
pancake
a34f3d5434
Fix #534 - segfault when loading some ELF, MACH0 and PEs
2014-01-14 03:48:38 +01:00
Adam Pridgen
c3d551c024
Adding #%d in place of WTF for more informative java disasm
2014-01-13 18:48:56 -06:00
Adam Pridgen
5c140609be
Added fix to update sym flags, cp_obj load addresses, and add functions after analysis
2014-01-13 15:49:33 -06:00
Adam Pridgen
20ac1d48e3
fixed an overflow condition in java utf8 strings
2014-01-12 22:47:34 -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
Adam Pridgen
1134b36224
coverity fixes
2014-01-10 16:42:57 -06:00
Adam Pridgen
deb58b637a
Added index open of files in zip:// uri and fixed entrypoints reported to include only static methods, main, the constructors
2014-01-10 16:30:47 -06:00
pancake
03ff72079f
Fix the famous shlr/java overflow. Move along, nothing to see here
2014-01-10 19:07:25 +01: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
pancake
9bd0ec57a0
Fix overflow in cmd_write.c and issue in shlr/java
2013-11-15 02:14:53 +01:00
Adam Pridgen
7510c3d0bd
renamed NULL CP Object Type from (null) to NULL
2014-01-09 11:12:23 -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
pancake
cded178fdb
Fix 80 warnings and 1 segfault in shlr/java
2014-01-09 16:18:25 +01: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
pancake
01a2b485e7
Implement 'drc' command with all the RRegCond magic
...
- Fix all debug register profiles
- Support for X86 and ARM
- Allow to check conditional instructions
2014-01-08 23:23:06 +01:00
Vitezslav Cizek
85dc387ee9
add missing return to shlr/java/main.c
2014-01-08 00:09:21 +01:00
Adam Pridgen
b0593f9001
rename r_anal2 to r_anal_ex to fix namespace issues
2014-01-05 23:06: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
3b3bbbb916
Add more Jamroot files and move some plugs to r2-extras
2013-12-31 15:34:27 +01:00
Adam Pridgen
9494c5b405
Fixed coverity defects
2013-12-24 19:06:00 -06:00
Adam Pridgen
1832f71268
changed from individual keys to arrays
2013-12-21 22:19:47 -06:00
pancake
84f579264f
Fix build
2013-12-22 04:37:05 +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
Adam Pridgen
ddf540d0ab
Squashed merge of @deeso's pullreq for the Java RBin plugin
...
Added basic interpretation of java access flags for classes, fields, and methods
Added a visibility_str to RBinSymbol and RBinClass, and updated getters in Java
Added minstrlen to bin_java plugin struct
Fixed bin->minstrlen not being set in r_bin_init_items
Fixed iinc instruction.
2013-12-17 02:23:16 +01:00
Adam Pridgen
567da7a1db
Fixed bug in code offet reporting
2013-12-13 12:28:24 -06:00
Adam Pridgen
c706bf9bdd
add missing java op
2013-12-13 11:37:54 -06:00
Adam Pridgen
893fd98b89
fixed coverity issues that were reported
2013-12-09 17:08:40 -06:00
Adam Pridgen
12ca0b206b
disabled the debugging statements
2013-12-08 23:29:23 +01:00
Adam Pridgen
5a8ee7ba3d
Fixed issue with p_stack_frame being null when parsing java class method
2013-12-08 23:29:19 +01:00
Adam Pridgen
1289476120
Cleaning up functionality and fix some bugs for Java
2013-12-06 05:42:35 +01:00
Adam Pridgen
b71bf37622
Fixed issue where strings were not loaded from bin_strings, because r->bin->minstrlen is zero (set from r_config) (fixed in set_items and r_bin_io_load)
2013-12-06 02:51:08 +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
Adam Pridgen
ec5a679ec8
Fixed IO plugin load again, would not properly load the plugin
2013-12-03 04:52:46 +01:00
pancake
d02df0d306
Fix some issues reported by CoverityScan service
2013-12-03 00:14:59 +01:00
Adam Pridgen
0ea6509f03
Fixed construction of r_bin_io_load s.t. buffers, and fixed JavaFields initialization in class.c
2013-12-02 04:11:05 +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
39414a7a62
Fix snprintf in java/code.c
2013-11-14 02:41:03 +01:00
pancake
d630377905
Fix java nop opcode analysis
2013-10-25 00:45:30 +02:00
pancake
892a33ef23
Fix build and some warnings
2013-10-24 00:27:07 +02:00
Adam Pridgen
1b690e5638
- Fixed number of issues
...
1) Fixed CP Object off-by-one bug, which led too
2) Fixed the listing in consoles so now fully qualified Obj names and descriptions are right
3) Implemented byte look-ups using an array.
2013-10-23 19:44:12 +02:00
Adam Pridgen
14975e552e
Fixed Java CP Obj references and disassembly printouts
2013-10-20 23:42:53 -05:00
Adam Pridgen
a1cddb68cf
- Fixed an issue where r_bin_java_get_entrypoints will return an RList*
...
directly rather than relying on the entries in libr/bin/p/bin_java to
perform the conversion.
2013-10-04 10:53:51 +02:00
pancake
ae97789986
Fix lot of warnings
2013-09-14 14:04:08 +02:00
pancake
18cc767292
More emscripten/android build fixes
2013-09-07 02:20:38 +02:00
Adam Pridgen
da5bf8db45
Squashed commit of the following:
...
commit 7800f979cc84c48395581b7106627f7f23563ee2
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 21:58:35 2013 -0500
- Added visibility field to structures RBinField, RBinMethod, RBinBind, RBinReloc, and RBinImport
- Added handling for listing java classes
commit 1e7014342d16094fe21ddcb9b6b1991c5e3908b1
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 18:41:00 2013 -0500
-- Added mappings for access flags
commit cb8e4f0af99fc77f04263ddf292442835e128cff
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 17:53:04 2013 -0500
-- Updated the get sections command.
2013-09-06 16:22:26 +02:00