From 4f1d842f3b13cbdcbc44065a51365931e5ce8fe0 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Sun, 6 Jan 2013 16:37:11 +0000 Subject: Some documentation on query logging. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@171657 91177308-0d34-0410-b5e6-96231b3b80d8 --- www/Documentation.html | 2 +- www/klee-options.html | 30 ++++++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/Documentation.html b/www/Documentation.html index b266e439..11152801 100644 --- a/www/Documentation.html +++ b/www/Documentation.html @@ -24,7 +24,7 @@
  • KLEE Options: - Overview of the KLEE's main command-line options. + Overview of KLEE's main command-line options.
  • diff --git a/www/klee-options.html b/www/klee-options.html index 22871e0e..be997ec4 100644 --- a/www/klee-options.html +++ b/www/klee-options.html @@ -15,7 +15,12 @@

    KLEE Options

    -

    Search Heuristics

    +

    + 1. Search Heuristics
    + 2. Query Logging
    +

    + +

    Main search heuristics

    @@ -67,7 +72,28 @@

    The default heuristics used by KLEE are random-path interleaved with nurs:covnew.

    - + +

    Query Logging

    + + To log the queries issued by KLEE during symbolic execution, you can use the following options: +
      +
    1. + --use-query-log=TYPE:FORMAT, where: +
        +
      • TYPE is either all to log all the queries KLEE made during execution before any optimisation (e.g. caching, constraint independence) is performed, or solver to log only the queries passed to KLEE's underlying solver. Note that it is possible that some of the unoptimized queries are never executed or are modified before being executed by KLEE's underlying solver.
      • +
      • FORMAT is the format in which queries are logged and can be either pc for the KQuery format, or smt2 for the SMT-LIBv2 format. +
      +
    2. + --min-query-time-to-log=TIME (in ms) is used to log only queries that exceed a certain time limit. TIME can be: +
        +
      • 0 (default): to log all queries
      • +
      • <0: a negative value specifies that only queries that timed out should be logged. The timeout value is specified via the --max-stp-time option.
      • +
      • >0: only queries that took more that TIME milliseconds should be logged. +
      +
    3. + +
    + -- cgit 1.4.1