place Portable Executable (PE)-specific stuff in its own namespace
This commit is contained in:
parent
49b8a7ddaa
commit
0bf4a47e0a
@ -21,6 +21,8 @@ using UniversalEditor.IO;
|
||||
using UniversalEditor.ObjectModels.Executable;
|
||||
using UniversalEditor.ObjectModels.FileSystem;
|
||||
|
||||
using UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable;
|
||||
|
||||
#if EXECUTABLE_LOAD_RESOURCES
|
||||
using UniversalEditor.DataFormats.Resource.Microsoft;
|
||||
using UniversalEditor.ObjectModels.Resource;
|
||||
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
/// <summary>
|
||||
/// A set of bit flags indicating attributes of the file.
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
public enum PECompiler
|
||||
{
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
public struct PEHeader
|
||||
{
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
public enum PEMachineType : ushort
|
||||
{
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
public struct PEOptionalHeader
|
||||
{
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
[Flags()]
|
||||
public enum PESectionCharacteristics : uint
|
||||
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft
|
||||
namespace UniversalEditor.DataFormats.Executable.Microsoft.PortableExecutable
|
||||
{
|
||||
public struct PESectionHeader
|
||||
{
|
||||
@ -64,13 +64,6 @@
|
||||
<Compile Include="DataFormats\Executable\ELF\ELFSpecialSectionIndex.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\DOSExecutableHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\MicrosoftExecutableDataFormat.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PECharacteristics.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PECompiler.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PEHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PEMachineType.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PEOptionalHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PESectionCharacteristics.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PESectionHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\RichHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\RelocatableObject\OBJDataFormat.cs" />
|
||||
<Compile Include="DataFormats\Executable\RelocatableObject\OBJRecordType.cs" />
|
||||
@ -102,6 +95,13 @@
|
||||
<Compile Include="DataFormats\Executable\IBM\CommonObject\Extended\XCOFFAuxilaryHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\IBM\CommonObject\Extended\XCOFFDocumentFlags.cs" />
|
||||
<Compile Include="DataFormats\Executable\ELF\ELFSectionEntry.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PECharacteristics.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PECompiler.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PEHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PEMachineType.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PEOptionalHeader.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PESectionCharacteristics.cs" />
|
||||
<Compile Include="DataFormats\Executable\Microsoft\PortableExecutable\PESectionHeader.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
@ -114,6 +114,9 @@
|
||||
<Name>UniversalEditor.Essential</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="DataFormats\Executable\Microsoft\PortableExecutable\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user