C# 클래스 Inazuma.Mono.Cecil.PE.ImageWriter

상속: BinaryStreamWriter
파일 보기 프로젝트 열기: mayuki/Inazuma 1 사용 예제들

공개 메소드들

메소드 설명
CreateWriter ( ModuleDefinition module, MetadataBuilder metadata, Stream stream ) : ImageWriter
GetHeaderSize ( ) : uint
GetStrongNameSignatureDirectory ( ) : DataDirectory
WriteImage ( ) : void

비공개 메소드들

메소드 설명
Align ( uint value, uint align ) : uint
BuildSections ( ) : void
BuildTextMap ( ) : TextMap
CreateSection ( string name, uint size, Section previous ) : Section
GetDebugHeader ( ) : void
GetImageResourceSection ( ) : Section
GetMachine ( ) : ushort
GetMetadataHeaderLength ( ) : int
GetMetadataLength ( ) : uint
GetRuntimeMain ( ) : byte[]
GetSimpleString ( string @string ) : byte[]
GetStartupStubLength ( ) : uint
GetStreamCount ( ) : ushort
GetString ( string @string, int length ) : byte[]
GetStrongNameLength ( ) : int
GetSubSystem ( ) : ushort
GetWin32Resources ( ) : void
GetZeroTerminatedString ( string @string ) : byte[]
ImageWriter ( ModuleDefinition module, MetadataBuilder metadata, Stream stream ) : System
LastSection ( ) : Section
MoveTo ( uint pointer ) : void
MoveToRVA ( Section section, UInt32 rva ) : void
MoveToRVA ( TextSegment segment ) : void
PatchResourceDataEntry ( ByteBuffer resources ) : void
PatchResourceDirectoryEntry ( ByteBuffer resources ) : void
PatchResourceDirectoryTable ( ByteBuffer resources ) : void
PatchWin32Resources ( ByteBuffer resources ) : void
PrepareSection ( Section section ) : void
WriteDOSHeader ( ) : void
WriteDebugDirectory ( ) : void
WriteGuidHeap ( ) : void
WriteHeap ( TextSegment heap, HeapBuffer buffer ) : void
WriteImportDirectory ( ) : void
WriteMetadata ( ) : void
WriteMetadataHeader ( ) : void
WriteOptionalHeaders ( ) : void
WritePEFileHeader ( ) : void
WriteRVA ( UInt32 rva ) : void
WriteReloc ( ) : void
WriteRsrc ( ) : void
WriteSection ( Section section, uint characteristics ) : void
WriteSectionHeaders ( ) : void
WriteStartupStub ( ) : void
WriteStreamHeader ( uint &offset, TextSegment heap, string name ) : void
WriteText ( ) : void
WriteZeroDataDirectory ( ) : void

메소드 상세

CreateWriter() 공개 정적인 메소드

public static CreateWriter ( ModuleDefinition module, MetadataBuilder metadata, Stream stream ) : ImageWriter
module ModuleDefinition
metadata MetadataBuilder
stream Stream
리턴 ImageWriter

GetHeaderSize() 공개 메소드

public GetHeaderSize ( ) : uint
리턴 uint

GetStrongNameSignatureDirectory() 공개 메소드

public GetStrongNameSignatureDirectory ( ) : DataDirectory
리턴 DataDirectory

WriteImage() 공개 메소드

public WriteImage ( ) : void
리턴 void