Commit Graph

46 Commits

Author SHA1 Message Date
Adam
1eee5a48ae store pushes in instruction context too 2015-06-24 14:48:30 -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
Adam
3140a51f3f Conflicts:
src/main/java/info/sigterm/deob/Deob.java
	src/main/java/info/sigterm/deob/attributes/code/Instructions.java
2015-06-13 11:09:34 -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
1e34e0ec66 Remove instructions correctly 2015-05-11 10:26:48 -04:00
Adam
64d41c6f92 Cleanup block removal 2015-05-11 10:25:00 -04:00
Adam
fa3e9c0262 Hard to follow, exception removal and unused block (only from the now
removed exceptions from what I can tell)
2015-05-10 16:42:47 -04:00
Adam
2edf9d2117 clinit 2015-05-10 15:44:43 -04:00
Adam
ba7486b98b Descriptor stuff 2015-05-10 15:06:50 -04:00
Adam
4af719032d Allow pool to be dynamically rebuilt 2015-05-09 17:00:30 -04:00
Adam
0d21d49d2d Can detect unused parameters 2015-05-05 13:36:54 -04:00
Adam
e70466fc0a Add local var table instruction type and make relevant instructions
implement it
2015-05-04 15:36:38 -04:00
Adam
267efc7940 Remove unused methods 2015-04-25 15:30:22 -04:00
Adam
a9f953b46a Class writing, call graph, eclipse project 2015-04-25 12:47:06 -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
763d82379e Add eclipse project file 2015-02-01 18:06:18 -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
463b6df138 Array stuff needs more thinking. 2014-12-05 17:18:16 -05:00
Adam
ea366191ea Some branching/jumping 2014-12-05 16:26:07 -05:00
Adam
ea556bef32 Most other instructions except for function calls and locking 2014-12-04 16:05:41 -05:00
Adam
98b4025a81 More instructions 2014-12-03 14:50:21 -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
4a24560be5 Add field references, only for getstatic currently 2014-12-01 17:00:55 -05:00
Adam
228f650b6c Some thinking about execution 2014-12-01 14:37:19 -05:00
Adam
0d50085e03 Build class graph 2014-12-01 12:52:16 -05:00
Adam
df28895fc8 Build jump graph 2014-12-01 12:19:48 -05:00
Adam
44f018727f Fix invokeinterface, add invokedynamic 2014-12-01 12:00:46 -05:00
Adam
b51ed54426 Seems to run 2014-12-01 11:42:47 -05:00
Adam
39ed12af48 Instructions done 2014-12-01 11:37:08 -05:00
Adam
9a128c191c Unfinished 2014-12-01 00:31:26 -05:00
Adam
41681f94a5 init of deob 2014-11-30 20:35:37 -05:00