8 #ifndef _INCLUDE_RZ_BIN_DOTNET_H_
9 #define _INCLUDE_RZ_BIN_DOTNET_H_
174 #define BIT_MODULE 0x00
175 #define BIT_TYPEREF 0x01
176 #define BIT_TYPEDEF 0x02
177 #define BIT_FIELDPTR 0x03
178 #define BIT_FIELD 0x04
179 #define BIT_METHODDEFPTR 0x05
180 #define BIT_METHODDEF 0x06
181 #define BIT_PARAMPTR 0x07
182 #define BIT_PARAM 0x08
183 #define BIT_INTERFACEIMPL 0x09
184 #define BIT_MEMBERREF 0x0A
185 #define BIT_CONSTANT 0x0B
186 #define BIT_CUSTOMATTRIBUTE 0x0C
187 #define BIT_FIELDMARSHAL 0x0D
188 #define BIT_DECLSECURITY 0x0E
189 #define BIT_CLASSLAYOUT 0x0F
190 #define BIT_FIELDLAYOUT 0x10
191 #define BIT_STANDALONESIG 0x11
192 #define BIT_EVENTMAP 0x12
193 #define BIT_EVENTPTR 0x13
194 #define BIT_EVENT 0x14
195 #define BIT_PROPERTYMAP 0x15
196 #define BIT_PROPERTYPTR 0x16
197 #define BIT_PROPERTY 0x17
198 #define BIT_METHODSEMANTICS 0x18
199 #define BIT_METHODIMPL 0x19
200 #define BIT_MODULEREF 0x1A
201 #define BIT_TYPESPEC 0x1B
202 #define BIT_IMPLMAP 0x1C
203 #define BIT_FIELDRVA 0x1D
204 #define BIT_ENCLOG 0x1E
205 #define BIT_ENCMAP 0x1F
206 #define BIT_ASSEMBLY 0x20
207 #define BIT_ASSEMBLYPROCESSOR 0x21
208 #define BIT_ASSEMBLYOS 0x22
209 #define BIT_ASSEMBLYREF 0x23
210 #define BIT_ASSEMBLYREFPROCESSOR 0x24
211 #define BIT_ASSEMBLYREFOS 0x25
212 #define BIT_FILE 0x26
213 #define BIT_EXPORTEDTYPE 0x27
214 #define BIT_MANIFESTRESOURCE 0x28
215 #define BIT_NESTEDCLASS 0x29
216 #define BIT_GENERICPARAM 0x2A
217 #define BIT_METHODSPEC 0x2B
218 #define BIT_GENERICPARAMCONSTRAINT 0x2C
int bin_pe_dotnet_read_method_header(Pe_image_clr *clr, RzBuffer *b, RzBinSymbol *sym)
int bin_pe_dotnet_init_clr(Pe_image_clr *clr, RzBuffer *b, ut64 image_clr_hdr_paddr)
int bin_pe_dotnet_init_metadata(Pe_image_clr *clr, bool big_endian, RzBuffer *b, ut64 metadata_directory)
void bin_pe_dotnet_destroy_clr(Pe_image_clr *clr)
Pe_image_metadata_stream * tilde_stream
Pe_image_metadata_header * metadata_header
Pe_image_clr_header * header
Pe_image_metadata_stream * strings_stream
Pe_image_metadata_stream * blob_stream
Pe_image_metadata_tilde_header * tilde
ut64(WINAPI *w32_GetEnabledXStateFeatures)()