Commit Graph

9272 Commits

Author SHA1 Message Date
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
Adam
309595a09b instructions replace 2015-09-13 19:37:44 -04:00
Adam
a826ac3c47 some guessing, fix dup stuff via magic 2015-09-12 22:15:37 -04:00
Adam
c463687202 dupinstruction, and enc 2015-09-12 13:59:31 -04:00
Adam
53234351f9 the value is still decrypted if it is 1 or 0 since x*1=x and x*0=0 so this was wrong 2015-09-12 13:53:13 -04:00
Adam
5116d09fa0 begin work on guessing 2015-09-11 20:47:41 -04:00
Adam
c5af568867 rename unique run 2015-09-10 21:11:36 -04:00
Adam
c8d1ec9e25 After imul runs the value is no longer encrypted 2015-09-10 14:17:47 -04:00
Adam
2cfba32e28 class172.java: this.field2982 = ((1 * this.field2963 & -65536) + this.field2982 * 1) * -402105799; not working. 2015-09-09 21:24:37 -04:00
Adam
9404e1d9af Carry encryption over in iadd and dup x1, this needs to be handled a better way. 2015-09-08 20:45:57 -04:00
Adam
7e9233a5d5 Fix putfield pop order, runs on all fields it detects now. Don't know if it works. 2015-09-08 15:46:29 -04:00
Adam
7b440adc0c Fix putfield object/value order 2015-09-08 13:33:46 -04:00
Adam
2ea00d654f 32 vars! 2015-09-07 17:07:02 -04:00
Adam
f46e4dfdce translating one field works 2015-09-06 23:39:47 -04:00
Adam
88bd6490de Work. 2015-09-05 23:19:38 -04:00
Adam
9c16bc7ede Fix methodinliner to move jumps to the function being inlined to the right place
(cherry picked from commit fae040a98f)
2015-09-05 21:47:03 -04:00
Adam
fae040a98f Fix methodinliner to move jumps to the function being inlined to the right place 2015-09-05 19:10:57 -04:00
Adam
227606a065 hm 2015-08-26 19:10:56 -04:00
Adam
1fd79174ea Some detecting getters, not totally right. Cap at 5. 2015-08-24 18:27:13 -04:00
Adam
4143a59d9d cleanup 2015-08-23 20:29:23 -04:00
Adam
5561478ec8 Also direct assignment 2015-08-23 18:35:45 -04:00
Adam
7ac2b0e977 Working on doing arith deob during exec 2015-08-23 18:22:51 -04:00
Adam
32cbb0f805 Merge branch 'master' into master+arith
Conflicts:
	src/main/java/net/runelite/deob/attributes/code/instructions/GetStatic.java
2015-08-23 12:55:31 -04:00
Adam
9878fb59b3 Remove beginning of original instruction graph, don't need it 2015-08-23 12:49:21 -04:00
Adam
0a8d233083 arith v2 2015-08-23 12:40:12 -04:00
Adam
4d4dd9715e Allow inlining methods with exceptions 2015-08-22 22:53:03 -04:00
Adam
0bfc3e3c38 Blah whitespace 2015-08-22 17:56:08 -04:00