Commit Graph

22 Commits

Author SHA1 Message Date
Adam
1e893da471 Begin multi pass work 2015-07-04 13:35:01 -04:00
Adam
919ad34996 hm 2015-07-03 22:35:28 -04:00
Adam
500037fc45 Cleanup, prepare to detect more ob'd fields. 2015-07-03 18:54:54 -04:00
Adam
6834504e6c Work on detecting setters, for comparison/some fields which are never
cleanly gettd
2015-07-03 18:05:48 -04:00
Adam
18a914184b Don't count non ob'd fields, down to 50 2015-07-03 16:45:19 -04:00
Adam
7eb32d7df1 Something smarter, down to 82 2015-07-03 16:30:30 -04:00
Adam
c5bbe20791 Unused field stuff was harder than i thought 2015-07-03 01:09:01 -04:00
Adam
7b0776d1ec more arith deob 2015-07-02 17:07:57 -04:00
Adam
e5a8ff8268 cleanup, detect func(field * constant).
Sometimes non storing lvt instructions don't give us the correct getter
value eg

if (lvt > field * constant) -> actually if (lvt > field * x)
2015-07-02 13:48:26 -04:00
Adam
1056006b59 Got unused parameter stuff to run again. atm not bothering with
functions that might be overriden.
2015-06-30 14:46:15 -04:00
Adam
91f189add1 fix unused methods again 2015-06-28 20:45:01 -04:00
Adam
b0f5f33e89 Fixup rest of unused method stuff. It appears there are some garbage
fields too places.
2015-06-28 19:32:54 -04:00
Adam
d9f4d257a5 wip removal of unused methods based on execution from init. 2015-06-27 23:47:43 -04:00
Adam
0543950013 I think my invokevirtual execution is wrong because it doesn't actually
look for virtual methods on the type, which is why my unused method deob
does weird things. I am seeing methods that still exist after running it
that appear to be using non-inversible constants.
2015-06-25 19:07:46 -04:00
Adam
85fc94dd57 Thinking on modinverse 2015-06-23 19:29:32 -04:00
Adam
815b2e2931 works. splitting blocks by instructions jumped to and not checking
whether inlinable blocks were terminal.
2015-06-20 18:39:40 -04:00
Adam
713db7777f remove stack of ifs in illegal state ex deob, get rid of using pcs in
frame to execute, need to remove more of this later, make jumps jump to
instructions, doesn't yet work
2015-06-20 17:56:46 -04:00
Adam
98d85c646b illegal state exception deob, ff doesnt fully like it yet though 2015-06-19 23:30:03 -04:00
Adam
d3142d83ce Simplify jump deob, just destroy and rebuld jump graph instead of trying
to update it which sucks.
2015-06-18 16:49:47 -04:00
Adam
cb172775d4 Don't try and move jumps around in exceptions 2015-06-17 19:03:00 -04:00
Adam
db6269ba7e debugging, idr, exception handler execution support 2015-06-13 21:51:06 -04:00
Adam
6cac8c1cc9 Move deobfuscation methods to their own files 2015-06-13 14:24:04 -04:00