Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Harden reflection scanner against invalid IL #7165

Merged

Conversation

MichalStrehovsky
Copy link
Member

Should help with the KnownGood test failures seen in #7157.

The IsValid check in Skip should be all that's needed to fix the observed failures, but I went ahead and hardened it against other invalid situations (end of body in the middle of an instruction, or bad calls).

@MichalStrehovsky
Copy link
Member Author

Cc @sergiy-k

@sergiy-k
Copy link
Contributor

Thank you!

@MichalStrehovsky MichalStrehovsky merged commit fd7eb0e into dotnet:master Mar 14, 2019
@MichalStrehovsky MichalStrehovsky deleted the hardenReflectionScan branch March 14, 2019 16:54
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.

None yet

2 participants