C# Класс Microsoft.HockeyApp.Extensibility.Implementation.PEImageReader

This class will read some basic information from a loaded native binary.
Показать файл Открыть проект

Открытые методы

Метод Описание
PEImageReader ( IntPtr imageBase ) : System

Initializes a new instance of the PEImageReader class.

Parse ( ) : CodeViewDebugData

Parse the image file and extract the code view debug data information.

Приватные методы

Метод Описание
GetCodeViewDebugData ( DebugDirectory debugDirectories, IntPtr endAddress ) : CodeViewDebugData

Reads the code view debug data from the specified set of debug directories.

ReadAtOffset ( byte fileBytes, int offset ) : void

Reads a set of bytes from the image pointer at the specified offset.

ReadAtRelativeVirtualAddress ( int rva, int size ) : BinaryReader

Returns a binary reader object at the specified relative virtual address and spanning size.

ReadDebugDirectories ( DirectoryEntry debugDirectoryEntry ) : DebugDirectory[]

Reads all directory entries from the passed in debug directory entry.

ReadDebugDirectoryEntry ( int optionalHeaderDirectoryEntriesOffset ) : DirectoryEntry

Read the debug entry at the specified offset.

ReadDwordAtFileOffset ( int offset ) : int

Reads a dword value (32 bits) from the specified offset.

ReadNullTerminatedUTF8String ( BinaryReader reader ) : string

Read a null terminated UTF-8 string.

ReadWordAtFileOffset ( int offset ) : ushort

Reads an unsigned short value (16 bits) from the specified offset.

Описание методов

PEImageReader() публичный Метод

Initializes a new instance of the PEImageReader class.
public PEImageReader ( IntPtr imageBase ) : System
imageBase System.IntPtr
Результат System

Parse() публичный Метод

Parse the image file and extract the code view debug data information.
public Parse ( ) : CodeViewDebugData
Результат CodeViewDebugData