Systems, methods, and media for proving the correctness of software on relaxed memory hardware

    公开(公告)号:US12079102B2

    公开(公告)日:2024-09-03

    申请号:US17376120

    申请日:2021-07-14

    IPC分类号: G06F11/36

    CPC分类号: G06F11/3604

    摘要: Mechanisms for proving the correctness of software on relaxed memory hardware are provided, the mechanisms comprising: receiving a specification, a hardware model, and an implementation for the software to be executed on the relaxed memory hardware; evaluating the software using a sequentially consistent hardware model; evaluating the software using a relaxed memory hardware model and at least one of the following conditions: a data-race-free (DRF)-kernel condition; a no-barrier-misuse condition; a memory-isolation condition; a transactional-page-table condition; a write-once-kernel-mapping condition; and a weak-memory-isolation condition; and outputting an indication of whether the software is correct based on the evaluating the software using the sequentially consistent hardware model and the evaluating the software using the relaxed memory hardware model.