As discussed in #299, the following ASL does not run reliably (it's from the test copy_object_to_self in uacpi_examples.rs)
DefinitionBlock("", "DSDT", 1, "RSACPI", "UACPI", 1) {
Method (TEST) {
CopyObject(123, TEST)
Return (1)
}
// Segfault in ACPICA, prints 1 in uACPI
Debug = TEST()
// Unreachable in ACPICA, prints 123 in uACPI
Debug = TEST
}
It either runs to completion, or terminates with either of the following errors:
Failed(ParseFail(IllegalOpcode(25))) // but with various numbers for the opcode
Failed(ParseFail(RunOutOfStream))
Given that the error seems non-deterministic (AFAICT) I suspect there may be some kind of memory corruption. Sadly I can't get Miri to run because of the file access operations.
As discussed in #299, the following ASL does not run reliably (it's from the test
copy_object_to_selfinuacpi_examples.rs)It either runs to completion, or terminates with either of the following errors:
Given that the error seems non-deterministic (AFAICT) I suspect there may be some kind of memory corruption. Sadly I can't get Miri to run because of the file access operations.