-
- Downloads
improve abort identification in KLEE output
KLEE reports the line that called `ll::abort()`. The previous solution called a safe `abort()` which in turn called `ll::abort`. This meant that every abort was reported as originating in this library. This replaces the safe `abort()` function with a macro `kabort!()`. The behavior differs in that `kabort!()` expands to nothing when not in KLEE mode, while `abort()` expanded to a panic. The macro causes the call to `ll::abort()` to happen directly from user code from KLEE's point of view.
Showing
- klee-examples/examples/modify.rs 1 addition, 1 deletionklee-examples/examples/modify.rs
- klee-examples/src/peripheral.rs 1 addition, 1 deletionklee-examples/src/peripheral.rs
- klee-examples/src/register.rs 1 addition, 1 deletionklee-examples/src/register.rs
- src/lib.rs 14 additions, 18 deletionssrc/lib.rs
Please register or sign in to comment