Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Fix default output space when workspace is in mem:#1724

Merged
feliam merged 1 commit into
masterfrom
dev-output-workspace
Jun 9, 2020
Merged

Fix default output space when workspace is in mem:#1724
feliam merged 1 commit into
masterfrom
dev-output-workspace

Conversation

@feliam

@feliam feliam commented Jun 8, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@feliam
feliam requested review from ehennenfent and ekilmer June 8, 2020 19:59
Comment thread manticore/core/manticore.py

@ehennenfent ehennenfent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming the tests pass, this LGTM. I'm still confused as to how we got the error that we did. It should only be possible to reach the branch we end up in if the working directory doesn't already exist, and yet, we get an error because it does. I thought it might be a race condition in temp file creation, but the docs explicitly say that's not a problem: https://docs.python.org/3.6/library/tempfile.html#tempfile.mkdtemp

In any case, by correctly passing in a file name, hopefully we'll avoid that problem.

@feliam
feliam merged commit 7f5f12c into master Jun 9, 2020
@feliam
feliam deleted the dev-output-workspace branch June 9, 2020 14:37
ekilmer added a commit that referenced this pull request Jun 15, 2020
* master:
  Symbolic model for strcpy (#1681)
  Rollback to support yices again (#1714)
  Fix default output space when workspace is in mem: (#1724)
  VMTests tests for istanbul (#1676)
  Snapshots & is_main (#1710)
  Fix Black (#1718)
  Use CoverageRC, Make CodeCov Less Aggressive (#1705)
  Fix plugin enable/disable magic (#1708)
  Add a warning when selected no methods for inclusion (#1707)
  Remove duplicated entries (#1709)
  Blacken (#1711)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants