Commit Graph

100 Commits

Author SHA1 Message Date
de4dot
e15c74ae3e dnlib submodule was renamed. Update code 2012-12-20 02:06:09 +01:00
de4dot
be2271f932 Add updated submodule 2012-12-16 00:03:56 +01:00
de4dot
88d1a8ab89 Inline generic methods that DS added 2012-12-14 12:39:06 +01:00
de4dot
e2016f6b18 Add clearStack() and pop(int) 2012-12-14 12:29:52 +01:00
de4dot
5ad2e18695 Update code since submodule was updated 2012-11-19 17:58:34 +01:00
de4dot
1c4b3a7382 Port Goliath.NET deobfuscator 2012-11-18 03:02:12 +01:00
de4dot
6a7ddbaa56 Update code; submodule was updated 2012-11-16 23:50:52 +01:00
de4dot
3f742f3456 Don't inline methods if caller doesn't have access to the method/field it accesses 2012-11-15 22:15:12 +01:00
de4dot
9e708ed4fd Ignore req/opt modifiers 2012-11-14 21:44:57 +01:00
de4dot
445b68f4f5 Don't treat System.Void as a value type 2012-11-14 19:28:46 +01:00
de4dot
583d4201f5 Port Agile.NET deobfuscator 2012-11-07 05:17:45 +01:00
de4dot
ac171e3f29 Fix code since CilBody/HasCilBody were renamed 2012-11-06 15:58:55 +01:00
de4dot
c8039d249e Add more checks when input has lots of invalid metadata 2012-11-06 00:18:02 +01:00
de4dot
d8dbe2b212 Fix more porting todos 2012-11-04 12:54:05 +01:00
de4dot
70916173f3 Update code since dot10 was updated 2012-11-02 07:36:02 +01:00
de4dot
1341cc7199 Port more code 2012-11-01 16:42:02 +01:00
de4dot
8022a445a9 Port the remaining classes in blocks 2012-10-31 18:52:55 +01:00
de4dot
6f73696cc5 Port ..... 2012-10-31 16:54:20 +01:00
de4dot
7f42fb0e57 Don't treat boxed as non-null 2012-08-13 01:38:42 +02:00
de4dot
5fdd91ae05 Handle more switch cases 2012-08-07 21:57:48 +02:00
de4dot
4eb3b63a8a brtrue/brfalse now checks whether it's a non-null value 2012-08-04 12:04:07 +02:00
de4dot
19e8879d45 Emulate ldftn, ldsflda, ldtoken, ldvirtftn and ldflda 2012-08-04 12:03:12 +02:00
de4dot
fdd42859b3 Add a new ObjectValue value class 2012-08-04 12:02:40 +02:00
de4dot
94b21490da Add code to truncate r4/r8 values 2012-07-30 19:06:31 +02:00
de4dot
efef6cd297 Update switch cflow deobfuscator 2012-07-25 01:45:57 +02:00
de4dot
ad6c6401b9 Support VS2008 2012-07-07 07:16:55 +02:00
de4dot
17cee8fe45 Move code to a new BranchEmulator class 2012-06-11 21:19:36 +02:00
de4dot
2a7a134300 Make a field protected and compare method to inline as a reference 2012-05-29 19:07:58 +02:00
de4dot
e221fc7f52 Add property to tell whether to execute it or not 2012-05-03 05:34:12 +02:00
de4dot
83e8fac8ea Add CachedCflowDeobfuscator class 2012-05-02 13:49:12 +02:00
de4dot
6f807f2484 Refactor 2012-05-02 10:45:18 +02:00
de4dot
61bb3abdee Add method to return stack size and not truncate locals/args 2012-05-02 10:44:34 +02:00
de4dot
83b14da5c8 Refactor: create common cflow deob iface 2012-04-29 23:51:04 +02:00
de4dot
da1d649ef4 Make sure no generic methods are inlined 2012-02-25 06:33:38 +01:00
de4dot
5bcb0e51c1 Move code to new checkSameMethods() method 2012-02-03 14:21:58 +01:00
de4dot
d4b5744894 Add a paramIndex parameter 2012-02-03 09:42:55 +01:00
de4dot
01a893a799 Make canInline() virtual and move some logic there 2012-02-02 10:38:56 +01:00
de4dot
96c13fb05e Cache values to get 30% speed up with some files (DNR) 2012-01-27 03:10:37 +01:00
de4dot
dce16e9f12 Remove useless code 2012-01-27 01:03:41 +01:00
de4dot
887ee7c9e8 Fix method signature 2012-01-27 01:02:17 +01:00
de4dot
cac39b8a01 Don't use cecil coll iterator for speed 2012-01-27 00:16:23 +01:00
de4dot
91cc161a9d Create instances of common constants 2012-01-26 23:57:37 +01:00
de4dot
ec45974605 Speed up getUnknownValue() method. 16-17% execution time -> ~6% 2012-01-26 22:22:24 +01:00
de4dot
5704e90423 Allow inlining value type methods 2012-01-25 12:19:45 +01:00
de4dot
8c946bfd34 Add peek() method 2012-01-22 19:33:20 +01:00
de4dot
2dadd773ec Use ParameterDefinition.Sequence 2012-01-21 20:31:47 +01:00
de4dot
3c85b3f964 Fix toBoolean() 2012-01-21 20:04:13 +01:00
de4dot
f65adc81d8 Inline block if it's a conditional switch branch 2012-01-21 19:57:04 +01:00
de4dot
6a5ddba022 Move methods to base class 2012-01-21 19:55:37 +01:00
de4dot
f3f8975f01 If instance explicit, 'this' is 1st param 2012-01-20 19:30:40 +01:00