Add getInitializedUInt32Array() method
This commit is contained in:
parent
d6ff8b515d
commit
c8c4e3341c
|
@ -123,6 +123,17 @@ namespace de4dot.code.deobfuscators {
|
|||
return resultArray;
|
||||
}
|
||||
|
||||
public static uint[] getInitializedUInt32Array(int arraySize, MethodDefinition method, ref int newarrIndex) {
|
||||
var resultArray = getInitializedInt32Array(arraySize, method, ref newarrIndex);
|
||||
if (resultArray == null)
|
||||
return null;
|
||||
|
||||
var ary = new uint[resultArray.Length];
|
||||
for (int i = 0; i < ary.Length; i++)
|
||||
ary[i] = (uint)resultArray[i];
|
||||
return ary;
|
||||
}
|
||||
|
||||
public static Value[] getInitializedArray(int arraySize, MethodDefinition method, ref int newarrIndex, Code stelemOpCode) {
|
||||
var resultValueArray = new Value[arraySize];
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user