Riccardo Schirone
0948f9536b
Use r_buf_size to get the size of a buffer, not the private field ( #13380 )
...
* Use r_buf_size to get the size of a buffer, not the private field
* Use r_buf_seek instead of adjusting the private cur RBuffer field
* use r_buf_read instead of r_buf_read_at(.., cur, ..)
* Fix RBuffer usage in REgg
* Introduce r_buf_tell API instead of using seek
* write_at(cur) == write
2019-03-15 20:28:52 +01:00
Paul I
69e655fd49
Meson: enable Propeller and Java ( #9639 )
2018-03-09 20:05:47 +08:00
pancake
2829d9e398
Detect kotlin in java classes
2017-07-19 13:55:05 +02:00
pancake
40b87865a8
Fix listing methods of classes in Java bins
2017-05-29 01:18:04 +02:00
Anton Kochkov
6204f2a59d
Remove erringly written semicolon in structure
2015-10-06 00:46:44 +03:00
pancake
acd2ab9cb5
Fix w32 build. UINT macro redefined by windows
2015-05-29 09:49:47 +02:00
pancake
f60a8f361b
Fix Java disassembler for Mac t.anal/java/java
2015-05-29 02:46:49 +02:00
jvoisin
a8937732b8
Fix all 'warning: function declaration isn’t a prototype [-Wstrict-prototypes]'
2015-01-13 03:40:35 +01:00
pancake
dd131e15d0
Fix stack exhaustion bug in Java class parser
2014-11-05 01:31:33 +01:00
deeso
55fe0a9e9a
Added command that 'bruteforces' the parsing of a class file in a blob of data
2014-09-20 19:46:21 +02:00
pancake
4c4173769b
Revert "Fixing the issue where file size exceeds size of an integer":
...
3adb00621b
e2afa84443
0761955fdb
17cc18fad0
135c62fb5d
2014-09-20 15:33:59 +02:00
Adam Pridgen
135c62fb5d
Fixing *most* warnings related to the change in r_file_slurp
2014-09-17 22:37:54 -05:00
deeso
083394175c
Adding JSON output for the java prototypes
...
- Created a simple JSON string builder lib so its
easier to build the JSON strings.
- Fixed errors and missing symbols on Mac Build
2014-09-13 17:37:11 +02:00
pancake
046b014dee
Make bin/core java plugins use libr_java.a
2014-06-25 04:25:38 +02:00
pancake
962ac8d307
Fix all java warnings
2014-05-12 10:16:15 +02:00
pancake
bd82919761
Iinitial warning cleanup
2014-05-12 04:06:40 +02:00
deeso
f5310ee921
Fixed Java warnings relating to parameters not being void * for free functions
2014-04-25 20:34:19 -05:00
Adam Pridgen
7cd412f6c9
Fix coverity issues and small bug in interfaces
...
Change the java references are presented in lcr
2014-04-13 23:49:00 -05:00
Adam Pridgen
0853afc78e
added some preliminary stuff to enable more point based hooking by appending cp object
...
to the end of the cp array. added method and field offsets attributes to sections
2014-04-08 11:19:29 -05:00
Adam Pridgen
75043c88f3
added java command to print out the exception table
2014-04-05 04:12:56 -05:00
Adam Pridgen
3048a34783
Trying to fix mem-leaks, and allow updating of bin object infos
2014-04-03 14:04:07 -05:00
Adam Pridgen
d876dec7ee
Adding java command to help identify external calls, reads, and writes
2014-04-02 17:02:23 -05:00
Adam Pridgen
7bee007b9c
Class name replacement works
2014-03-30 14:04:15 -05:00
Adam Pridgen
a7bcdcab01
Adding class replacement
2014-03-28 21:06:26 -05:00
Adam Pridgen
478d642434
Adding a command to shift blocks
2014-03-26 22:41:31 -05:00
Adam Pridgen
d0b9a6c023
Refactored java code. Now bins can be reloaded from buffers (in theory)
2014-03-26 14:35:42 -05:00
Adam Pridgen
c343ac5cab
tweaking java parsing to enable class file structure modifications
2014-03-25 13:10:11 -05:00
Adam Pridgen
f724b74fa7
Adding search and replace for CP Constant Values like UTF8, ints, longs, floats, and doubles:
2014-03-23 23:06:33 -05:00
Adam Pridgen
9f468a3c2d
fixed the java *_info c to name and count the methods and fields
2014-03-17 21:30:39 -05:00
pancake
92c5d8513b
Refix link
2014-03-18 02:21:52 +01:00
pancake
6a835f159d
Fix static link
2014-03-18 01:36:54 +01:00
Adam Pridgen
11b1cab8f5
Added some commands to print summary information for methods and fields, and added a
...
FUNC_META symbol for Java Method attribute. This will report meta information for a
given method.
2014-03-17 02:14:38 -05:00
Adam Pridgen
62445c5e98
Adding java command plugin and moving the functionality out of the anal/p/anal_java.c code
...
Added functions to print information about CP Objects and read/write access flags
2014-03-16 22:32:18 -05:00
Adam Pridgen
b464851707
reduced the Java R_API footprint and fixed some other java related stuff
2014-03-15 15:18:45 -05:00
pancake
d25cafe4d4
Check Java version in RBin's check(), cleanup (-44LOC)
2014-02-22 00:19:16 +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
8f72843498
Refactoring java constant pool resolution
2014-02-18 22:29:03 -06:00
Adam Pridgen
5b731da686
Adding Java types to the anal types sdb
2014-02-18 00:36:19 -06:00
Adam Pridgen
e0b605e939
Added command in anal_java to calculate access flags values
2014-02-17 11:01:23 -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
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
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
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
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