Esempio n. 1
0
 /// <summary>
 /// Saves image file data.
 /// </summary>
 /// <param name="writer">Binary writer.</param>
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteInt32(Id);
     writer.WriteUInt64(StartAddress);
     writer.WriteUInt64(EndAddress);
     writer.WriteInt32(Name.Length);
     writer.WriteChars(Name.ToCharArray());
     writer.WriteBoolean(Interesting);
 }
Esempio n. 2
0
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteByte((byte)TraceEntryTypes.HeapMemoryAccess);
     writer.WriteBoolean(IsWrite);
     writer.WriteInt16(Size);
     writer.WriteInt32(InstructionImageId);
     writer.WriteUInt32(InstructionRelativeAddress);
     writer.WriteInt32(HeapAllocationBlockId);
     writer.WriteUInt32(MemoryRelativeAddress);
 }
Esempio n. 3
0
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteByte((byte)TraceEntryTypes.Branch);
     writer.WriteInt32(SourceImageId);
     writer.WriteUInt32(SourceInstructionRelativeAddress);
     writer.WriteInt32(DestinationImageId);
     writer.WriteUInt32(DestinationInstructionRelativeAddress);
     writer.WriteBoolean(Taken);
     writer.WriteByte((byte)BranchType);
 }