예제 #1
0
파일: Branch.cs 프로젝트: UzL-ITS/Microwalk
 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);
 }
예제 #2
0
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteByte((byte)TraceEntryTypes.HeapAllocation);
     writer.WriteInt32(Id);
     writer.WriteUInt32(Size);
     writer.WriteUInt64(Address);
 }
예제 #3
0
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteByte((byte)TraceEntryTypes.StackAllocation);
     writer.WriteInt32(Id);
     writer.WriteInt32(InstructionImageId);
     writer.WriteUInt32(InstructionRelativeAddress);
     writer.WriteUInt32(Size);
     writer.WriteUInt64(Address);
 }
예제 #4
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);
 }
예제 #5
0
 public void Store(FastBinaryWriter writer)
 {
     writer.WriteByte((byte)TraceEntryTypes.HeapFree);
     writer.WriteInt32(Id);
 }