You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in order to test C and C++ programs that use functions from the C and C++ libraries that are not inlined by the compiler, these libraries must be compiled to LLVM IR and linked to the program to be tested. In order to simplify usage of Nidhugg, we should take care of this by
Bundling our own versions of the C and C++ libraries
Headers should be installed together with Nidhugg
nidhuggc should ensure these libraries are on the include path
Building these libraries to LLVM-IR (and install the bitcode files/archives with Nidhugg)
These should be either loaded by default by nidhugg, or linked by default by nidhuggc
If we try to solve everything in nidhuggc, we have to consider the users that want to test larger pieces of software, and use, f.ex. wllvm to generate IR of their SUT, since nidhuggc only accepts single stand-alone source files right now.
Since Klee does the same thing, we can probably save significant effort by borrowing code from there.
The text was updated successfully, but these errors were encountered:
Currently, in order to test C and C++ programs that use functions from the C and C++ libraries that are not inlined by the compiler, these libraries must be compiled to LLVM IR and linked to the program to be tested. In order to simplify usage of Nidhugg, we should take care of this by
nidhuggc
should ensure these libraries are on the include pathnidhugg
, or linked by default bynidhuggc
If we try to solve everything in
nidhuggc
, we have to consider the users that want to test larger pieces of software, and use, f.ex.wllvm
to generate IR of their SUT, sincenidhuggc
only accepts single stand-alone source files right now.Since Klee does the same thing, we can probably save significant effort by borrowing code from there.
The text was updated successfully, but these errors were encountered: