paradise-fi / SymDIVINE

No longer maintained: Verification tool for parallel C/C++ programs with LTL support
MIT License
6 stars 2 forks source link

memory layout assertion failed #6

Open VikiVozarova opened 8 years ago

VikiVozarova commented 8 years ago

main.c, main.ll: ring_buffer.zip

symdivine reachability main.ll gives error:

symdivine: /home/xvozarov/SymDIVINE/src/llvmsym/memorylayout.h:127: bool llvm_sym::MemoryLayout::isMultival(llvm_sym::MemoryLayout::Value) const: Assertion `v.variable.offset < variablesFlags[ v.variable.segmentId ].size()' failed.

Edit: After declaring variable ringBuffer as global, SymDivine is able to verify the model, might be problem with big structures on stack.