Re: [klee-dev] How to show (get) the negative values returned in klee's .pc files?

2013-05-02 Thread Daniel Liew
Hi, When sending replies please CC the mailing list. klee_assume() is a special function that adds constraints to the current path being explored (if the resulting path is possible). See SpecialFunctionHandler::handleAssume() in SpecialFunctionHandler.cpp SpecialFunctionHandler::handleAssume()

[klee-dev] How to show (get) the negative values returned in klee's .pc files?

2013-05-01 Thread General Email
Hi, I need to understand how to use klee_assume and klee_assert. I tried to implement the following assumptions (in the function listed below) which assumed that if a symbolic variable x satisfies the condition !(0(x+5)) and that if another variable y is set to x+7, I want to check whether y is

Re: [klee-dev] How to show (get) the negative values returned in klee's .pc files?

2013-05-01 Thread General Email
Thanks Daniel, This is very helpful. So, my next question is how does klee generate such a condition based on the following set of commands?! klee_assume(!(0(x+5))); klee_assume(y==x+7); klee_assert(y0); I would appreciate if you provide me with some guidance of how klee_assume and