Print a warning when flushing TBs

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Printing warnings from QEMU code

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
s2e_print_expression prints the concrete value as well in concolic mode

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
s2e_assume: First param is [ebp+8]

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Store the concrete value in the memory trace in concolic mode

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
MemoryTrace can also capture accesses in a certain range

Without requiring and module monitoring plugins.

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
KLEE: put stack printing in a separate function

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
concolicFork(): it's a bug if it can't evaluate the expression.

Do not try to compute missing values.

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>

Conflicts:

	klee/lib/Core/Executor.cpp

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Use concrete values to speed up validation of simplified expressions in concolic mode.

It may not catch all the bugs as quickly as if we called the solver but at least it's fast.

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>

Conflicts:

	klee/lib/Core/Executor.cpp
s2e_flush_tb_cache(): check that g_s2e is initialized

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Lua: checking that a user function is defined in the script

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotation: removed deprecated state manager stuff

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotation: do not require dependence on other plugins

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotation: added exit() API

Allows terminating S2E from scripts

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotation: hooks for onTimer and onStateKill core events

Allows Lua scripts to register for these two events

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Print TB cache flush warning only when not flushing TBs on state switch.

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotations: don't crash if ModuleExecutionDetector is not enabled

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Annotations: api to retrive the speculative status of a state

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>
Don't forget to write back the example to memory

Otherwise, s2e_get_example is useless...

Signed-off-by: Vitaly Chipounov <vitaly.chipounov@epfl.ch>

Conflicts:

	qemu/s2e/Plugins/BaseInstructions.cpp
s2ecmd: Eliminate one Windows-related ifdef