Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

(feature) pydela gets stuck in z3 assertion error #2

Closed
rainoftime opened this issue Dec 9, 2020 · 0 comments
Closed

(feature) pydela gets stuck in z3 assertion error #2

rainoftime opened this issue Dec 9, 2020 · 0 comments

Comments

@rainoftime
Copy link

rainoftime commented Dec 9, 2020

When Z3 throws an assertion error,
the process will get stuck.
As a result, some delta debuggers like ddSMT and pydelta can get stuck in the first run.

An example
z3stuck.txt


Previously, I modified ddSMT to support this.

    proc = subprocess.Popen(g_args.cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
    timer = Timer(g_time_limit, terminate, args=[proc])
    timer.start()
    try:
      for line in iter(proc.stdout.readline, ''):
         ...

    proc.stdout.close()
    procstat = proc.wait()
    timer.cancel()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant