[klee-dev] Compiling KLEE - metaSMT support

2014-11-28 Thread Thuan Pham
Hello, I followed the instructions at http://srg.doc.ic.ac.uk/projects/klee-multisolver/getting-started.html to compile KLEE-metaSMT. I did compile metaSMT successfully but I faced error while configure and compile KLEE with metaSMT. Here is the output error:

Re: [klee-dev] Compiling KLEE - metaSMT support

2014-11-30 Thread Thuan Pham
Hello Hristina, The file unordered_map.hpp is already there, at /home/thuan/KLEE/metaSMT/deps/boost-1_52_0/include/boost/tr1 I have set the CPATH to point to your suggested path but it still doesn't work. Thanks, Thuan. On Sat, Nov 29, 2014 at 3:18 AM, Hristina Palikareva

Re: [klee-dev] Compiling KLEE - metaSMT support

2014-11-30 Thread Thuan Pham
FYI, I have compiled successfully the vanilla KLEE on my machine. I am using Ubuntu 12.04 64-bit. Thanks. On Mon, Dec 1, 2014 at 2:51 PM, Thuan Pham thua...@comp.nus.edu.sg wrote: Hello Hristina, The file unordered_map.hpp is already there, at /home/thuan/KLEE/metaSMT/deps/boost-1_52_0

Re: [klee-dev] Compiling KLEE - metaSMT support

2014-12-02 Thread Thuan Pham
, There was a small regression error which has now been fixed. Please try with the newest version of KLEE and let me know if you have any problems. Thank you very much for pointing this out! Best wishes, Hristina On 01/12/14 06:55, Thuan Pham wrote: FYI, I have compiled successfully the vanilla KLEE

[klee-dev] Explanation about seeding mode

2014-12-18 Thread Thuan Pham
Hello, Could someone please explain to me the overview of seeding mode in Klee. For example, how it work in the Executor::branch method. I want to get the path constraints while executing the program under test using concrete input(s) and I found a relevant discussion at

[klee-dev] KLEE "hang" while executing a system call

2015-10-24 Thread Thuan Pham
Hi all, I am implementing a customized search strategy for KLEE and facing a strange problem. Although my search strategy can work quite well with some subject programs, KLEE "hang" while testing the "paste" utility in Coreutils 6.10. Precisely, KLEE still be alive (because it can handle Ctrl+C to

Re: [klee-dev] Query about searcher.cpp file

2015-09-20 Thread Thuan Pham
ith klee, then how can klee select > which searcher strategy is used for that code? > > Thanks > Shaila > > On Thu, Sep 17, 2015 at 4:28 AM, Thuan Pham <thua...@comp.nus.edu.sg> > wrote: > >> Hi, >> >> Basically, any search strategy needs to handle t

Re: [klee-dev] Metasmt using Z3 for getting unsat core

2015-09-22 Thread Thuan Pham
Hi, I haven't tried to work with Z3 through metasmt. However, in our previous work (Hercules: reproducing crashes in real-world application binaries), I implemented an interface function for S2E (which is built on top of KLEE and QEMU) to get unsat-core from Z3. What I did is to formulate a SMT

Re: [klee-dev] How do Klee forks program states?

2015-09-23 Thread Thuan Pham
Hi Tarannum, When I tried to get familiar with KLEE code based, I collected some data from different sources and write this document: https://dl.dropboxusercontent.com/u/101841567/UnderstandingKLEE.pdf. It could be helpful. I wrote the document for my future referencing so I did not check the

Re: [klee-dev] how to add label to assert statements

2016-04-25 Thread Thuan Pham
Hi, You can update methods in ExprSMTLIBPrinter class like printConstraints and printQuery to modify "assert" statements and add "named" at the end of the assert. Following is the example code for printConstraints void ExprSMTLIBPrinter::printConstraints() { if(humanReadable) *o << "; Constraints"

Re: [klee-dev] Cannot compile Coreutils 6.10 inside KLEE Docker image

2016-11-11 Thread Thuan Pham
FYI, the same issue happens while configuring Coreutils-6.11. On Fri, Nov 11, 2016 at 4:33 PM, Thuan Pham <thua...@comp.nus.edu.sg> wrote: > Dear all, > I am trying to reproduce results of KLEE OSDI'08 paper on the Docker image > provided on KLEE website. I downloaded Coreutils 6.

[klee-dev] Testing newest Coreutils

2016-11-23 Thread Thuan Pham
Hi, Has anyone tried to use KLEE to test newest version of Coreutils, say 8.25? I get stuck at the compilation step. Neither KLEE - LLVM2.9 nor KLEE - LLVM3.4 can compile Coreutils successfully. Here is the error message I got when I tried to compile Coreutils with klee-clang wrapper in KLEE -

Re: [klee-dev] Testing newest Coreutils

2016-11-24 Thread Thuan Pham
Hi Dan, Thank you very much. It works! Regards, Thuan On Thu, Nov 24, 2016 at 4:45 PM, Dan Liew <d...@su-root.co.uk> wrote: > On 24 November 2016 at 03:57, Thuan Pham <thua...@comp.nus.edu.sg> wrote: > > Hi, > > Has anyone tried to use KLEE to test newest version of C