Commit Graph

452 Commits

Author SHA1 Message Date
pancake
00b81f636f Fix infinite loop in make clean 2014-03-10 00:33:29 +01:00
pancake
ce49c47e92 Indentation cleanup and add missing license header to libgdbr 2014-03-09 17:33:08 +01:00
pancake
e3b77a26ee Update return value of sdb_foreach callbacks 2014-03-08 01:06:31 +01:00
pancake
784a1d2a72 Import radare2-capstone asm/anal plugins 2014-03-07 04:15:45 +01:00
pancake
99cd0fee14 Fix librgdbr makefiles and add capstone-sync shlr target 2014-03-07 02:00:27 +01:00
pancake
bb7958342b Deprecate RPair API and ?k. Use SDB and integrate it with 'k' 2014-03-07 01:26:11 +01:00
pancake
086fc30e3b Update sdb to fix disk sync and sdb_foreach 2014-03-06 03:42:28 +01:00
pancake
b001eed6bb Update sdb for an array iteration optimization 2014-03-06 02:31:31 +01:00
pancake
ee3a397302 Bump sdb with some more fixes 2014-03-06 01:05:52 +01:00
pancake
7634b8ca77 Bump sdb and fix possible segfault in elf 2014-03-06 00:39:54 +01:00
pancake
b48153d88f Update sdb, adds support for SdbFmt, fixes segfault in sdb_encode 2014-03-05 23:45:09 +01:00
pancake
c8b18c5597 Nest some SDBs and make them accessible via 'k' command 2014-03-05 03:52:42 +01:00
pancake
d664e7b7de Initial SDBization of RAnalMeta... 2014-03-04 12:23:52 +01:00
pancake
d1dd21ea9e Fix statically link of libgdbr 2014-03-03 19:09:40 +01:00
pancake
ffa6f94ff2 Fix linkage of gdbr on w32 2014-03-03 18:57:21 +01:00
pancake
43698310e4 Fix new shlr/gdb linkage 2014-03-03 18:28:08 +01:00
defragger
bf7d50156f added implementation that uses libgdbr
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:33 +01:00
defragger
0404623595 added libgdbr sources to shlr folder
Signed-off-by: defragger <rlaemmert@gmail.com>
2014-03-03 17:19:29 +01:00
pancake
c9a33998b7 Bump sdb with sdb_array fixes 2014-02-24 11:57:02 +01:00
pancake
f42e1d6401 Update sdb to fix array_pop issue 2014-02-23 18:47:22 +01:00
pancake
aa555443db Fix sdb-dump related regressions (unquoted strings) 2014-02-22 03:01:12 +01:00
pancake
5f11916d28 Bump sdb fixing disk storage issue 2014-02-22 00:20:00 +01:00
pancake
d25cafe4d4 Check Java version in RBin's check(), cleanup (-44LOC) 2014-02-22 00:19:16 +01:00
pancake
235307f736 Bump sdb from git (fix memleak and adds bool api) 2014-02-21 11:00:56 +01:00
Adam Pridgen
a99cbddeaa Fix CIDS: 1182007 1182008 1182009 1182016 1182015 1182014 2014-02-20 23:51:53 -06:00
pancake
25809a0887 Fix some warnings and indentations 2014-02-20 03:08:12 +01:00
pancake
1124818bee Bump sdb 2014-02-20 02:33:04 +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
Adam Pridgen
f6ac1f8d9b Fixing the coverity issues for java 2014-02-19 15:09:16 -06:00
pancake
ec637cbee0 Add missing sdb_array_string() definition which caused segfault in 64bit 2014-02-19 17:57:20 +01:00
pancake
95bf944330 Bump sdb from git to fix some issues 2014-02-19 17:31:35 +01: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
pancake
12dc36ce23 Sync with sdb 0.8.rc1 - lot of api changes 2014-02-19 05:02:59 +01:00
Adam Pridgen
4a2363fa9d Fix uninitialized var 2014-02-18 21:34:02 -06:00
Adam Pridgen
5b731da686 Adding Java types to the anal types sdb 2014-02-18 00:36:19 -06:00
pancake
99787f07a7 Bump sdb fixing signed and numeric base issues 2014-02-18 03:03:42 +01:00
pancake
04826d8064 Some fixes to sync cparse with latest sdb 2014-02-18 01:59:40 +01:00
pancake
f1c2397636 Bump sdb from git again 2014-02-18 01:35:28 +01:00
Adam Pridgen
e0b605e939 Added command in anal_java to calculate access flags values 2014-02-17 11:01:23 -06:00
pancake
dfe39a0af8 Bump sdb (new query syntax changes) 2014-02-17 02:12:41 +01:00
Anton Kochkov
19d6993256 Fix C89 building of udis86 plugin 2014-02-17 02:45:53 +04:00
Anton Kochkov
59651353dc udis86: Fix 16-bit jump offset decoding 2014-02-17 02:30:36 +04:00
Anton Kochkov
b81aaf3a30 Use our own fork of udis86. Update it 2014-02-17 02:13:27 +04:00
Zach Riggle
36518d2ae6 Fix clang build (unicode characters outside of literals) 2014-02-15 20:47:46 -05:00
Adam Pridgen
0d82276a11 turn off debugging 2014-02-15 16:19:27 -06:00
Adam Pridgen
94d49d4065 Fixed writes/reads based on improper buffer size and array length values 2014-02-15 16:17:15 -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
pancake
6d04a5ebec Fix #624 - ar- segfaults 2014-02-14 03:43:27 +01:00
pancake
2d8110ec97 Bump sdb 2014-02-14 03:02:23 +01:00
pancake
1f6ee6d546 Fix #608 - Vv endless read #608 2014-02-08 12:09:12 +01:00
pancake
8b40a53080 Update sdb from git and fix 'test.cparse' 2014-02-08 03:09:03 +01:00
pancake
6b5b31a498 Update sdb from git to fix some memleaks in sdb_query() 2014-02-07 03:36:54 +01:00
pancake
59c33060af Update sdb 2014-02-06 02:31:57 +01:00
pancake
7e28ca265d Bump sdb and add some more fortunes 2014-02-05 16:36:03 +01:00
jvoisin
e6dfa898d1 Coverifix: overflows and uninitialized vars 2014-02-05 11:52:35 +01:00
pancake
a8926f9209 Fix few more coverity warns, bump sdb and drx android build 2014-02-04 15:41:36 +01:00
pancake
9565830426 Bypass (comment) valgrind issue 2014-01-12 02:21:38 +01:00
pancake
e421d5bb56 Bump sdb to fix memleaks 2014-01-31 18:26:11 +01:00
pancake
1f1367382b Add 'aos' to sdb-ize the esil, file.suppress_warnings renamed to file.nowarn 2014-01-31 02:02:51 +01:00
pancake
a42c809984 Bump sdb again 2014-01-31 00:40:10 +01:00
pancake
27534580a1 Bump sdb again 2014-01-30 23:45:30 +01:00
pancake
a910c315f6 Sync fix from sdb 2014-01-30 22:47:02 +01:00
pancake
b26b058e68 Update sdb from git 2014-01-30 17:29:46 +01:00
pancake
5f14f7290b Add --with-syszip configure flag to use system libzip+libz instead of shlr/zip 2014-01-30 01:45:08 +01:00
Adam Pridgen
d74e10e13b Fixed the many load so that when switching priority, offset is updated to the current bin. TODO: save offset when changing priority 2014-01-26 01:29:17 -06:00
pancake
91d0df5bb8 Fix testsuite (thanks dso for pointing out) 2014-01-24 20:22:16 +01:00
pancake
271824e65e Fix two minor warnings 2014-01-24 11:53:04 +01:00
pancake
473cd8953d ax -> afr ; more cleanup, add ark 2014-01-23 02:31:51 +01:00
pancake
5ff6065335 Bump for new sdb 2014-01-23 01:56:35 +01:00
Adam Pridgen
51a27ab1cc Coverity Fixes 2014-01-22 16:58:23 -06:00
Adam Pridgen
7c8ffcd259 Fixed a bug in the ops interpretation 2014-01-21 21:20:38 -06:00
Adam Pridgen
4c2fd70e49 Corrected the double value derivation 2014-01-21 20:38:43 -06:00
pancake
fe6a8471d1 tiled webui keybindings are now working on chrome 2014-01-21 05:02:51 +01:00
pancake
3b3e44361e Add maximized and custom frames options in new tiled webui 2014-01-21 03:05:27 +01:00
Adam Pridgen
b7961ef00a coverity fixes 2014-01-18 22:53:03 -06:00
pancake
71d38bf238 Add tiled wm 2014-01-18 05:14:32 +01: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
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
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
239203d8d9 Fix #382 - Refactor 16bit addressing issue to fix rel32 calculation 2013-11-30 03:28:19 +01:00
pancake
180fd38163 Fix 'cg /' crash and only use numeric values in web yank (thanks zlul!) 2013-11-28 18:46:58 +01:00
Gonzalo J. Carracedo
3736b218b2 Refactorization of ESIL code generation for x86 instructions (new files) 2013-11-19 22:39:38 +01:00
pancake
51107d279b Reapply the fix for the udis86 16bit issue 2013-11-15 01:39:33 +01:00
pancake
ef2aa8669d Update udis86 from git 2013-11-15 01:37:24 +01:00
pancake
aaf444aaff Fix mingw32 build of libzip 2013-11-15 01:25:34 +01:00
pancake
1681982d34 Fix android linkage of r_zip 2013-11-14 23:32:34 +01:00
pancake
30ebc8b8b3 More work to make zip plugin work 2013-11-14 23:22:56 +01:00
pancake
c1dd901413 Fix zip linkage (still wip) 2013-11-14 13:57:01 +01:00
Adam Pridgen
0bc95a2fc4 Added the necessary libzip and libz files for opening zip files and reading and writing to them from memory via uri, added zip, apk, jar 2013-11-14 04:54:50 +01:00
pancake
39414a7a62 Fix snprintf in java/code.c 2013-11-14 02:41:03 +01:00
pancake
79946ef2da Add @capi_x patch to fix Haiku's build 2013-11-12 23:55:57 +01:00
pancake
61d3addfea Use latest ACR for triplet fixes and update manpage dates 2013-11-11 12:00:39 +01:00
Anton Kochkov
172eb79fe7 Added 64bit C enum types support [stage 1] 2013-11-05 10:18:14 +04: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
Anton Kochkov
68844ea0f3 Removed sections stuff from C parsing code 2013-10-20 22:37:39 +04:00
Anton Kochkov
04e8ebff19 Removed unused code 2013-10-20 04:25:52 +04:00
pancake
6d49594261 Fix leftpanel in enyo ui 2013-10-19 00:58:46 +02:00
pancake
572f5cab2a Handle x86 16bit segment boundaries in disasm and analysis 2013-10-14 02:25:01 +02:00
pancake
3406d5eb52 Fix visual jmp keys reset and malloc:// write error 2013-10-14 01:12:09 +02:00
pancake
7867d8cdc1 Handle 'hlt' x86 instruction as trap in analysis 2013-10-10 00:59:12 +02:00
pancake
f5188d6d47 Enhace graphs and handle relocs in webui 2013-10-09 02:53:25 +02: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
662fd4507e Bump enyo with uglify 2013-09-15 23:13:25 +02:00
pancake
5372d0acb2 Add 'woR' and 'dd-' commands. Update enyo and add missing PNGs. 2013-09-15 02:24:23 +02:00
pancake
ae97789986 Fix lot of warnings 2013-09-14 14:04:08 +02:00
pancake
d08d455982 Fix install issues 2013-09-14 00:45:49 +02:00
pancake
18cc767292 More emscripten/android build fixes 2013-09-07 02:20:38 +02:00
pancake
7855f4952f Initial work supporting emscripten compilation 2013-09-07 00:39:08 +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
Adam Pridgen
38420cb91f - Updated the symbols and strings retrieval. Now methods and fields
that were parsed will be retrieved and added to the symbols list, and
all UTF8 strings from the constant-pool items will be retrieved as strings.

- I did not attempt to retrieve strings from the byte code.
2013-09-06 16:22:17 +02:00
Adam Pridgen
31e47f1c47 Squashed commit of the following:
commit 109915c7812305b9a442d3a0febd9bc43f7104b5
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Wed Sep 4 09:50:08 2013 -0500

    - Added author rewrite tag

commit 5fe0d07f3a318f871bc5d6a8499afd9ceab26e33
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Wed Sep 4 09:37:57 2013 -0500

    - Added a print statement for the number of attributes in the Code Attribute
    - Added a default stack frame creation

commit 4b1bca0d79c53421c1d7a9c59da070a5463ba05b
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Wed Sep 4 08:58:55 2013 -0500

    - Added the R_API prefix to all function declarations and definitions
    - Removed the offset<=size from loops.  Not sure why this check is failing, but it needs to be added in the future (probably add it to the list of defects.)
    - Code appears to parse the classfile correctly

commit 5f5a28302da8c605800946df739c67a0f4f80b0d
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Tue Sep 3 23:11:00 2013 -0500

    - still minor bug in the parsing code on the Type Verification
     or somewhere in the StackMapAttr.  The right number of bytes are
     being read, but not all the bytes are being consumed

commit 1c9d8b490c8d7d8592f898e019aed3b56f9406c8
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Tue Sep 3 20:59:08 2013 -0500

    - fixed some compiler warnings in class.c

commit c185248aa478c6c78f6dbe14cf65ee3396287302
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Tue Sep 3 20:58:21 2013 -0500

    - Propogated the change to code.c from changes from classes.

commit 927542a0672f37b41b23345533bc7e6f2d1a5369
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Tue Sep 3 17:10:40 2013 -0500

    Fixed some minor parsing bugs:

    code_attr offet was not updated correctly after reading the length of the attribute
    attr_buf was not initialized correctly before use

commit b43a7189e9934369d1fdbd96de020edcab907430
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Tue Sep 3 16:33:36 2013 -0500

    - Code compiles.  Time to test.

commit ea7b332d84b88baca1abc466d02b00b2b8739bca
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Mon Sep 2 23:55:44 2013 -0500

    - Added in size calculations for the CP Objects.
    - Need to add method or field references calculations for size after compiling

commit ba55375dc0e835fb46550d0063758e419ec0ed7b
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Mon Sep 2 22:56:56 2013 -0500

    - Revamped all of the attribute parsing.  The parsers will handle buffers rather than simply
      parsing straight from the file.

    - added a size calculator for each of the attributes, which opens up the way for creating
      writers for the attributes and such.

commit be6f2e038f01beeb56ace7d4daaf4d90ad3fdad7
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Sat Aug 31 12:19:18 2013 -0500

    - Cleaned up code and removed some of the compiler warnings.

commit 4c81812f2609e4a80c7036053d122306039dd6ef
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 30 15:24:15 2013 -0500

    - Compiler and linker errors have been resolved.
    - Need to work on testing

commit 429ed30621d9abff1eec99ef50a35c57bbed76ad
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 30 13:35:39 2013 -0500

    Added the RunTime Annotations and Parameter annotations.
    Time to start compiling and testing.

commit b6044e1c74cc10874902bd34da7c8fcbdb5713cc
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 30 12:34:14 2013 -0500

    Added BootstrapMethodsAttr Parsing code along with supporting stuff, like creating
      the method and argument structures and mapping the REF_types to strings

    More should be done to map the REF_types to specific resolutions.

    Added in the MethodType, MethodHandle, and InvokeDynamic ConstantPool Objects

commit 2c9317be5d2be0608131fb9aa10f713885c89471
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 30 00:21:34 2013 -0500

    Finished drafting the code for annotation, element values, element value pairs,
       and annotation default attribute.

    TODO: RTI, RTV, and then Bootstrap attributes.

commit cbee3a10c18342f6a8fb941245568de885fe5666
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 29 15:42:00 2013 -0500

    Fixed the r_bin_java_element_value_new function definition.

commit ab98a76fabf2bd7764a51f3363d821c5a4cf1200
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 29 15:39:28 2013 -0500

    - worked out some of the initial compile errors.
    - worked out an outline for parsing the element_values
    - need to work through parsing the element value, freeing the element value, and then printing a summary.

commit b543d904f2aebd0d1f9c0ac8ec8401b6ab698f36
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 29 08:21:33 2013 -0500

    Most of the heavy lifting is done for attributes.  Need to implement a few of the methods,
    and then compiling should be able to happen.

    Added in all attribute values to the enums, the function call tables, and then the Metas information.

    Need implement an ElementValue parser bleh.

    Need to implement RuntimeAnnotations, Annotations, ElementValue parsing and make sure that
    the attribute unions are all updated.

commit 81f9ca2da2ed7e007a97a20ecb8eb260dfd55e7e
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Wed Aug 28 22:33:43 2013 -0500

    Finished adding some logic to handle the StackMapFrame types.

commit 9a0965cc06021ad56d2127d279b918eef613bec9
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Wed Aug 28 17:54:52 2013 -0500

    Got some of the StackMapTable Atrribute parsing working.  Right now,
    only the FullStackFrame will correctly parse.

commit ea12bd6a8ae9969fa05cbcab622651c8b426917a
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 23 17:51:33 2013 -0500

    Added some debugging code while trying to figure out how to parse the StackMapTable.

commit 6141b57ee94c7bd0569d0ea76725fdce1ac50edf
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 23 17:00:12 2013 -0500

    Code compiles.

commit a7ad14050eb6184a1171620c4dcdba71b2f791aa
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 23 10:29:17 2013 -0500

    - Added a basic Signature element
    - Added declarations for the new functions to handle the parsing of the
      StackMapTable related structures.

commit 54cca3d9af60463dbfa77e23ef1d562ae82d6e5a
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Fri Aug 23 10:18:50 2013 -0500

    Finished an initial coding implementation of the StackMapTable.
    -- Will perform testing later in the day.
    -- Need to look-up the Signature Attribute

commit a14238eece865f4d1c5f2d6b1f482b000d10d94e
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 22 20:23:45 2013 -0500

    StackMap stuff is wip.

commit f011a5d948d31cc6197eed1bbea497a4dde362aa
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 22 18:44:23 2013 -0500

    Made the globals match the R_* standard.  Also tried to clean up naming stuff.

commit 6e61e15572744c2ed722ac3df8d988cc02f1316c
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date:   Thu Aug 22 16:40:08 2013 -0500

    Plugging progress into the repo.  Adding fixes to handle the Java
    Class file appropriately.  This modification is mostly a re-write
    of the Class File parser, and it "tries" to do a better job of
    creating better objects for each of the Classfile elements.

    Currently this code is experimental, and current TODOs are:
    1) Testing
    2) StackMapTable
    3) LocalVariableTypeTable
2013-09-04 18:52:42 +02:00
pancake
f61fa0565e More work for cparse, Show type links in disasm. Fix some warns 2013-09-04 02:01:42 +02:00
pancake
555f234cb2 Add parse support for enums in cparse 2013-09-01 23:26:33 +02:00
pancake
fb80381eb7 Fix mingw32 build 2013-08-27 02:00:21 +02:00
pancake
91390dd1fd Fix clean of shlr/sdb 2013-08-27 01:36:55 +02:00
pancake
63805ecbde Damn comments 2013-08-27 01:32:51 +02:00
pancake
602bb70a30 Simplify shlr build and some w32 fixes 2013-08-27 01:18:42 +02:00
pancake
1dc50d359b Fix shlr/sdb build for sys/android 2013-08-27 00:52:04 +02:00
pancake
472a9014fd Disable utf8 on w32 console, refix visual 'C' toggle-color key
- Update sdb and make rules.mk less strict
2013-08-26 03:17:29 +02:00
pancake
fb610cdc62 Update sdb and fix android build 2013-08-26 02:43:15 +02:00
pancake
91ca18843e Fix #165 libr_tcc build is broken on some GCC versions 2013-08-17 19:57:33 +02:00
pancake
05df20f411 Update sdb, more work on types 't' 2013-08-13 03:23:39 +02:00
pancake
59820d6b14 Implement pointer arithmetics in 'pf', 't?' and 'td'. 2013-08-11 14:23:51 +02:00
pancake
6e1a87b274 Update sdb and some minor fixes for 'tf' and 't' 2013-08-02 01:02:04 +02:00
pancake
8d8c9f4ee5 Initial import of the new cparse engine using sdb and tcc
* There's still lot of work to do, this is just the base
2013-08-01 00:39:19 +02:00
Juan RP
9101835c58 Accept @xtraeme's massive warning cleanup 2013-07-25 15:14:49 +02:00
pancake
0851810e54 Move hud from shlr to doc/ 2013-07-24 08:57:20 +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
pancake
a1123b6a69 Added default color paletes for rcons
Added 'ecf':load colorschemes
Added VE visual menu to configure colors
r_cons_rgb_parse() needs a rewrite
2013-07-17 03:51:53 +02:00
pancake
d694014146 Minor fix for sdb sync 2013-07-16 17:48:26 +02:00
pancake
94f9e4e8de Fix sdb version and lua-install message 2013-07-16 17:43:07 +02:00
pancake
e236f0cf5a Fix ELF regression issue 2013-07-15 18:07:42 +02:00
pancake
dc8e37f420 Update sdb, simplify some makefiles 2013-07-15 02:51:55 +02:00
pancake
17c6c6bfab Implement flagspace selection 2013-07-05 09:36:25 +02:00
pancake
6cadbbcd40 Allow to force screen size, more work on r2wui
Add scr.columns, scr.rows eval vars to force screen size
Fix rightpanel menu glitch in r2wui
Add calculator in assembler panel
Fix open-rightpanel button in main panel
2013-07-05 01:45:45 +02:00
pancake
11e00e438e Fix Java class crash, better opcode colors and use $c/$r for screensize
Fix segfault in java class parser
Fixes in the opcode reg|num colors
$r renamed to $m (memref)
Use $c and $r for columns and rows instead of $h (height)
2013-07-04 14:08:58 +02:00
pancake
b8f7138092 New palette in disasm, fixed 'fs*', better scr.colorops
Fix 'make w32'
Some more enhacements on the webui
New palette. im open to suggestions
Fixes in the scr.colorops parsing
Fix 'fs*' command
Analop now sets Type.ILL if invalid
2013-07-04 03:34:28 +02:00
pancake
e8b35ce98d Minor enhacements for the r2wui 2013-07-03 10:31:21 +02:00