Skip to content

Commit

Permalink
Fix deprecation warnings related to setting verbosity (#1574)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekilmer authored and Eric Hennenfent committed Dec 16, 2019
1 parent b993558 commit 1c67927
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/script/concolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import struct
import itertools

from manticore import set_verbosity
from manticore.native import Manticore
from manticore.core.plugin import ExtendedTracer, Follower, Plugin
from manticore.core.smtlib.constraints import ConstraintSet
Expand Down Expand Up @@ -167,7 +168,7 @@ def concrete_run_get_trace(inp):
m1 = Manticore.linux(prog, concrete_start=inp, workspace_url="mem:")
t = ExtendedTracer()
# r = TraceReceiver(t)
m1.verbosity(VERBOSITY)
set_verbosity(VERBOSITY)
m1.register_plugin(t)
# m1.register_plugin(r)
m1.run()
Expand All @@ -184,7 +185,7 @@ def symbolic_run_get_cons(trace):
# mem: has no concurrency support. Manticore should be 'Single' process
m2 = Manticore.linux(prog, workspace_url="mem:")
f = Follower(trace)
m2.verbosity(VERBOSITY)
set_verbosity(VERBOSITY)
m2.register_plugin(f)

def on_term_testcase(mm, state, err):
Expand Down

0 comments on commit 1c67927

Please sign in to comment.