Пример #1
0
        private bool TryLocateNativeReadyToRunHeader()
        {
            PEExportTable exportTable = PEReader.GetExportTable();

            if (exportTable.TryGetValue("RTR_HEADER", out _readyToRunHeaderRVA))
            {
                _composite = true;
                return(true);
            }
            return(false);
        }
Пример #2
0
 /// <summary>
 /// Parse export table directory for a given PE reader.
 /// </summary>
 /// <param name="reader">PE reader representing the executable image to parse</param>
 public static PEExportTable GetExportTable(this PEReader reader)
 {
     return(PEExportTable.Parse(reader));
 }