5561478ec8Also direct assignment
Adam
2015-08-23 18:35:45 -04:00
7ac2b0e977Working on doing arith deob during exec
Adam
2015-08-23 18:22:51 -04:00
32cbb0f805Merge branch 'master' into master+arith
Adam
2015-08-23 12:55:31 -04:00
9878fb59b3Remove beginning of original instruction graph, don't need it
Adam
2015-08-23 12:49:21 -04:00
0a8d233083arith v2
Adam
2015-08-23 12:40:12 -04:00
4d4dd9715eAllow inlining methods with exceptions
Adam
2015-08-22 22:53:03 -04:00
0bfc3e3c38Blah whitespace
Adam
2015-08-22 17:56:08 -04:00
e478a4b1f9Store stack context with variable context, and pass up stack contexts when invoking methods. I don't think iirc is right?
Adam
2015-08-22 17:54:39 -04:00
8ff2f4776aOnly onsider non static methods in fieldmover, note why fieldmover is broken
Adam
2015-08-22 14:58:21 -04:00
8e487a3567Merge branch 'master' into master+fieldmove
Adam
2015-08-22 12:19:22 -04:00
1853bb1be1Field moving works
Adam
2015-08-22 12:18:24 -04:00
35d8a98365hm this assert fails
Adam
2015-08-19 21:23:00 -04:00
7fb5f3e721work on moving static initializers
Adam
2015-08-17 20:18:34 -04:00
88fc561188Fix rename unique fields
Adam
2015-08-17 17:01:03 -04:00
5839452b3brequires some work to move static field initializers
Adam
2015-08-16 21:15:51 -04:00
5059f8cc75Fix not removing ctors, unused class deob. Can't yet move static fields to client until I can move clinit
Adam
2015-08-16 19:08:22 -04:00
4f11ca9f36Rename info.sigterm -> net.runelite
Adam
2015-08-16 15:17:58 -04:00
1c8f2dbc27Inline static constant string fields
Adam
2015-08-15 17:05:54 -04:00
8a7e1d1f97Field mover
Adam
2015-08-15 14:54:48 -04:00
fc3c0a258fFinish methodmover
Adam
2015-08-15 12:49:00 -04:00
f91f6f5918Small fixes
Adam
2015-08-15 00:03:00 -04:00
09c4b108ddFix inliner
Adam
2015-08-14 15:01:11 -04:00
f3bdcf954eBail out if const param detects a lvt store
Adam
2015-08-14 14:00:27 -04:00
2eeda597dcCompare more than just the pops, but the entire stack, and compare the instructions not the contexts
Adam
2015-08-13 18:22:53 -04:00
9b4230154cUse instruction ctx to see if a jump has already happened. Not sure if it works but it runs.
Adam
2015-08-12 18:01:12 -04:00
f8fe552287invokespecial shouldn't find deep for the method being invoked
Adam
2015-08-09 20:50:06 -04:00
399e5d8f8acleanup athrow
Adam
2015-08-09 17:22:53 -04:00
0e626afd0ajump to exception handlers more reliably. fix finaliers
Adam
2015-08-09 17:22:00 -04:00
1090dfee7efix lt comparison
Adam
2015-08-09 13:06:42 -04:00
b9410f76a5remove unused blocks
Adam
2015-08-09 12:11:17 -04:00
ba1ff95628Trying to make this work live, constant param deob is breaking stuff
Adam
2015-08-09 12:10:58 -04:00
7c336948fcRebuild jump graph in inliner
Adam
2015-08-08 21:51:15 -04:00
da0b7403b4Try and replace unused blocks with unreached code, seeing some problems somewhere
Adam
2015-08-08 20:45:16 -04:00
12318efcafuntested, inline functions with args/return values
Adam
2015-08-08 14:27:02 -04:00
2e7e2d31d4Inline static void methods with no arguments
Adam
2015-08-08 11:06:41 -04:00
d09eb21a0dSome initial work on inlining
Adam
2015-08-08 00:37:12 -04:00
42e4223e83make illegal state exception less strict
Adam
2015-08-07 20:46:47 -04:00
95368f61a8Fix constant parameter corrupting instructions. Make unused blocks faster.
Adam
2015-08-06 18:59:23 -04:00
ba4f23ffbdper method,lvt deadops, but this appears to produce broken code?
Adam
2015-08-05 17:03:49 -04:00
9c3b0b4754Fix identifying vmethods incorrectly if two classes can be reached in the classgraph with two methods that have the same name and signature but are otherwise unrelated
Adam
2015-08-04 20:40:20 -04:00
57b9a45871appears to work
Adam
2015-08-02 21:46:24 -04:00
1ac0cef696these const push instructions are also push instructions. need to fix jumps to the logically dead conditionals.
Adam
2015-08-02 11:50:20 -04:00
516fa7805fI dont know if this works or is correct but it runs?
Adam
2015-08-01 21:35:02 -04:00
7ce6cca104this doesn't work at all but looks bette
Adam
2015-07-31 23:48:35 -04:00
7b4de7d8dbI dont like this
Adam
2015-07-31 12:47:40 -04:00
5478fc7385Start of constant parameter stuff
Adam
2015-07-30 16:39:48 -04:00
f27e410f5bFix rename unique, renaming fields depends on classgraph for searching deep for fields
Adam
2015-07-28 16:48:03 -04:00
369a93be7bRename unique first
Adam
2015-07-27 20:12:56 -04:00
fda37792ffSeeing something weird with invokestatic methods on non static methods?
Adam
2015-07-26 21:36:19 -04:00
35fcfc0645Don't remove params on not ob'd methods, or ctors
Adam
2015-07-26 19:01:43 -04:00
30e29a52abrename unique works
Adam
2015-07-26 14:15:52 -04:00
76cd96b7d8Check for unused constructors too
Adam
2015-07-13 16:20:34 -04:00
ba5ecc5c6cFix multianewarray class renaming
Adam
2015-07-13 08:49:49 -04:00
b7d4d4981fDebugging stuff.
Adam
2015-07-12 21:43:40 -04:00
ec50303962Fix up jump inlining, this causes linear scans of the instructions for a lot of exceptions and is slow. Need to allow inlining in try blocks?
Adam
2015-07-12 00:15:45 -04:00
3fbb69e102Fixes to unique rename, just use getMethods() instead of comparing names
Adam
2015-07-11 13:34:32 -04:00
e263694eacRest of rename unique. Untested but asm looks ok.
Adam
2015-07-11 11:33:40 -04:00
b03a0e3181Rename unique non overriden methods
Adam
2015-07-10 22:00:12 -04:00
26458e7280Add common deobfuscator interface
Adam
2015-07-10 12:37:45 -04:00
df11cdadedRename unique fields
Adam
2015-07-10 11:29:46 -04:00
5781f08152Beginning work of rename unique, now renames classes
Adam
2015-07-09 20:56:44 -04:00
c92387e089Remove pool entry pool reference
Adam
2015-07-07 12:49:37 -04:00