Unknown bitstream version!

636 views
Skip to first unread message

ye_beloved

unread,
Feb 20, 2013, 8:51:51 PM2/20/13
to ll...@googlegroups.com
Hi,
    when I run the example $llbmc double-free.bc, I got

This is the Low-Level Bounded Model Checker LLBMC (version 2012.2a).
Running LLBMC with automatically determined function call depth and at most 0 iterations for loops with non-derivable trip count.

Could not parse bitcode file.
Unknown bitstream version!

Is it because my clang version is 3.2?

Besides, could you tell me what language do you use to implement llbmc? If the source code or more details about implementation can be offered, it will do much more help to me.

Thank you so much.  

Stephan Falke

unread,
Feb 21, 2013, 4:30:34 AM2/21/13
to ll...@googlegroups.com
Hi Anonymous,

> when I run the example $llbmc double-free.bc, I got
>
> This is the Low-Level Bounded Model Checker LLBMC (version 2012.2a).
> Running LLBMC with automatically determined function call depth and at most
> 0 iterations for loops with non-derivable trip count.
>
> Could not parse bitcode file.
> Unknown bitstream version!
>
> Is it because my clang version is 3.2?

Yes. LLVM's bitcode format is generally not compatible between
different versions. LLBMC 2012.2a only supports the bitcode format of
version 3.1, so you need to use clang version 3.1 to produce your
bitcode files.

> Besides, could you tell me what language do you use to implement llbmc? If
> the source code or more details about implementation can be offered, it
> will do much more help to me.

LLBMC itself is implemented in C++. Unfortunately, the source code is
currently not available.

Cheers,
Stephan

Reply all
Reply to author
Forward
0 new messages