/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
namespace dnSpy.Contracts.Hex.Files.PE {
///
/// File header
///
public abstract class PeFileHeaderData : StructureData {
const string NAME = "IMAGE_FILE_HEADER";
///
/// Constructor
///
/// Span
protected PeFileHeaderData(HexBufferSpan span)
: base(NAME, span) {
}
/// IMAGE_FILE_HEADER.Machine
public abstract StructField Machine { get; }
/// IMAGE_FILE_HEADER.NumberOfSections
public abstract StructField NumberOfSections { get; }
/// IMAGE_FILE_HEADER.TimeDateStamp
public abstract StructField TimeDateStamp { get; }
/// IMAGE_FILE_HEADER.PointerToSymbolTable
public abstract StructField PointerToSymbolTable { get; }
/// IMAGE_FILE_HEADER.NumberOfSymbols
public abstract StructField NumberOfSymbols { get; }
/// IMAGE_FILE_HEADER.SizeOfOptionalHeader
public abstract StructField SizeOfOptionalHeader { get; }
/// IMAGE_FILE_HEADER.Characteristics
public abstract StructField Characteristics { get; }
}
}