-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Add IL verification with ILVerify in addition to PEVerify #37994
Merged
Merged
Changes from 42 commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
d1e402c
Add IL verification with ILVerify in addition to PEVerify
jcouv 70d3ab8
Annotating more tests
jcouv 3f8b70f
Use new package with strong name
jcouv 6e2efce
Merge remote-tracking branch 'dotnet/main' into il-verify2
jcouv bf116d9
Fix a couple more tests
jcouv a993d0e
Address some PROTOTYPE markers
jcouv 7af8ecc
Tighten checks
jcouv 0ee5f6a
Fix IL verification plumbing
jcouv 1701dbb
Transition ILVerify to Core test runner
jcouv 260a40e
Fix Resolver
jcouv 7b0263a
public
jcouv 400d315
Start tightening the IL verification
jcouv e7a7c3f
Remove some unused error entries
jcouv 9cafb53
Annotate failures
jcouv 656d328
InitOnly and NotVisible
jcouv eea70d3
MissingStringType
jcouv d328e27
MissingAssembly
jcouv ebbc74a
BadReturnType
jcouv 66aa35b
More
jcouv c34aa28
More
jcouv d23c09c
Change design of flags
jcouv 5a01e58
Ctor
jcouv ae83e16
more
jcouv 9b1260c
more
jcouv ec54177
tweak
jcouv 99e0f0a
VB
jcouv b2fc7c7
Conditional package reference
jcouv ebacf4f
Remove tracking of specific failures
jcouv d57946e
Move check
jcouv a345b1b
VB
jcouv 7abba2e
Undo some changes
jcouv f3a3859
Cleanup
jcouv 262ee1e
Refine resolution of ambiguities
jcouv 733ac37
Align on simple names
jcouv c1f0f8d
Use signed ILVerification package from dotnet7 feed
jcouv f193504
Enable on desktop runtime
jcouv fffe57a
Merge remote-tracking branch 'dotnet/main' into il-verify2
jcouv 4cf0b49
Revert "Enable on desktop runtime"
jcouv dceda42
Update added tests
jcouv 115da8a
Use compilation to identify corlib
jcouv af67143
Use label for version number
jcouv a7dc694
Address feedback
jcouv ca5027f
Address feedback
jcouv 6d83957
usings
jcouv c7d7ba6
Rename
jcouv cb27c93
indentation
jcouv a11ad37
Merge remote-tracking branch 'dotnet/main' into il-verify2
jcouv e32bf0a
Resolve conflicts
jcouv 7e0ec94
remove catch
jcouv f5387f8
Revert "remove catch"
jcouv f9cf399
Shrink usage of exceptions
jcouv c55a61d
Adjust to new logic
jcouv fcc2dc2
one more test
jcouv 3db3d54
Address feedback
jcouv File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
using System.Globalization; | ||
using System.Linq; | ||
using System.Reflection.Metadata; | ||
using System.Reflection.PortableExecutable; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
using System.Text; | ||
using Microsoft.CodeAnalysis.CSharp.Symbols; | ||
using Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change necessary? #Closed