Exemplo n.º 1
0
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table.BootServices.contents)))
Exemplo n.º 2
0
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table.RuntimeServices.contents)))
Exemplo n.º 3
0
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table)))
Exemplo n.º 4
0
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(efi.system_table.BootServices.contents))
Exemplo n.º 5
0
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(efi.system_table.RuntimeServices.contents))
Exemplo n.º 6
0
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(efi.system_table))