293 Commits

Author SHA1 Message Date
pancake
1a3ffef8b4 Fix static build 2014-06-25 04:11:43 +02:00
pancake
377b5bb2fe Clean a huge list of warnings 2014-06-25 02:07:38 +02:00
pancake
a1224b2156 Refactor rva > vaddr and offset > paddr.
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
Anton Kochkov
12037a14aa Fix CID 1214298 2014-05-17 03:44:05 +04: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
pancake
216c183b6e Remove tons of useless 'if (x) free (x)' 2014-05-09 17:40:28 +02:00
deeso
8802b42ca0 removed some unused variables, and grouped unused functions which happen to be used by different components 2014-04-30 20:42:05 -05:00
deeso
4dbc9916e8 Fix double assignment. 2014-04-29 23:38:35 -05:00
deeso
ce7f33480e fixing warnings (not the unused ones) in various files 2014-04-28 12:58:35 -05:00
deeso
f5310ee921 Fixed Java warnings relating to parameters not being void * for free functions 2014-04-25 20:34:19 -05:00
deeso
5f6f8064d9 Fixed some issues in bin/dwarf.c and Fixed 1205194, 1205193, 1205192, 1205202, 1205203, 1205204, 1205205, 1205209, 1205208, 1205207, 1205206 2014-04-25 15:14:57 -05:00
deeso
dd07844436 Fixing some Null Dereference Bugs courtesy of coverity 2014-04-22 18:39:17 -05:00
Adam Pridgen
ea94ae5c2c Fix CID: 1204243, 1204247, 1204246, 1204245, 1204244 2014-04-20 23:55:50 -05:00
deeso
e1378efd69 in shlr/java/code.c changing BYTES_CONSUMED 'volatile' to 'static volatile' 2014-04-20 17:28:02 -05:00
deeso
98e5d1af93 Fixing a bug, where the BYTES_CONSUMED in the java analysis was not updated 2014-04-19 22:45:03 -05: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
Adam Pridgen
c3048100e2 Fixing coverity defects 2014-04-09 09:51:55 -05:00
Adam Pridgen
af800c4b1b fix to wen because the size caused an incorrect allocation 2014-04-08 17:47:26 -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
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
d4657446d9 Adding code to check the end of buffer 2014-04-04 23:16:17 -05:00
Adam Pridgen
61ccb44890 Fixing more memory leaks in java/class.c 2014-04-04 22:26:58 -05:00
Adam Pridgen
35984ef8a6 Adding default values if imports cant be resolved 2014-04-04 20:29:08 -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
Adam Pridgen
1110265678 Eliminated most of the memory leaks caused by class file parsing 2014-04-03 22:16:28 -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
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
pancake
eb4373e325 Update sdb (add -j), fix static link builds 2014-04-03 04:04:03 +02: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
3fb12cddd1 fixed a bug in the annotations parsing and interfaces parsing 2014-04-01 19:45:44 -05:00
Adam Pridgen
6bc694f873 Added colorization to pdn and added a dead code warning if all the bytes in a method are not consumed during analysis. 2014-04-01 16:22:56 -05:00
Adam Pridgen
494e329d92 fixed bug for creating utf8 summary (thanks valgrind) 2014-03-31 15:52:03 -05: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
85d7d8a11d Fixing a typo, using the wrong buffer 2014-03-31 10:35:18 -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
fe0628fd14 Fixed java attribute readding bug 2014-03-28 20:56:07 -05:00
Adam Pridgen
6a50f55834 Fixing some of the coverity issues 2014-03-28 12:17:23 -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
09fa5cf10c Added extend to io support, now files can be extended, b00y4! 2014-03-24 22:57:36 -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