Ejemplo n.º 1
0
		/// <summary>
		/// Constructor: store the metadata and extract the callstack from diagnostics file
		/// </summary>
		/// <param name="Data">Report meta-data object, parsed from XML</param>
		/// <param name="InReportNamePath">Name of report for logging</param>
		public FReportData(	WERReportMetadata Data, string InReportNamePath	)
		{
			Metadata = Data;
			ReportName = InReportNamePath;
		}
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor: store the metadata and extract the callstack from diagnostics file
 /// </summary>
 /// <param name="Data">Report meta-data object, parsed from XML</param>
 /// <param name="InReportNamePath">Name of report for logging</param>
 public FReportData(WERReportMetadata Data, string InReportNamePath)
 {
     Metadata   = Data;
     ReportName = InReportNamePath;
 }
Ejemplo n.º 3
0
		/// <summary>
		/// Optionally don't process some reports based on the Windows Error report meta data.
		/// </summary>
		/// <param name="WERData">The Windows Error Report meta data.</param>
		/// <returns>false to reject the report.</returns>
		private static bool CheckMetaData(WERReportMetadata WERData)
		{
			if (WERData == null)
			{
				return false;
			}

			// Reject any crashes with the invalid metadata.
			if (WERData.ProblemSignatures == null || WERData.DynamicSignatures == null || WERData.OSVersionInformation == null)
			{
				return false;
			}

			// Reject any crashes from the minidump processor.
			if (WERData.ProblemSignatures.Parameter0 != null && WERData.ProblemSignatures.Parameter0.ToLower() == "MinidumpDiagnostics".ToLower())
			{
				return false;
			}

			return true;
		}