terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
SecureString.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Security
7{
8 [global::System.MonoTODO("work in progress - encryption is missing")]
9 [global::Cpp2ILInjected.Token(Token = "0x2000298")]
10 public sealed class SecureString : global::System.IDisposable
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60016F7")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1AEC490", Offset = "0x1AEC490", Length = "0x24")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkCredential", Member = "set_SecurePassword", MemberParameters = new object[] { typeof(SecureString) }, ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateSecureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SecureString))]
16 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
17 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
18 public SecureString()
19 {
20 throw null;
21 }
22
23 [global::System.CLSCompliant(false)]
24 [global::Cpp2ILInjected.Token(Token = "0x60016F8")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1AEC620", Offset = "0x1AEC620", Length = "0x118")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateSecureString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(SecureString))]
28 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecureString), Member = "Alloc", MemberParameters = new object[]
31 {
32 typeof(int),
33 typeof(bool)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
37 {
38 typeof(string),
39 typeof(string)
40 }, ReturnType = typeof(void))]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
42 public unsafe SecureString(char* value, int length)
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x17000250")]
48 public int Length
49 {
50 [global::Cpp2ILInjected.Token(Token = "0x60016F9")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1AEC73C", Offset = "0x1AEC73C", Length = "0x60")]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "SecureStringToBSTR", MemberParameters = new object[] { typeof(SecureString) }, ReturnType = typeof(global::System.IntPtr))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "SecureStringToUnicode", MemberParameters = new object[]
54 {
55 typeof(SecureString),
56 typeof(global::System.Runtime.InteropServices.Marshal.SecureStringAllocator)
57 }, ReturnType = typeof(global::System.IntPtr))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.UnsafeNclNativeMethods.SecureStringHelper", Member = "CreateString", MemberParameters = new object[] { typeof(SecureString) }, ReturnType = typeof(string))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
62 get
63 {
64 throw null;
65 }
66 }
67
68 [global::Cpp2ILInjected.Token(Token = "0x60016FA")]
69 [global::Cpp2ILInjected.Address(RVA = "0x1AEC79C", Offset = "0x1AEC79C", Length = "0xD8")]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkCredential", Member = "get_SecurePassword", ReturnType = typeof(SecureString))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkCredential", Member = "set_SecurePassword", MemberParameters = new object[] { typeof(SecureString) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SecureString), Member = "Alloc", MemberParameters = new object[]
75 {
76 typeof(int),
77 typeof(bool)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clone", ReturnType = typeof(object))]
80 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
82 {
83 throw null;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x60016FB")]
87 [global::Cpp2ILInjected.Address(RVA = "0x1AEC874", Offset = "0x1AEC874", Length = "0x38")]
88 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
90 {
91 typeof(global::System.Array),
92 typeof(int),
93 typeof(int)
94 }, ReturnType = typeof(void))]
95 public void Dispose()
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60016FC")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1AEC738", Offset = "0x1AEC738", Length = "0x4")]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
103 private void Encrypt()
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x60016FD")]
109 [global::Cpp2ILInjected.Address(RVA = "0x1AEC8AC", Offset = "0x1AEC8AC", Length = "0x4")]
110 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
111 private void Decrypt()
112 {
113 throw null;
114 }
115
116 [global::Cpp2ILInjected.Token(Token = "0x60016FE")]
117 [global::Cpp2ILInjected.Address(RVA = "0x1AEC4B4", Offset = "0x1AEC4B4", Length = "0x16C")]
118 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SecureString), Member = ".ctor", MemberParameters = new object[]
120 {
121 typeof(char*),
122 typeof(int)
123 }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SecureString), Member = "Copy", ReturnType = typeof(SecureString))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
127 {
128 typeof(int),
129 typeof(int)
130 }, ReturnType = typeof(int))]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Copy", MemberParameters = new object[]
132 {
133 typeof(global::System.Array),
134 typeof(int),
135 typeof(global::System.Array),
136 typeof(int),
137 typeof(int)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
140 {
141 typeof(global::System.Array),
142 typeof(int),
143 typeof(int)
144 }, ReturnType = typeof(void))]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
146 {
147 typeof(string),
148 typeof(string)
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
151 private unsafe void Alloc(int length, bool realloc)
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x60016FF")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1AEC8B0", Offset = "0x1AEC8B0", Length = "0xA8")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "SecureStringToBSTR", MemberParameters = new object[] { typeof(SecureString) }, ReturnType = typeof(global::System.IntPtr))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "SecureStringToUnicode", MemberParameters = new object[]
161 {
162 typeof(SecureString),
163 typeof(global::System.Runtime.InteropServices.Marshal.SecureStringAllocator)
164 }, ReturnType = typeof(global::System.IntPtr))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
167 {
168 typeof(global::System.Array),
169 typeof(int),
170 typeof(global::System.Array),
171 typeof(int),
172 typeof(int)
173 }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
175 internal byte[] GetBuffer()
176 {
177 throw null;
178 }
179
180 [global::Cpp2ILInjected.Token(Token = "0x4000B9F")]
181 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
182 private int length;
183
184 [global::Cpp2ILInjected.Token(Token = "0x4000BA0")]
185 [global::Cpp2ILInjected.FieldOffset(Offset = "0x14")]
186 private bool disposed;
187
188 [global::Cpp2ILInjected.Token(Token = "0x4000BA1")]
189 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
190 private byte[] data;
191 }
192}
class f__AnonymousType0<< Count > j__TPar
unsafe void Alloc(int length, bool realloc)
unsafe SecureString(char *value, int length)