Skip to content
Snippets Groups Projects
Commit 519a1dc7 authored by Nils Fitinghoff's avatar Nils Fitinghoff
Browse files

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.
parent d6ddde24
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment