Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple changes; python 2 support, dictionary, mutator refactor #26

Merged
merged 15 commits into from Jan 19, 2020
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Ensure that the 'NEW' state reports the coverage.

Because the 'NEW' state was being logged before the coverage count was
updated, the log line would not include the new coverage count. This
change ensures that the log line reports the new coverage count.
  • Loading branch information
gerph committed Jan 6, 2020
commit a7b7264b21e2db9d070a070d77b79611e55556fe
@@ -162,9 +162,9 @@ def start(self):
self._executions_in_sample += 1
rss = 0
if total_coverage > self._total_coverage:
rss = self.log_stats("NEW")
self._total_coverage = total_coverage
self._corpus.put(buf)
rss = self.log_stats("NEW")
else:
if (time.time() - self._last_sample_time) > SAMPLING_WINDOW:
rss = self.log_stats('PULSE')
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.