Commit Graph

  • fcc8fddcd7 Make unused method stuff simpler don't worry about collisions, I'll rename everything later so it wont be a problem Adam 2015-07-05 21:05:34 -04:00
  • bfcfaa84e6 This doesn't really work but it's a start. Adam 2015-07-05 17:10:44 -04:00
  • a7b70c072b Some fields we may be able to detect get but not set, should probably calculate the othe rhalf instead of trying to calculate it from multiple fields? Adam 2015-07-05 00:40:23 -04:00
  • 1e893da471 Begin multi pass work Adam 2015-07-04 13:35:01 -04:00
  • 919ad34996 hm Adam 2015-07-03 22:35:28 -04:00
  • 500037fc45 Cleanup, prepare to detect more ob'd fields. Adam 2015-07-03 18:54:54 -04:00
  • 6834504e6c Work on detecting setters, for comparison/some fields which are never cleanly gettd Adam 2015-07-03 18:05:48 -04:00
  • 18a914184b Don't count non ob'd fields, down to 50 Adam 2015-07-03 16:45:19 -04:00
  • 7eb32d7df1 Something smarter, down to 82 Adam 2015-07-03 16:30:30 -04:00
  • c5bbe20791 Unused field stuff was harder than i thought Adam 2015-07-03 01:09:01 -04:00
  • 7b0776d1ec more arith deob Adam 2015-07-02 17:07:57 -04:00
  • e5a8ff8268 cleanup, detect func(field * constant). Adam 2015-07-02 13:48:26 -04:00
  • 1056006b59 Got unused parameter stuff to run again. atm not bothering with functions that might be overriden. Adam 2015-06-30 14:46:15 -04:00
  • 91f189add1 fix unused methods again Adam 2015-06-28 20:45:01 -04:00
  • b0f5f33e89 Fixup rest of unused method stuff. It appears there are some garbage fields too places. Adam 2015-06-28 19:32:54 -04:00
  • d9f4d257a5 wip removal of unused methods based on execution from init. Adam 2015-06-27 23:47:43 -04:00
  • dfcc41b41c I will need to actually perform method invocations during execution to be able to pass/get the correct underlying types of variables for the virtual method lookup. Adam 2015-06-26 13:19:51 -04:00
  • 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. Adam 2015-06-25 19:07:46 -04:00
  • 1eee5a48ae store pushes in instruction context too Adam 2015-06-24 14:48:30 -04:00
  • 85fc94dd57 Thinking on modinverse Adam 2015-06-23 19:29:32 -04:00
  • 815b2e2931 works. splitting blocks by instructions jumped to and not checking whether inlinable blocks were terminal. Adam 2015-06-20 18:39:40 -04:00
  • 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 Adam 2015-06-20 17:56:46 -04:00
  • 98d85c646b illegal state exception deob, ff doesnt fully like it yet though Adam 2015-06-19 23:30:03 -04:00
  • d3142d83ce Simplify jump deob, just destroy and rebuld jump graph instead of trying to update it which sucks. Adam 2015-06-18 16:49:47 -04:00
  • cb172775d4 Don't try and move jumps around in exceptions Adam 2015-06-17 19:03:00 -04:00
  • db6269ba7e debugging, idr, exception handler execution support Adam 2015-06-13 21:51:06 -04:00
  • 6cac8c1cc9 Move deobfuscation methods to their own files Adam 2015-06-13 14:24:04 -04:00
  • 3140a51f3f Conflicts: src/main/java/info/sigterm/deob/Deob.java src/main/java/info/sigterm/deob/attributes/code/Instructions.java Adam 2015-06-13 11:09:34 -04:00
  • a677e64aac Remove unused parameters Adam 2015-06-13 11:01:46 -04:00
  • eb986ba708 Eclipse code cleanup Adam 2015-05-31 16:04:57 -04:00
  • 0fcbcd262c new execute stuff Adam 2015-05-31 16:03:37 -04:00
  • 1e34e0ec66 Remove instructions correctly Adam 2015-05-11 10:26:48 -04:00
  • 64d41c6f92 Cleanup block removal Adam 2015-05-11 10:25:00 -04:00
  • fa3e9c0262 Hard to follow, exception removal and unused block (only from the now removed exceptions from what I can tell) Adam 2015-05-10 16:42:47 -04:00
  • 2edf9d2117 clinit Adam 2015-05-10 15:44:43 -04:00
  • ba7486b98b Descriptor stuff Adam 2015-05-10 15:01:39 -04:00
  • 4af719032d Allow pool to be dynamically rebuilt Adam 2015-05-09 17:00:30 -04:00
  • 0d21d49d2d Can detect unused parameters Adam 2015-05-05 13:36:54 -04:00
  • e70466fc0a Add local var table instruction type and make relevant instructions implement it Adam 2015-05-04 15:36:38 -04:00
  • 267efc7940 Remove unused methods Adam 2015-04-25 15:30:22 -04:00
  • a9f953b46a Class writing, call graph, eclipse project Adam 2015-04-25 12:47:06 -04:00
  • 4dc6bfc949 Doesn't execute all paths correctly Adam 2015-02-08 16:35:58 -05:00
  • d00e5b03e1 Doesn't work and I don't know why Adam 2015-02-01 22:19:28 -05:00
  • 027dc6eff9 Some thinking about exceptions Adam 2015-02-01 21:15:14 -05:00
  • 763d82379e Add eclipse project file Adam 2015-02-01 18:06:18 -05:00
  • e38b4c5212 More execution work Adam 2015-02-01 17:49:33 -05:00
  • cec4f0ac59 getObject on String should really just return the string Adam 2015-01-26 02:25:42 -05:00
  • 55dca4fa9b Executor work Adam 2015-01-26 00:40:54 -05:00
  • a998491133 Invokeinterface, among others Adam 2014-12-09 02:00:10 -05:00
  • 463b6df138 Array stuff needs more thinking. Adam 2014-12-05 17:18:16 -05:00
  • ea366191ea Some branching/jumping Adam 2014-12-05 16:26:07 -05:00
  • ea556bef32 Most other instructions except for function calls and locking Adam 2014-12-04 16:05:41 -05:00
  • 98b4025a81 More instructions Adam 2014-12-03 14:50:21 -05:00
  • 81095be5da More execution, including getstatic Adam 2014-12-02 15:36:06 -05:00
  • 37dac95ee0 More execution stuff Adam 2014-12-02 12:02:29 -05:00
  • 4a24560be5 Add field references, only for getstatic currently Adam 2014-12-01 17:00:55 -05:00
  • 228f650b6c Some thinking about execution Adam 2014-12-01 14:37:19 -05:00
  • 0d50085e03 Build class graph Adam 2014-12-01 12:51:30 -05:00
  • df28895fc8 Build jump graph Adam 2014-12-01 12:16:51 -05:00
  • 44f018727f Fix invokeinterface, add invokedynamic Adam 2014-12-01 12:00:46 -05:00
  • b51ed54426 Seems to run Adam 2014-12-01 11:42:47 -05:00
  • 39ed12af48 Instructions done Adam 2014-12-01 11:37:08 -05:00
  • 9a128c191c Unfinished Adam 2014-12-01 00:31:26 -05:00
  • 41681f94a5 init of deob Adam 2014-11-30 20:35:37 -05:00