Commit Graph

1635 Commits

Author SHA1 Message Date
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
pancake
dbd6cc896b Initial support for D language bindings 2013-06-28 09:31:11 +02:00
pancake
8377c98458 Use xdg configuration path ~/.config/radare2/ 2013-06-27 19:15:59 +02:00
pancake
5e0871485c Update udis86 from git. Fix #97 2013-06-10 00:28:55 +02:00
pancake
d0f0975d69 Add doc/haiku, r2 -V = -v, fixes for emscripten build 2013-06-07 13:21:51 +02:00
capi_x
c9eb90adbc Add initial Haiku support 2013-06-06 00:21:52 +02:00
pancake
d9b825d309 Fix symstall for shlr/tcc 2013-06-05 16:15:39 +02:00
pancake
a21afe4053 More work to deprecate old cparse and use libr_tcc 2013-06-05 09:29:27 +02:00
pancake
537cbefdbf Initial import of libr_tcc (make -C shlr tcc-sync) 2013-06-05 01:13:05 +02:00
pancake
9d65bfe70c Initial r_cons palette support. See 'ec' command 2013-05-22 04:22:49 +02:00
pancake
16ddff4eb9 More work on ESIL, and implement r2 -Desil .. 2013-05-20 03:00:49 +02:00
pancake
356640967b Fix double warning for -zz and add support for openSUSE in mingw32.sh
- Fix mingw32 build
- Fix double warn for -zz
- Some code indentation in c55plus code
- mingw32.sh now supports openSUSE
2013-05-17 01:42:24 +02:00
schrotthaufen
167dd44734 Fixed a NULLptr deref in java loader 2013-05-14 02:30:43 +02:00
pancake
32391e5f79 Update sdb and fix Linux build (-fPIC) 2013-05-14 02:26:43 +02:00
pancake
2b12d1f9cd Add missing file 2013-05-14 02:12:54 +02:00
pancake
9c8692ab06 Some udis86 anal fixes, update sdb and fix mingw32 build 2013-05-14 01:53:52 +02:00
pancake
735bcc2fb9 Use r_file_abspath() and add dir.projects eval config var 2013-05-05 18:35:14 +02:00
pancake
be02d4fc9d Initial work on the evaluable opcode analysis strings
- New command 'ae' to evaluate those expressions
- Use 'ao~code' to see the generated eval strings
- Rerefix udis86 16bit issue
2013-05-04 02:35:52 +02:00
Shane Peelar
24ccb7aabb Fixed compilation problems on Windows with MinGW-w64 4.8 2013-05-02 10:17:59 +02:00
pancake
b9a9b14a60 shlr/java is now PIC 2013-05-01 01:50:37 +02:00
pancake
e407346300 Fix shlr/ sdb-sync 2013-05-01 01:43:35 +02:00
pancake
781e62bedb Move libr/db/sdb to shlr/sdb (fix build?) 2013-05-01 01:29:06 +02:00
pancake
3a55123970 More enhacements for the webui
- Get version using r2 api in about panel
- Align all buttons of the topbar
- Bigger font size for disasm
2013-04-30 04:01:06 +02:00
pancake
1e6aeb655c Minor fixes on the webui 2013-04-30 03:36:38 +02:00
pancake
b244a31cef Upgrade enyo and enhace webui (add scripting tab)
- Honor pvj length
- Refix udis86 16/32bit disasm
- Fix many glitches in the webui
2013-04-30 03:25:32 +02:00
pancake
1e325fc5b0 Fix 16bit disasm bug using udis86. Fixes #25 #83 2013-04-29 09:20:16 +02:00
pancake
4cf83c6a63 Detect more c++ bins, demangle symbols and fixes in udis86
Better detection of c++ bins
Handle symbol/import name mangling as code comments
Fix visual menu 'VT'
Fix udis86 call analysis
2013-04-16 03:24:47 +02:00
pancake
93f9d519cf Fix build 2013-04-08 09:58:12 +02:00
pancake
8633231012 Add UJMP opcode in udis86 anal plugin 2013-04-04 12:22:27 +02:00
pancake
359c1f7225 Update to udis86-git(cd shlr/udis86 ; make sync)
Source taken from git://github.com/vmt/udis86.git
2013-04-02 14:59:38 +02:00
chous
14eee2a325 Added support for invokedynamic opcode. 2013-03-16 22:56:21 +01:00
pancake
018b383344 Fixes in the Java CLASS parser and arm assembler
Some fixes in the java class parser (still leaky and buggy)
Ignore '#' char in armass and support upper/camel-case input
2013-02-19 19:32:02 +01:00
pancake
84270da643 Add randomart print mode (pk/pK commands and rahash2 -k)
Random code cleanup
Remove borders in webui/two
2013-02-12 02:42:34 +01:00
pancake
36b3177d92 Lot of enhacements in the webui, add Cz
Code cleanup and fixes for 'afr'
WebUI (enyo) is much more usable now
New command 'Cz' as an alias for 'Cs len'
2013-02-11 04:08:21 +01:00
pancake
bab19e4164 Implement colorbar in webui, rename p% to pv 2013-02-10 03:18:20 +01:00
pancake
f37df0d2c6 Fix fatmach0 extract when unknown files are inside
Fix segfault in java class header parser
Fix help message of 'wt' command
2013-01-29 19:39:41 +01:00
pancake
c38d77ecfd webui: openPage(0) when tapping a symbol 2013-01-26 03:43:07 +01:00
pancake
76e9e63c89 More work on webui 2013-01-26 03:33:13 +01:00
pancake
1f6174c6ae Better webui, 'pi' counts opcodes and remove /new and htmlgraph
pi honors number of instructions, not bytes
Remove htmlgraph and lungo webui
More work on the enyo webui
2013-01-25 03:22:09 +01:00
pancake
1c93e8a727 Better webui, fix segfault in ag, add agj for json graphs
More work on the webui
New 'agj' command to get function graphs in json
Fix segfault in 'ag' command
'agv' now launches the internal http server
Initial refactoring for RAnalHint integration into RCore
Add basic mime-type support in the http server
Enhace the graph view style
2013-01-24 03:48:24 +01:00
pancake
9b1df62609 Fix mmap and other minor issues on w32 2013-01-23 18:38:08 +01:00
pancake
d82c53224f Fix w32 build 2013-01-23 14:50:50 +01:00
pancake
18ff639bd6 Add 'fj' and 'fsj' commands to show json instead of blocks 2013-01-17 03:29:46 +01:00
pancake
a4c8b96e20 Added 'fj' command, multiple @ per command and more
Support multiple @ for a single command (define offset+bytes)
Add 'fj' command to show flags in json format
Use monospaced font in vdoc
More work on the webui
2013-01-16 12:17:14 +01:00
pancake
b5b8a78e87 Support ';' comments in rasm2 and add asm in webui
Add a working assembler panel for enyo
Allow ';' as comments in multiline assembly
2013-01-15 09:47:29 +01:00
pancake
30cfe3f15c Initial working enyo console 2013-01-15 00:23:10 +01:00
pancake
5656505e79 Draft anal_hint. Fix build and fix build (armass.c)
Minor update in the enyo $webui
2013-01-13 03:19:32 +01:00
pancake
3f12cb2cb1 Update enyo from git and huge refactoring in r2wui 2013-01-11 04:33:00 +01:00
pancake
d9bfe2f408 Hide dummy draggable register window in webui 2013-01-05 00:01:08 +01:00
pancake
35808e31f8 Add io.zeromap to toggle old buggy mode doublemapping file to 0
Add http.maxsize to define the maximum file size to be uploaded
Add http.upget config var (not yet implemented)
2013-01-03 01:43:23 +01:00
pancake
a8a4c5e3e8 Initial implementation of http.upload (disabled by default)
Open http://localhost:9090/upload.html to upload
curl -F file=@/bin/ls http://localhost:9090/up/ls.bin
Tested on 10MB files without problems
Default upload directory is $TMPDIR
2013-01-03 00:47:58 +01:00
pancake
3fb4c7dd5e Use encodeURI in r2.js and implement http upload support 2013-01-02 18:37:48 +01:00
pancake
582ec87f29 Add missing index.html, fixes on the iOS app 2012-12-31 16:12:42 +01:00
pancake
8890b33d21 Add 'asm' utility in webui, fix section auto init 2012-12-24 00:18:33 +01:00
pancake
d1c351bcb4 The lungo web ui is now the default, enhace disasm+hexdump 2012-12-23 22:44:33 +01:00
pancake
ff8e5afe92 Implement 'ij' command. 2012-12-23 20:51:23 +01:00
pancake
7f5dd344da More work on the lungo web ui 2012-12-23 19:32:39 +01:00
pancake
f4d743d58c Update LungoJS to 2.1git 2012-12-23 18:34:30 +01:00
pancake
802d9ffd48 Fixes in RCoreLog and add log chat test in shlr/www/log.html 2012-12-23 15:19:11 +01: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
caaccaddc9 Fix some warnings 2012-12-13 18:32:26 +01:00
pancake
c8de9fe3a7 Fix http server spurious close syscall 2012-12-12 04:10:44 +01:00
pancake
c98cc9d1ab Fix some bugs and add close_later() methods in RSocket
Uglify d3.js (the smaller the better)
Fix premature socket close on http reply with a hack
2012-12-10 16:25:57 +01:00
pancake
e22ac507ea New cfg.minstr config var, add agcj command and d3 demo for r2wui 2012-12-10 01:52:11 +01:00
pancake
55bb8dc95e Fix udis86 trailing spaces, add 'dw' command 2012-12-07 12:03:53 +01:00
pancake
2134da8d08 Fix http.sandbox, Fix segfault in rnum, update lungo 2012-12-03 04:28:05 +01:00
pancake
2c9b45dfef Fix build 2012-12-03 04:06:02 +01:00
pancake
84002a421f Better new WebUI, fix pdf,pD, implement http.timeout and more
Enhacements in the new webui
Fix r_socket_block_time()
Implement assembler for the 1bit arch RAR (wip)
Fix pdf, pdb and pD (print_disasm)
Implement http.timeout and http.sandbox
2012-12-03 04:01:55 +01:00
pancake
23022c596b More datalove to the new webui, favicon, more menus, console, 2012-12-01 03:56:54 +01:00
pancake
b9584ac74e Do 302 when requested directory not ending in /$
Implement two column new ui for testing
2012-12-01 02:35:12 +01:00
pancake
7a0da18725 Add r_bin.rar plugin, per-section arch/bits, fix in S=
Add Sa to set/get per-section arch and bits configuration
Cache io->section and core->io->section to speed up the Sa
Update r_sys_arch*
Add dummy plugin in asm/rar
Fix lines of S=
2012-11-30 01:06:30 +01:00
pancake
df879389cb Initial import of the rarvm asm/dis and bin (wip, not integrated) 2012-11-29 04:12:15 +01:00
pancake
6e27dc0d76 Initial import of the /new lungo.js based web ui 2012-11-29 04:10:12 +01:00
pancake
6853f3a593 Fix build 2012-11-16 02:41:01 +01:00
pancake
8f6459977d Refactor of {bin|asm}/java into shlr/java 2012-11-16 02:29:30 +01:00
pancake
05d78f3fc6 Fix x86-16 disasm issue and add ctypes (wip) 2012-11-15 15:37:25 +01:00
pancake
6dadd63c4b Ad od scr.col and cjange more settings
Fix parsing of segmented addresses
Move hud to shlr/hud
Add r_cons_print_clear () for delayed 'clearscreens'
Add blankline option to RCons
Add scr.segoff to show prompt as segmented or not
Add scr.colpos to choose the position of cmd.cprompt
Deprecate old flags code
2012-11-14 03:25:32 +01:00
pancake
8e1dbb443a Better support for IO ports on asm.pseudo and analysis
* Analyze IO opcodes on x86
* Fix 0x0x in olly disasm
* Fix segfault in objc mangling
* Support for writing nibbles with 'wx'
* If optype is IO, use 'ports' flagspace
* Add support for flagspaces in RParse
* Use RList in RParse instead of list.h
* asm.pseudo handles for in/out x86 opcodes
* Random code cleanup
* Fix udis86 64bit disasm bug
2012-11-13 00:53:52 +01:00
pancake
1cd860aab6 Update udis86 from official git repo.
git pull  git://udis86.git.sourceforge.net/gitroot/udis86/udis86
2012-11-12 17:36:29 +01:00
pancake
1a6d3155e5 Enhace r2wui and implement 'pdj' command (disasm to json) 2012-11-08 09:49:27 +01:00
pancake
6956fe003a Add PIE (ASLR) field in RBinInfo for ELF, MACH0 and PE 2012-11-07 18:18:52 +01:00
pancake
8270c60a16 flex no longer mandatory, fix ios debugger
Flex is no longer mandatory for configure
Fix overflow in r_core_cmd0
vm_protect works again on iOS (using VM_PROT_COPY)
ptrace-cont is just a detach
fix build with latest ios sdk
2012-10-31 16:37:19 +01:00
pancake
8431655bf8 Some fixes in the file interpret command and the www
Fix loading of omap3830 script (support longer calc expressions)
Fix some glitches and TODOs in the www ui
2012-10-31 10:42:49 +01:00
Anton Kochkov
c72d2043c2 Added OMAP3430 MMIO reisters 2012-10-31 00:54:54 +04:00
pancake
f0a5671152 Enhace web ui with notepad, menubar and more! 2012-10-26 04:33:16 +02:00
pancake
1f15df18c4 Fix build and http shutdown, WebUI (afr, pdi), add socket timeout
Fix http server shutdown issue
Add timeout on socket connect
Enhace web ui with 'afr' and 'pdi' commands
Fix segfault in 'afr'
Fix build (thanks @egeektronic)
2012-10-25 21:40:11 +02:00
pancake
0aa55a4e01 Add support for http response headers
Fix some issues in the www ui
2012-10-03 12:10:18 +02:00
pancake
44a027c027 Updated web ui 2012-10-01 09:32:04 +02:00
pancake
a5ae470e79 Enhacements for the web ui
Unify the franceotv
Add www symlink to android build
2012-09-28 04:53:22 +02:00
pancake
7591182f3b More work on the web ui 2012-09-25 14:06:09 +02:00
pancake
98cb66b03b Enhacements for the web ui 2012-09-25 02:45:22 +02:00
pancake
c40dda0b0a Fix 16 bit x86 code analysis
Mark cursor in visual for pw and pq
2012-09-24 23:34:12 +02:00
pancake
918725041b Fix race condition in www graphs 2012-09-21 17:44:40 +02:00
pancake
5f08a38ad9 Implement dynamic graph for the embedded web UI 2012-09-21 03:05:00 +02:00
pancake
063ed1615a Add demo graph view for www, add pad command remove a8
Enhacements for the r2irc bot (code cleanup and config)
Fix r_bin.vapi and other nodejs related issues
2012-09-19 03:15:36 +02:00
pancake
6a2de12266 Fix httpd shutdown and -e flag order in r2
Fix test case by ordering -e flag in r2
Fix httpd shutdown with ^C
Fix width of r2w2 when changing orientation
2012-09-07 12:49:36 +02:00
pancake
3861772e6d Initial implementation of r_io.zip plugin
Allows to: r2 zip://foo.apk//classes.dex
Honor LDFLAGS in r_bin
Fix filename issue in r_io_redirect
Add testing on-activate event in r2w2
2012-09-07 03:26:38 +02:00
pancake
61fc7e5899 Force HTTP/1.1 and better interface for r2w
Many bugfixes in the webserver implementation
Fix check for temporary directory
Fix vapi file for r_print
2012-09-07 01:48:09 +02:00
pancake
46e29afb98 Initial working web ui: r2 -c =H /bin/ls
Autodetect osx, win, linux and android browsers
Default port is 9090
Add support for local networking in RSocket
Add r_str_unescape() helper function
Fix htmlgraph.sh script.
Added wwwroot in shlr/www
Swap eval/cmd load order in r2
Add r_core_cmd_str_pipe()
Use RCons in 'fs'
2012-09-06 03:12:54 +02:00
pancake
f2db41ce3b Fix some bugs in cparse and ragg2-cc with gcc 2012-09-03 18:49:29 +02:00
pancake
a8757a695f Fix android build and add r_core->anal_define api
Fix static build (libr.a)
Fix android build farm scripts
Build system is still hacky
2012-09-03 01:27:52 +02:00
pancake
28428438f6 Lot of build fixes for --as-needed and mingw32
Fix z80 assembler
Add r_sys_truncate() for portability
Fail build if tests compilation is wrong
2012-08-10 11:35:38 +02:00
Roi Martin (@nibble_ds)
a4aef33922 Rename shrl/ to shlr/ (typo) 2012-08-06 14:25:31 +02:00