Commit Graph

11650 Commits

Author SHA1 Message Date
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
Adam
e478a4b1f9 Store stack context with variable context, and pass up stack contexts when invoking methods. I don't think iirc is right? 2015-08-22 17:54:39 -04:00
Adam
8ff2f4776a Only onsider non static methods in fieldmover, note why fieldmover is broken 2015-08-22 14:58:21 -04:00
Adam
8e487a3567 Merge branch 'master' into master+fieldmove 2015-08-22 12:19:22 -04:00
Adam
1853bb1be1 Field moving works 2015-08-22 12:18:24 -04:00
Adam
35d8a98365 hm this assert fails 2015-08-19 21:23:00 -04:00
Adam
7fb5f3e721 work on moving static initializers 2015-08-17 20:18:34 -04:00
Adam
88fc561188 Fix rename unique fields 2015-08-17 17:01:03 -04:00
Adam
5839452b3b requires some work to move static field initializers 2015-08-16 21:15:51 -04:00
Adam
5059f8cc75 Fix not removing ctors, unused class deob. Can't yet move static fields to client until I can move clinit 2015-08-16 19:08:22 -04:00
Adam
4f11ca9f36 Rename info.sigterm -> net.runelite 2015-08-16 15:17:58 -04:00
Adam
1c8f2dbc27 Inline static constant string fields 2015-08-15 17:05:54 -04:00
Adam
8a7e1d1f97 Field mover 2015-08-15 14:54:48 -04:00
Adam
fc3c0a258f Finish methodmover 2015-08-15 12:49:00 -04:00
Adam
f91f6f5918 Small fixes 2015-08-15 00:03:00 -04:00
Adam
09c4b108dd Fix inliner 2015-08-14 15:01:11 -04:00
Adam
f3bdcf954e Bail out if const param detects a lvt store 2015-08-14 14:00:27 -04:00
Adam
2eeda597dc Compare more than just the pops, but the entire stack, and compare
the instructions not the contexts
2015-08-13 18:22:53 -04:00
Adam
9b4230154c Use instruction ctx to see if a jump has already happened. Not sure if it works but it runs. 2015-08-12 18:01:12 -04:00
Adam
f8fe552287 invokespecial shouldn't find deep for the method being invoked 2015-08-09 20:50:06 -04:00
Adam
399e5d8f8a cleanup athrow 2015-08-09 17:22:53 -04:00
Adam
0e626afd0a jump to exception handlers more reliably. fix finaliers 2015-08-09 17:22:00 -04:00
Adam
1090dfee7e fix lt comparison 2015-08-09 13:06:42 -04:00