224 Commits

Author SHA1 Message Date
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
9f0d7e44d3 Fix some issues reported by coverity 2014-01-15 01:56:28 +01:00
pancake
6368594942 Update sdb and dummy handle () in esil 2014-01-15 01:23:10 +01:00
pancake
a34f3d5434 Fix #534 - segfault when loading some ELF, MACH0 and PEs 2014-01-14 03:48:38 +01:00
pancake
c0e1c9f1d9 Update SDB from git 2014-01-14 02:57:21 +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
pancake
d2ce7c1130 Some polishments for io_zip.c 2014-01-13 00:50:04 +01: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
38fc28f960 Added more Jamroot files 2014-01-03 00:13:46 +01:00
David Martínez Moreno
11606b9e16 Removed .hgtags, remnant from a distant past.
Fixed the ifeq line.  Oops.
2014-01-01 21:11:07 -08:00
David Martínez Moreno
1fbeae231d Add .so as a suffix for libtcc on Linux, even when it's not being
installed.
2014-01-01 00:04:40 -08:00
David Martínez Moreno
06ed8553c6 Properly propagate LDFLAGS in libraries.
Debian fills up LDFLAGS with hardening flgs but for some libraries this
 parameter is not additive to the value from the environment but hardcoded.
2013-12-31 23:56:59 -08:00
pancake
13ea5e467d More Jamroot files and move vm out 2013-12-31 15:57:52 +01:00
pancake
3b3bbbb916 Add more Jamroot files and move some plugs to r2-extras 2013-12-31 15:34:27 +01:00
pancake
dba63fbd3c Add some Jam files and merge rsign into ranal 2013-12-31 05:30:39 +01:00
pancake
6fe529ab5c Update sdb 2013-12-31 04:53:42 +01:00
pancake
1531e965b3 Do not install libr_tcc 2013-12-29 03:20:53 +01:00
pancake
5223c0f578 Fix infinite loop stdin issue on EOF 2013-12-28 00:30:09 +01:00
Adam Pridgen
9494c5b405 Fixed coverity defects 2013-12-24 19:06:00 -06:00
pancake
ab82968341 Fix build, update sdb for sdb_apush fix 2013-12-22 23:55:28 +01:00
Adam Pridgen
1832f71268 changed from individual keys to arrays 2013-12-21 22:19:47 -06:00
pancake
a69e740a22 Use latest sdb to get sdb_apush/sdb_apop apis 2013-12-22 04:59:31 +01: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
pancake
bf1d0ff08a Fix build and various random fixes 2013-12-20 04:32:38 +01:00
pancake
44dc4a9f30 Remove r2-bindings from this repository 2013-12-20 02:10:36 +01:00
pancake
1185a8210b Integrate SDB into RBin accessible with the 'ik' command 2013-12-20 01:20:17 +01:00
pancake
47d6501069 Bump sdb to support hooks 2013-12-19 01:54:56 +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
pancake
6eb7a5ed2f Move grub into shlr 2013-12-14 03:51:18 +01:00
pancake
50d01cb85c Update SDB and fix bindings 2013-12-14 00:39:27 +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