Commit Graph

1293 Commits

Author SHA1 Message Date
de4dot
13a5fd8ff0 Add a fix for when type.Scope is null 2012-08-31 00:24:42 +02:00
de4dot
26e4aa4e1d Add updated submodule 2012-08-31 00:23:27 +02:00
de4dot
30a73371c8 Fat header type is encoded in the lower 3 bits 2012-08-23 12:02:09 +02:00
de4dot
a34b3f7855 Support latest CO build 2012-08-22 18:33:27 +02:00
de4dot
1a5603a112 Add updated submodule 2012-08-21 20:48:50 +02:00
de4dot
f1a725cd19 Restore MaxStack 2012-08-21 20:17:35 +02:00
de4dot
58b1b27c69 Use correct upper limit in loop, and return false on failure... 2012-08-21 20:17:21 +02:00
de4dot
3b9ba16df6 Make restoreMethod() virtual 2012-08-21 20:14:43 +02:00
de4dot
c004c0b52f Update AssemblyDescription 2012-08-21 16:16:29 +02:00
de4dot
2c68ae14ee New version: 1.9.1 2012-08-21 15:40:23 +02:00
de4dot
64cc8e3856 Decrypt CO encrypted methods 2012-08-21 15:40:06 +02:00
de4dot
0a5973e541 Update detection of CO types 2012-08-21 15:06:42 +02:00
de4dot
957a8ab8dd Move method to new CoUtils class 2012-08-21 15:04:40 +02:00
de4dot
729780c235 Update MethodBodyReaderBase
- Change field types to IList<T>
- Add restoreMethod()
- Add readInstructionsNumBytes()
2012-08-21 14:59:46 +02:00
de4dot
353173fcb3 Add updated submodule 2012-08-21 14:57:47 +02:00
de4dot
bfcd42804e Add getModuleAttribute() 2012-08-15 19:33:57 +02:00
de4dot
8adf6ba5e2 Update method signature 2012-08-15 19:33:43 +02:00
de4dot
7f42fb0e57 Don't treat boxed as non-null 2012-08-13 01:38:42 +02:00
de4dot
1768de1d6b Remove earlyDetect() 2012-08-13 00:54:46 +02:00
de4dot
3b45ddc336 Include Newobj when checking for method calls 2012-08-11 00:35:06 +02:00
de4dot
5fdd91ae05 Handle more switch cases 2012-08-07 21:57:48 +02:00
de4dot
8aff8b22b1 Appended instructions must be cloned 2012-08-04 23:46:51 +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
6e0c666f32 Add updated submodule 2012-08-04 11:24:29 +02:00
de4dot
db9ef16ee1 Add updated submodule 2012-08-03 22:32:27 +02:00
de4dot
47a3034259 Call method later 2012-08-03 17:57:45 +02:00
de4dot
44b90d658a Add updated submodule 2012-08-03 13:28:37 +02:00
de4dot
b455ae8dab Fix arg name 2012-08-02 19:53:30 +02:00
de4dot
e496cea7da Add an option to remove a present unbox.any instr 2012-08-01 22:20:35 +02:00
de4dot
b7715433bf Should also check for newobj instrs 2012-07-31 15:01:54 +02:00
de4dot
9cbbea2c01 Use a better resource key 2012-07-31 12:50:55 +02:00
de4dot
a1cd18acd2 Add updated submodule 2012-07-31 12:48:02 +02:00
de4dot
c005ab2998 Check for div by zero 2012-07-31 12:43:23 +02:00
de4dot
dace82cca9 Add find2() method for derived classes 2012-07-31 07:13:07 +02:00
de4dot
329efd9a0f Add code to let a derived class to push new values 2012-07-31 04:40:45 +02:00
de4dot
87a8052cbe Declaring type is null if it's already been removed 2012-07-31 04:40:06 +02:00
de4dot
6be691ab6d Increment errors if there's an exception 2012-07-31 04:39:34 +02:00
de4dot
06b7374276 Add support for reading r8 values. Also rename some methods 2012-07-31 01:14:38 +02:00
de4dot
94b21490da Add code to truncate r4/r8 values 2012-07-30 19:06:31 +02:00
de4dot
11256d6e76 Make property public 2012-07-30 10:26:49 +02:00
de4dot
ccb32e1a39 Resource names are in #Strings so can't contain embedded nuls 2012-07-30 10:26:36 +02:00
de4dot
83b805adc3 Move methods 2012-07-30 09:17:22 +02:00
de4dot
bc782792af Add updated submodule 2012-07-30 06:13:18 +02:00
de4dot
b2d72b153f Ignore exceptions when calling detect()
Most likely invalid code and/or metadata, which usually means it's still
encrypted.
2012-07-29 18:12:29 +02:00
de4dot
de8090df61 Add setConstant methods 2012-07-29 14:21:13 +02:00
de4dot
c924d84340 Add another decrypt() method 2012-07-29 13:20:35 +02:00
de4dot
c3c1ab64d8 Add setDeobfuscator() method 2012-07-29 13:19:12 +02:00
de4dot
f07f664553 Don't cast to a possible value type when result can be null 2012-07-29 09:49:00 +02:00