Skip to content

KLEE crashes on Coreutils 6.10 ptx #4

@andreamattavelli

Description

@andreamattavelli

Invocation
/home/andrea/work/klee-slicing/klee-build/bin/klee --posix-runtime -libc=uclibc --search=random-state --max-time=360. --skip-functions=usage,quotearg ptx.bc --sym-args 0 1 10 --sym-args 0 2 2 --sym-files 1 8 --sym-stdin 8 --sym-stdout

Output:

...
  %2 = load i8* %1, align 1, !dbg !4400
Not able to retrieve address for LoadInst
UNREACHABLE executed at /home/andrea/work/klee-slicing/klee/lib/Core/Executor.cpp:4248!
0  libSlicing.so   0x00002aaaab266302 llvm::sys::PrintStackTrace(_IO_FILE*) + 50
1  libSlicing.so   0x00002aaaab265a74
2  libpthread.so.0 0x00002aaaabaa8390
3  libc.so.6       0x00002aaaac58a428 gsignal + 56
4  libc.so.6       0x00002aaaac58c02a abort + 362
5  libSlicing.so   0x00002aaaab236fb0 LLVMInstallFatalErrorHandler + 0
6  klee            0x00000000005398ad klee::Executor::getLoadInfo(klee::ExecutionState&, klee::KInstruction*, unsigned long&, unsigned long&, std::pair<llvm::Value const*, unsigned long>&) + 1101
7  klee            0x00000000005399a4 klee::Executor::getAllRecoveryInfo(klee::ExecutionState&, klee::KInstruction*, std::__cxx11::list<klee::ref<klee::RecoveryInfo>, std::allocator<klee::ref<klee::RecoveryInfo> > >&) + 132
8  klee            0x00000000005452ff klee::Executor::handleMayBlockingLoad(klee::ExecutionState&, klee::KInstruction*) + 47
9  klee            0x0000000000549344 klee::Executor::executeInstruction(klee::ExecutionState&, klee::KInstruction*) + 15716
10 klee            0x000000000054b5a7 klee::Executor::run(klee::ExecutionState&) + 1927
11 klee            0x000000000054be0d klee::Executor::runFunctionAsMain(llvm::Function*, int, char**, char**) + 1901
12 klee            0x0000000000516b96 main + 12998
13 libc.so.6       0x00002aaaac575830 __libc_start_main + 240
14 klee            0x0000000000526fc9 _start + 41
Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions