Commit Graph

30 Commits

Author SHA1 Message Date
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
0e626afd0a jump to exception handlers more reliably. fix finaliers 2015-08-09 17:22:00 -04:00
Adam
da0b7403b4 Try and replace unused blocks with unreached code, seeing some problems somewhere 2015-08-08 20:45:16 -04:00
Adam
95368f61a8 Fix constant parameter corrupting instructions. Make unused blocks faster. 2015-08-06 18:59:23 -04:00
Adam
516fa7805f I dont know if this works or is correct but it runs? 2015-08-01 21:35:02 -04:00
Adam
369a93be7b Rename unique first 2015-07-27 20:12:56 -04:00
Adam
3fbb69e102 Fixes to unique rename, just use getMethods() instead of comparing names 2015-07-11 13:34:32 -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
1eee5a48ae store pushes in instruction context too 2015-06-24 14:48:30 -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
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
Adam
a677e64aac Remove unused parameters 2015-06-13 11:01:46 -04:00
Adam
eb986ba708 Eclipse code cleanup 2015-05-31 16:04:57 -04:00
Adam
0fcbcd262c new execute stuff 2015-05-31 16:03:37 -04:00
Adam
ba7486b98b Descriptor stuff 2015-05-10 15:06:50 -04:00
Adam
4dc6bfc949 Doesn't execute all paths correctly 2015-02-08 16:35:58 -05:00
Adam
d00e5b03e1 Doesn't work and I don't know why 2015-02-01 22:19:28 -05:00
Adam
027dc6eff9 Some thinking about exceptions 2015-02-01 21:15:14 -05:00
Adam
e38b4c5212 More execution work 2015-02-01 17:49:33 -05:00
Adam
cec4f0ac59 getObject on String should really just return the string 2015-01-26 02:25:42 -05:00
Adam
55dca4fa9b Executor work 2015-01-26 00:40:54 -05:00
Adam
a998491133 Invokeinterface, among others 2014-12-09 02:00:19 -05:00
Adam
ea366191ea Some branching/jumping 2014-12-05 16:26:07 -05:00
Adam
81095be5da More execution, including getstatic 2014-12-02 15:36:06 -05:00
Adam
37dac95ee0 More execution stuff 2014-12-02 12:02:29 -05:00
Adam
228f650b6c Some thinking about execution 2014-12-01 14:37:19 -05:00