Title here
Summary here
The dotnet
module allows you to create more fine-grained rules for .NET files
by using attributes and features of the .NET file format. Let’s see some
examples:
Field | Type |
---|---|
is_dotnet | bool |
module_name | string |
version | string |
number_of_streams | integer |
number_of_guids | integer |
number_of_resources | integer |
number_of_generic_parameters | integer |
number_of_classes | integer |
number_of_assembly_refs | integer |
number_of_modulerefs | integer |
number_of_user_strings | integer |
number_of_constants | integer |
number_of_field_offsets | integer |
typelib | string |
streams | Stream array |
guids | string array |
constants | string array |
assembly | Assembly array |
assembly_refs | AssemblyRef array |
resources | Resource array |
classes | Class array |
field_offsets | integer array |
user_strings | string array |
modulerefs | string array |
This is the structure in the assembly
field, which contains general
information about the .NET assembly.
Field | Type |
---|---|
name | string |
culture | string |
version | Version |
This is the structure of each item in the assembly_refs
array.
Field | Type |
---|---|
name | string |
public_key_or_token | string |
version | Version |
This is the structure of each item in the classes
array.
Field | Type |
---|---|
fullname | string |
name | string |
namespace | string |
visibility | string |
type | string |
abstract | bool |
sealed | bool |
number_of_base_types | integer |
number_of_generic_parameters | integer |
number_of_methods | integer |
base_types | string array |
generic_parameters | string array |
methods | Method array |
This is the structure of each item in the methods
array within each Class.
Field | Type |
---|---|
name | string |
visibility | string |
abstract | bool |
static | bool |
virtual | bool |
final | bool |
return_type | string |
number_of_generic_parameters | integer |
number_of_parameters | integer |
generic_parameters | string array |
parameters | Param array |
This is the structure of each item in the parameters
array within each Method.
Field | Type |
---|---|
name | string |
type | string |
This is the structure of each item in the resources
array.
Field | Type |
---|---|
offset | integer |
length | integer |
name | string |
This is the structure of each item in the streams
array.
Field | Type |
---|---|
name | string |
offset | integer |
size | integer |
Field | Type |
---|---|
major | integer |
minor | integer |
build_number | integer |
revision_number | integer |