private GetDynamicSize ( TargetMemoryAccess target, TargetBlob blob, TargetLocation location, TargetLocation &dynamic_location ) : long | ||
target | TargetMemoryAccess | |
blob | TargetBlob | |
location | TargetLocation | |
dynamic_location | TargetLocation | |
return | long |
internal override long GetDynamicSize(TargetMemoryAccess target, TargetBlob blob,
TargetLocation location,
out TargetLocation dynamic_location)
{
TargetBinaryReader reader = blob.GetReader ();
reader.Position = Type.ObjectSize;
dynamic_location = location.GetLocationAtOffset (Type.ObjectSize + 4);
return reader.ReadInteger (4) * 2;
}