Thread Local Storage Directory.
Inheritance: AbstractStructure
コード例 #1
0
        public void ImageTlsDirectory64ConstructorWorks_Test()
        {
            var tlsDirectory = new IMAGE_TLS_DIRECTORY(RawStructures.RawTlsDirectory64, 2, true);

            Assert.AreEqual((ulong) 0x7766554433221100, tlsDirectory.StartAddressOfRawData);
            Assert.AreEqual((ulong) 0xbbaa998877665544, tlsDirectory.EndAddressOfRawData);
            Assert.AreEqual((ulong) 0x221100ffeeddccbb, tlsDirectory.AddressOfIndex);
            Assert.AreEqual((ulong) 0xaa99887766554433, tlsDirectory.AddressOfCallBacks);
            Assert.AreEqual((uint) 0x44332211, tlsDirectory.SizeOfZeroFill);
            Assert.AreEqual((uint) 0x99887766, tlsDirectory.Characteristics);
        }