Skip to content

[Reflection] Add an utility to stress test the metadata reader. #23464

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

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

dcci
Copy link
Member

@dcci dcci commented Mar 21, 2019

lldb now uses this quite extensively so we want to make sure
we don't crash on invalid.

rdar://problem/49043621

lldb now uses this quite extensively so we want to make sure
we don't crash on invalid.

<rdar://problem/49043621>
@dcci dcci requested review from mikeash and adrian-prantl March 21, 2019 17:37
@dcci
Copy link
Member Author

dcci commented Mar 21, 2019

This is very rudimental, but already found several crashes.

@dcci
Copy link
Member Author

dcci commented Mar 21, 2019

@swift-ci please test

Copy link
Contributor

@mikeash mikeash left a comment

Choose a reason for hiding this comment

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

Great start! Might as well fix all the problems revealed by something simple before moving on to something more sophisticated.

@dcci dcci merged commit 8702c23 into swiftlang:master Mar 21, 2019
@adrian-prantl
Copy link
Contributor

Very cool!

@gottesmm
Copy link
Contributor

@fredriss @shahmishal can we get this on a bot (along with the demangler fuzzer)?

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

Successfully merging this pull request may close these issues.

4 participants