Beispiel #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)))
Beispiel #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)))
Beispiel #3
0
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(ctypes.addressof(efi.system_table)))
Beispiel #4
0
def test_boot_services_crc():
    testsuite.test("EFI Boot Services Table CRC32 is valid", efi.table_crc(efi.system_table.BootServices.contents))
Beispiel #5
0
def test_runtime_services_crc():
    testsuite.test("EFI Runtime Services Table CRC32 is valid", efi.table_crc(efi.system_table.RuntimeServices.contents))
Beispiel #6
0
def test_system_services_crc():
    testsuite.test("EFI System Table CRC32 is valid", efi.table_crc(efi.system_table))