Commit Graph
100 Commits
Author SHA1 Message Date
Adam 5094943453 This works. Except for final fields, which I can evaluate later. 2015-10-23 15:46:03 -04:00
Adam f21cbba8b5 Fix test 2015-10-23 12:27:44 -04:00
Adam d4f40eaf03 Trying to fine tune stuff, found a *1 not removed which is messing with some stuff, added test 2015-10-23 12:04:23 -04:00
Adam 85c49413dd guess more 2015-10-23 11:00:47 -04:00
Adam bfb3a373c9 idk what im using, use multiplication expr to determine if another field is in the mix 2015-10-22 21:50:51 -04:00
Adam 9f17dec605 idr 2015-10-22 17:51:11 -04:00
Adam 5f6b01f4a0 1/0 works once again, maybe. 2015-10-22 11:01:43 -04:00
Adam 2f5f9861ef one/zero? obs arent handling stuff right, add test. now im setting null on instructions some places they fail 2015-10-22 09:53:56 -04:00
Adam bd2e62c22f Ran it a few times, is reobbing some stuff, seems not worse than the old stuff? 2015-10-21 21:37:31 -04:00
Adam d59a1fa88f isBig isnta lways right 2015-10-21 17:36:28 -04:00
Adam 6b41999fb5 Random thinking 2015-10-20 16:50:12 -04:00
Adam c2e1da7125 Java 8. This finally settles down by leaves many fields still obfuscated. 2015-10-19 21:14:21 -04:00
Adam 19cd153e37 Oh this was important 2015-10-19 15:24:43 -04:00
Adam 6c038e7fa6 Make generic load/store instructions. Unused params was replacing ins which requires a reexecution, but it wasn't 2015-10-19 15:23:01 -04:00
Adam 98143941b3 Unused params is causing problems after being run a few times :( 2015-10-18 22:03:46 -04:00
Adam 75364815aa Unused params is not working 2015-10-18 20:34:20 -04:00
Adam 9678bff181 Update gitignore 2015-10-18 18:44:54 -04:00
Adam d6f9509e5a Rename lookup2 -> lookup 2015-10-18 18:44:43 -04:00
Adam 95c4c441d0 Rewrite rename unique to work much different. Seems to run ok. 2015-10-18 18:41:04 -04:00
Adam f43a926e61 Not sure if this is right, but two different ins ctxs were popping this, but the same instruction, so I made it compare instructions 2015-10-17 23:16:13 -04:00
Adam 46955ddcbc move named/whirlpool out of member fields 2015-10-17 20:43:31 -04:00
Adam 4938226071 crc/whirlpool for archives 2015-10-17 20:35:37 -04:00
Adam eee5f72d4e Add disabled test to dump cache 2015-10-17 20:19:37 -04:00
Adam 0c022eef3e Check crc/whirlpool of archives 2015-10-17 20:19:19 -04:00
Adam 9b5a7981aa So there are archives not in the index, not sure what to do with it 2015-10-17 16:28:52 -04:00
Adam 5e28fe9768 Use apache compression commons for compressing gzip 2015-10-17 16:07:41 -04:00
Adam 9125e65e60 After some digging, it looks like this is bzip1 and not bzip2 2015-10-17 15:28:07 -04:00
Adam 52e631b74e gzip compressoin test 2015-10-17 14:23:54 -04:00
Adam 723a48c903 cleanup crc generator 2015-10-17 14:17:20 -04:00
Adam b21022d207 Merge gzip comp/decomp into one file 2015-10-17 14:13:34 -04:00
Adam 7c7de16025 refactor move utils 2015-10-17 14:12:04 -04:00
Adam c36ff0c5bd cleanup 2015-10-17 11:49:01 -04:00
Adam a16bf14e08 datafile can handle all of the compression 2015-10-17 11:47:26 -04:00
Adam 62f3fb1671 More cleanup 2015-10-16 20:45:54 -04:00
Adam d4c19592e1 The cleanup begins 2015-10-16 20:03:39 -04:00
Adam 2cc48ae9b0 Test multiple indexes/archives 2015-10-16 19:44:42 -04:00
Adam 7e580f0f0b Set file name hashes 2015-10-16 19:39:32 -04:00
Adam c42617490d Test more files 2015-10-16 19:27:30 -04:00
Adam 302f0bcfe1 Wow I wasn't even close 2015-10-16 19:26:43 -04:00
Adam ad63c9d423 multi store test, doesnt work 2015-10-16 18:44:43 -04:00
Adam 298d623bbf Add equals methods on objects, use for storetest 2015-10-16 12:52:38 -04:00
Adam bd5d57e94c Try with resource in storetest 2015-10-16 12:42:59 -04:00
Adam 4752eb160c store test of one file works 2015-10-16 12:40:51 -04:00
Adam 0bcc7842ec Very untested saving, but the bulk of the code is there 2015-10-15 16:00:42 -04:00
Adam 567d8b80ca This actually does work if you don't try to load encrypted archives. Begin work to allow saving/loading in memory for tests. woo. 2015-10-14 19:03:32 -04:00
Adam c2ee0cdf67 Well this doesnt work at all 2015-10-14 17:33:06 -04:00
Adam 649bec406d File loading. No clue if this is right. 2015-10-14 14:09:31 -04:00
Adam df2db1c84c Put Indexes in store, and indexfile in index 2015-10-14 10:02:09 -04:00
Adam 634d5ec325 Untested save archive 2015-10-13 21:47:38 -04:00
Adam e2f90f2c95 Rest of index loading? untested 2015-10-13 21:21:53 -04:00
Adam 92faf3fa48 Backup save of archive loading 2015-10-13 17:04:18 -04:00
Adam a557663044 datafile id should have been a parameter 2015-10-13 10:04:57 -04:00
Adam 2e118bb391 Init of store loading, what is datafile id 2015-10-13 09:59:37 -04:00
Adam 4f1f75c88f Cleanup/bugfixes 2015-10-13 09:50:50 -04:00
Adam 142e432403 Use TemporaryFolder for tests 2015-10-13 09:37:23 -04:00
Adam ec9f22fa33 Closeable 2015-10-12 21:20:46 -04:00
Adam 50a30553b9 Add basic store object 2015-10-12 21:16:03 -04:00
Adam 57a55d43e1 Add basic index file reader/writer and basic test 2015-10-12 21:08:46 -04:00
Adam ee265a6342 A little cleanup 2015-10-12 20:46:01 -04:00
Adam 07af5cef90 Begin work on DataFile 2015-10-12 20:34:53 -04:00
Adam c9a0c7bc55 Comment out failing test I will address later 2015-10-12 17:42:13 -04:00
Adam 5b48ccef29 Merge branch 'master+arith'
Conflicts:
	src/main/java/net/runelite/deob/deobfuscators/MethodInliner.java
2015-10-12 17:41:06 -04:00
Adam 99985d7d6f class172/field2976 passed to invoke is not simplified 2015-10-11 19:38:36 -04:00
Adam a0cb4c96d6 loop multi stuff 2015-10-10 22:05:36 -04:00
Adam 76206edeff More guessing stuff. Need an isobfuscated() func. 2015-10-10 22:05:25 -04:00
Adam 734f15fa4a More tests/fixes I dont know if this is right 2015-10-10 21:15:07 -04:00
Adam 27f2edbea6 Limited support for getting around iload/istore, Add test too. Seems to work? 2015-10-10 16:21:22 -04:00
Adam db089ab628 Small fixups i guess 2015-10-10 15:21:45 -04:00
Adam bd427975ae Cleanup some of the old encr stuff 2015-10-10 10:35:20 -04:00
Adam fd973a0a95 Check per pop if its multiple places or not 2015-10-09 14:14:14 -04:00
Adam 0bc49e1ec6 Fix fieldmover build? Not sure if this is correct. This mul test doesn't cover what I was trying to fix, field721 = (-1 != var5 && 1 != var5?(class139.field2363 * 1381104939 + 1 * field721 * 1) / 2:1381104939 * class139.field2363) * 1807370871 * 981643079; 2015-10-08 21:00:45 -04:00
Adam 9b4f4242eb hey this passes the test but doesnt compile. allow tracking more than one pops for stackctx. 2015-10-08 17:30:00 -04:00
Adam f4c004b7ad Add more to test, this fails 2015-10-07 17:20:02 -04:00
Adam 86bddfed9b This fixes the test, although there are simply multiplication expressions not being simplified now in the same expr 2015-10-07 15:23:54 -04:00
Adam 26b54f6278 save 2015-10-04 20:15:25 -04:00
Adam 9ca8151162 Isolate a test I believe is wrong 2015-10-03 23:31:00 -04:00
Adam f6f487ad6d Another dup1 test 2015-10-03 12:48:51 -04:00
Adam fb10ab8daa dupx1 test 2015-10-03 11:42:04 -04:00
Adam ec034ce50d Add junit as a test dependency 2015-10-03 00:37:59 -04:00
Adam 6f6fd51509 Split datastream loading from classfile to prepare for tests 2015-10-03 00:36:30 -04:00
Adam 1608d84b39 I need a better solution than having to edit the jumpgraph all the time 2015-10-02 22:50:32 -04:00
Adam 3e6213ea52 ise fixes, grr 2015-10-02 17:14:14 -04:00
Adam 164b5fd5af ahhhhhhhhhhhhhhh 2015-10-01 17:02:25 -04:00
Adam d61d006b34 Fix some of the dup stuff, works a little better? 2015-09-30 20:39:35 -04:00
Adam d43dc04519 something is wrong somewhere but I don't see anything 2015-09-27 21:26:05 -04:00
Adam 812975d7dc I don't know if this is right but can decompile 2201 okay 2015-09-27 17:32:32 -04:00
Adam 9efef8aa59 Make specific/generic to try and allow changing constants without having to change instructions 2015-09-26 23:59:05 -04:00
Adam 9a5d2c801f Rewrite multi deob, this looks rather nice 2015-09-26 19:31:07 -04:00
Adam 5cc12d0228 More multi fixes. Spinning is back with multiplication deobfuscator.. 2015-09-25 14:17:15 -04:00
Adam 5be7604ee9 IT GETS ME EVERY TIME 2015-09-25 12:40:47 -04:00
Adam ae8544cea1 beginning work on removing *1 2015-09-25 11:23:20 -04:00
Adam f7edf29ebc mul simplifying for simple expressions 2015-09-24 17:37:55 -04:00
Adam 1b063d9e12 save 2015-09-20 14:29:11 -04:00
Adam 762c6ba543 ahhhhhhhhhhhhhhhhhhhhhh 2015-09-20 13:41:15 -04:00
Adam ec86f0bee6 Basic multi arith, need to rewrite 2015-09-20 13:40:59 -04:00
Adam 4d21fe7daf XXX confused. trying something new, by inserting * setter and * getter before/after put/set field 2015-09-19 18:58:00 -04:00
Adam 200a82bc83 this inf loops and keeps changing the same last few fields back and forth etc.? 2015-09-13 19:41:10 -04:00
Adam 95b87c005c handle setConstant changing ins 2015-09-13 19:40:40 -04:00
Adam 0b1d2be4a1 still change if *1 2015-09-13 19:40:08 -04:00
Adam 98e3b7ec9e setConstant 2015-09-13 19:38:36 -04:00