Commit graph

124 commits

Author SHA1 Message Date
pancake
66befa8bec Handle array as argument for cmd() in r2js api 2014-08-11 00:33:05 +02:00
Jody Frankowski
e78ff087da Fix add_file error handling 2014-08-10 13:02:47 +02:00
Jody Frankowski
4d38ff0d31 Propose the user to continue editing the broken rule file. Also others error handling fixes 2014-08-09 23:22:21 +02:00
Jody Frankowski
d0e54a895c Fix handling of yaralib return values 2014-08-09 23:22:21 +02:00
Jody Frankowski
b9e4a575cb Add yara <tags> command 2014-08-06 00:47:19 +02:00
Jody Frankowski
2a118f7fc8 Don't care about multiple spaces in yara add 2014-07-26 20:18:11 +04:00
Jody Frankowski
3e1267cfe8 Remove added rule file message 2014-07-26 20:18:10 +04:00
Jody Frankowski
16379a95ff Fix add_file call for r2 rules files. Fix dereference for yara add file
input
2014-07-26 20:18:10 +04:00
Jody Frankowski
300e0d4f3c Add new line in template to avoid easy syntax mistake 2014-07-26 20:18:10 +04:00
Jody Frankowski
8796b620dc yara add can open template rule 2014-07-26 20:18:10 +04:00
Jody Frankowski
e774c59d69 Add yara tag command 2014-07-17 10:36:14 +02:00
Jody Frankowski
c372b11848 Colorize yara help, add 'show' subcommand and make it insensitive 2014-07-17 04:51:20 +02:00
pancake
046b014dee Make bin/core java plugins use libr_java.a 2014-06-25 04:25:38 +02:00
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
9849c2b04f Fix core_java plugin warnings 2014-06-25 02:12:34 +02:00
pancake
42aeb0d271 Add --with-syscapstone configure flag 2014-06-24 12:48:29 +02:00
jvoisin
b1fcc1b898 Fix yara build on windows 2014-06-01 11:36:52 +02:00
pancake
5e33a8a282 Initial huge refactoring of r_io still work in progress 2014-05-28 04:34:12 +02:00
Anton Kochkov
57a8591b6f Fix #966 2014-05-24 02:31:18 +04:00
jvoisin
b748049acb Fix CID 1193486 2014-05-22 11:18:20 +02:00
jvoisin
7d01710cb5 The yara plugin now adds default rules in a deterministic order. 2014-05-22 10:35:03 +02:00
jvoisin
c66326b6e1 Fix a memleak in yara 2014-05-22 10:10:05 +02:00
Anton Kochkov
c806c5eae5 Fix Yara plugin segfault 2014-05-20 09:17:39 +04:00
deeso
1fbc7f2168 Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
this work with rbinfiles and rbinobjects.

Conflicts:
	libr/bin/bin.c
	libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
pancake
bd82919761 Iinitial warning cleanup 2014-05-12 04:06:40 +02:00
jvoisin
454700634d Add a "destructor" to the YARA thing 2014-04-30 22:48:42 +02:00
jvoisin
9139873021 Use r_cons_printf instead of eprintf for YARA
This allows to grep for rules.
2014-04-30 03:34:57 +02:00
jvoisin
a8552aba4b Add a "yara list" command 2014-04-29 00:26:38 +02:00
jvoisin
59e8a21a66 Add a default bundle of yara rules 2014-04-29 00:09:20 +02:00
jvoisin
35f62beabe Fix some yara warnings and memleaks 2014-04-28 21:59:47 +02:00
jvoisin
3ec7f596c5 Yara is now working :) 2014-04-28 18:42:39 +02:00
deeso
3c3443fc2b Adding cmd deinit to core and cmd_api 2014-04-28 10:40:09 -05:00
pancake
b49195f2df Fix lot of warnings 2014-04-28 11:53:22 +02:00
pancake
59c6498cc2 Add missing r_yara.h 2014-04-27 01:25:13 +02:00
pancake
639bdf0b1e Add missing 'yara.mk' 2014-04-27 01:17:30 +02:00
pancake
a0d3af60ec Fix core.yara plugin 2014-04-27 00:58:31 +02:00
deeso
bee3f3f3fc some minor fixes 2014-04-22 19:40:32 -05:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
deeso
7e60145d14 Fixing search static buffer and const-ifying non-const pointer 2014-04-22 17:21:27 -05:00
pancake
b1d8caf355 Fix #801 - Fix an unitialised variable 2014-04-22 10:45:39 +02:00
deeso
1ccd783649 Fixing: CID 1204077, CID 1204078, CID 1204079, CID 1204082, CID 1204081, CID 1204080 2014-04-19 18:11:13 -05:00
Adam Pridgen
a88218dd16 updating the way prototypes are created 2014-04-14 00:58:15 -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
deeso
1808ae3d22 added command wrapper for cp method ref insertion 2014-04-09 23:33:17 -05:00
Adam Pridgen
c3048100e2 Fixing coverity defects 2014-04-09 09:51:55 -05:00
Adam Pridgen
8b8f876c6b Adding constant resolution to code 2014-04-05 13:30:04 -05:00
Adam Pridgen
f43f1083dd minor fix to replace classname value (off by one) 2014-04-05 10:51:35 -05:00
Adam Pridgen
75043c88f3 added java command to print out the exception table 2014-04-05 04:12:56 -05:00
Adam Pridgen
b182b23b40 fixing the following coverity issues, which entails the issue with print and most of the java issues:
1196398, 1196403, 1196402, 1196401, 1196400, 1196413, 1196415, 1196414, 1196411
2014-04-05 00:39:17 -05:00
Adam Pridgen
aea7766d96 Fixed replace cp classname code, and added code to guard against too much fail if the java file is mangled 2014-04-05 00:10:25 -05:00
Adam Pridgen
61ccb44890 Fixing more memory leaks in java/class.c 2014-04-04 22:26:58 -05:00
Adam Pridgen
0f1cb60b2d Fixed an off-by-one write bug, but need to fix the class replacement function 2014-04-04 09:39:04 -05:00
pancake
613e6e2f9c Fix invalid free and r2 -hh help 2014-04-03 23:05:52 +02: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
94bcf930ee fixed a bug that unnecessailry deleted the constant null type 2014-04-03 02:03:20 -05:00
Adam Pridgen
9d6556cf93 References in code works 2014-04-03 00:12:32 -05:00
Adam Pridgen
d876dec7ee Adding java command to help identify external calls, reads, and writes 2014-04-02 17:02:23 -05:00
pancake
4e8ab49948 Fix freeing issue in RCore plugins and rename RCmdPlugin to RCorePlugin 2014-04-01 17:17:03 +02:00
Adam Pridgen
9f8d8b7b2e Adding a print summary for the class file, and revamping how summary dumps string content 2014-03-31 15:35:47 -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
6a50f55834 Fixing some of the coverity issues 2014-03-28 12:17:23 -05:00
Adam Pridgen
8d994160b0 Java CP String rewriting works, add R_NEW0 to RIODesc macro 2014-03-27 14:08:56 -05:00
Adam Pridgen
478d642434 Adding a command to shift blocks 2014-03-26 22:41:31 -05:00
Adam Pridgen
09fa5cf10c Added extend to io support, now files can be extended, b00y4! 2014-03-24 22:57:36 -05:00
pancake
d784eca2a8 Some static link fixes 2014-03-24 23:47:04 +01: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
fa683fbfd0 Added a java command to find all CP Object References in Functions, disabled debug code in yank 2014-03-22 20:20:58 -05:00
pancake
fad24ba146 Remove some warnings and unused code 2014-03-21 12:28:34 +01: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
6a835f159d Fix static link 2014-03-18 01:36:54 +01:00
pancake
b1b02fba8e Fix linkage of RCoreJava plugin 2014-03-18 00:55:26 +01:00
pancake
f80d659912 Fix java linkage 2014-03-18 00:15:10 +01:00
pancake
53edf7c17d Merge RCmd inside RCore 2014-03-18 00:05:44 +01:00