Method | Description | |
---|---|---|
ContainsRawOffset ( uint rawoffset ) : bool |
Returns true if the specified raw offset is located in the current section.
|
|
ContainsRva ( uint Rva ) : bool |
Returns true if the specified virtual offset is located in the current section.
|
|
Disassemble ( ) : |
Disassembles the section to 32 bit assembly instructions.
|
|
Disassemble ( uint bytelength ) : |
Disassembles the section from the start with the given length.
|
|
Disassemble ( uint startoffset, uint bytelength ) : |
Disassembles the section from the given start offset and the given length.
|
|
GetBytes ( ) : byte[] |
Gets the raw bytes of the section.
|
|
GetBytes ( uint offset, int size ) : byte[] |
Gets the raw bytes of the section given by an offset and size
|
|
GetFirstSectionByFlag ( IEnumerable |
Gets the first section of a list of sections that contains the specified flag
|
|
GetFirstSectionByFlag ( |
Gets the first section of an assembly that contains the specified flag
|
|
GetLastSectionByFlag ( IEnumerable |
Gets the last section of a list of sections that contains the specified flag
|
|
GetLastSectionByFlag ( |
Gets the last section of an assembly that contains the specified flag
|
|
GetSectionByFileOffset ( IEnumerable |
Gets the section of a list of sections by it's raw offset
|
|
GetSectionByFileOffset ( |
Gets the section of an assembly by it's raw offset.
|
|
GetSectionByName ( IEnumerable |
Gets the section of a list of sections by it's name.
|
|
GetSectionByName ( |
Gets the section of an assembly by it's name.
|
|
GetSectionByRva ( IEnumerable |
Gets the section of a list of sections by it's virtual offset
|
|
GetSectionByRva ( |
Gets the section of an assembly by it's virtual offset.
|
|
RVAToFileOffset ( uint rva ) : uint |
Converts a relative virtual address to a file offset
|
|
Section ( string name, uint offset, byte contents ) : System |
Method | Description | |
---|---|---|
Section ( |
public ContainsRawOffset ( uint rawoffset ) : bool | ||
rawoffset | uint | The raw offset to check. |
return | bool |
public ContainsRva ( uint Rva ) : bool | ||
Rva | uint | The rva to check. |
return | bool |
public Disassemble ( ) : |
||
return |
public Disassemble ( uint bytelength ) : |
||
bytelength | uint | The amount of bytes to read. |
return |
public Disassemble ( uint startoffset, uint bytelength ) : |
||
startoffset | uint | The offset to start reading. |
bytelength | uint | The amount of bytes to read. |
return |
public GetBytes ( uint offset, int size ) : byte[] | ||
offset | uint | |
size | int | |
return | byte[] |
public static GetFirstSectionByFlag ( IEnumerable |
||
sections | IEnumerable | The section list to search in. |
characteristics | SectionFlags | The flag to search for. |
return |
public static GetFirstSectionByFlag ( |
||
assembly | The assembly to search in. | |
characteristics | SectionFlags | The flag to search for. |
return |
public static GetLastSectionByFlag ( IEnumerable |
||
sections | IEnumerable | The section list to search in. |
characteristics | SectionFlags | The flag to search for. |
return |
public static GetLastSectionByFlag ( |
||
assembly | The assembly to search in. | |
characteristics | SectionFlags | The flag to search for. |
return |
public static GetSectionByFileOffset ( IEnumerable |
||
sections | IEnumerable | The section list to search in. |
rawoffset | uint | The raw offset to search for. |
return |
public static GetSectionByFileOffset ( |
||
assembly | The assembly to search in. | |
rawoffset | uint | The raw offset to search for. |
return |
public static GetSectionByName ( IEnumerable |
||
sections | IEnumerable | The section list to search in. |
sectionname | string | The section name to search for. |
return |
public static GetSectionByName ( |
||
assembly | The assembly to search in. | |
sectionname | string | The section name to search for. |
return |
public static GetSectionByRva ( IEnumerable |
||
sections | IEnumerable | The section list to search in. |
virtualoffset | uint | The virtual offset to search for. |
return |
public static GetSectionByRva ( |
||
assembly | The assembly to search in. | |
va | uint | The virtual offset to search for. |
return |
public Section ( string name, uint offset, byte contents ) : System | ||
name | string | |
offset | uint | |
contents | byte | |
return | System |