-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
Area-CompilersBugFeature - RebuildCompiler ability to verify provenance of code via rebuild operationsCompiler ability to verify provenance of code via rebuild operations
Milestone
Description
Platform can't be determined from the CLR/PE header flags of the dll? Seems like it should be possible.
Originally posted by @tmat in #51778 (comment)
@RikkiGibson RikkiGibson 6 days ago Author Member
It may be possible, but I wasn't able to get all the values to round trip. The CoffHeader.Machine, for example, is not enough information. There must be other bits that imply Platform.AnyCpu and Platform.AnyCpu32BitPreferred that I just wasn't able to find.@tmat tmat 6 days ago Member
These are stored in CorHeader flags:
https://source.dot.net/#System.Reflection.Metadata/System/Reflection/PortableExecutable/CorHeader.cs,1f6cfc9c2185aaf4,references
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-CompilersBugFeature - RebuildCompiler ability to verify provenance of code via rebuild operationsCompiler ability to verify provenance of code via rebuild operations