Method | Description | |
---|---|---|
FileOffsetToRva ( long fileOffset ) : long | ||
FromBytes ( byte bytes ) : |
Reads a windows assembly image from the given byte array.
|
|
FromBytes ( byte bytes, |
Reads a windows assembly image from the given byte array, using the specified reading parameters.
|
|
FromFile ( string file ) : |
Reads a windows assembly image from a file.
|
|
FromReader ( IBinaryStreamReader stream ) : |
Reads a windows assembly image from a binary stream.
|
|
FromReader ( IBinaryStreamReader stream, |
Reads a windows assembly image from a binary stream, using the specified reading parameters.
|
|
GetSectionHeaderByFileOffset ( long fileOffset ) : |
Determines the image section the given absolute file offset is located at.
|
|
GetSectionHeaderByRva ( long rva ) : |
Determines the image section the given relative virtual address (RVA) is located at.
|
|
RvaToFileOffset ( long rva ) : long | ||
WindowsAssembly ( ) : System |
Creates a new empty windows assembly image.
|
|
Write ( |
Rebuilds and writes the assembly to a destination, using the specified building parameters.
|
|
Write ( IBinaryStreamWriter writer ) : void |
Rebuilds and writes the assembly to a specific binary stream.
|
|
Write ( string file ) : void |
Rebuilds and writes the assembly to a specific file path.
|
Method | Description | |
---|---|---|
CreateDataDirectoryContext ( |
||
FromReadingContext ( |
public FileOffsetToRva ( long fileOffset ) : long | ||
fileOffset | long | |
return | long |
public static FromBytes ( byte bytes ) : |
||
bytes | byte | The bytes to read the assembly from. |
return |
public static FromBytes ( byte bytes, |
||
bytes | byte | The bytes to read the assembly from. |
parameters | The extra parameters the reading procedure should use to read the assembly. | |
return |
public static FromFile ( string file ) : |
||
file | string | The path of the file to read. |
return |
public static FromReader ( IBinaryStreamReader stream ) : |
||
stream | IBinaryStreamReader | The stream reader to use for reading the assembly. |
return |
public static FromReader ( IBinaryStreamReader stream, |
||
stream | IBinaryStreamReader | The stream reader to use for reading the assembly. |
parameters | The extra parameters the reading procedure should use to read the assembly. | |
return |
public GetSectionHeaderByFileOffset ( long fileOffset ) : |
||
fileOffset | long | The absolute file offset to check. |
return |
public GetSectionHeaderByRva ( long rva ) : |
||
rva | long | The relative virtual address to check. |
return |
public Write ( |
||
parameters | The parameters to use for building the assembly image. | |
return | void |
public Write ( IBinaryStreamWriter writer ) : void | ||
writer | IBinaryStreamWriter | The writer to write the image to. |
return | void |
public Write ( string file ) : void | ||
file | string | The file path to write the image to. |
return | void |