about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2014-02-24 17:27:16 +0000
committerCristian Cadar <c.cadar@imperial.ac.uk>2014-02-24 17:27:16 +0000
commit78f393d28eb243aa00e003feeee928091d5f174f (patch)
tree17edb16d1e7fafcde130e00661b7ba5acf5ae465 /lib
parentb96fd2ce9e2148e076bb755b6a2fc39979a37f6b (diff)
downloadklee-78f393d28eb243aa00e003feeee928091d5f174f.tar.gz
Improved help message for make-concrete-symbolic and fixed some typos.
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/Executor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index bf672bb7..070f825e 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -2911,11 +2911,11 @@ ref<Expr> Executor::replaceReadWithSymbolic(ExecutionState &state,
   if (!n || replayOut || replayPath)
     return e;
 
-  // right now, we don't replace symbolics (is there any reason too?)
+  // right now, we don't replace symbolics (is there any reason to?)
   if (!isa<ConstantExpr>(e))
     return e;
 
-  if (n != 1 && random() %  n)
+  if (n != 1 && random() % n)
     return e;
 
   // create a new fresh location, assert it is equal to concrete value in e