Skip to content

Add logging to debug windows libfuzzer backup failures.#383

Merged
inferno-chromium merged 2 commits into
masterfrom
b1
Apr 12, 2019
Merged

Add logging to debug windows libfuzzer backup failures.#383
inferno-chromium merged 2 commits into
masterfrom
b1

Conversation

@inferno-chromium

Copy link
Copy Markdown
Collaborator

No description provided.

@googlebot googlebot added the cla: yes CLA signed. label Apr 12, 2019
@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

gs://clusterfuzz-windows-corpus/libfuzzer// is all 22 bytes and empty.

@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

/gcbrun

@jonathanmetzman

Copy link
Copy Markdown
Collaborator

Thanks!

Comment thread src/python/fuzzing/corpus_manager.py Outdated
try:
backup_archive_path = shutil.make_archive(backup_archive_path,
BACKUP_ARCHIVE_FORMAT, directory)
logs.log('Created corpus backup file.',

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm actually not sure if this will provide any more info. I think the backups are being created they just don't contain anything.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

From stackdriver logs, it does seem like directory has corpus units, so this is just to see what arguments are passed to shutil.make_archive. something very weird, so this is just to log and confirm the arguments and size of archive locally.

@inferno-chromium

Copy link
Copy Markdown
Collaborator Author

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes CLA signed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants