-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Automatically port Reflection.PortableExecutable.DllCharacteristics #3195
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
</Attribute> | ||
</Attributes> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Describes the characteristics of a dynamic link library.</summary> | ||
<remarks>To be added.</remarks> | ||
</Docs> | ||
<Members> | ||
|
@@ -49,7 +49,7 @@ | |
</ReturnValue> | ||
<MemberValue>4096</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image must run inside an AppContainer.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="DynamicBase"> | ||
|
@@ -74,7 +74,7 @@ | |
</ReturnValue> | ||
<MemberValue>64</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The DLL can be relocated.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="HighEntropyVirtualAddressSpace"> | ||
|
@@ -98,7 +98,7 @@ | |
</ReturnValue> | ||
<MemberValue>32</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image can handle a high entropy 64-bit virtual address space.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="NoBind"> | ||
|
@@ -123,7 +123,7 @@ | |
</ReturnValue> | ||
<MemberValue>2048</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Do not bind this image.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="NoIsolation"> | ||
|
@@ -148,7 +148,7 @@ | |
</ReturnValue> | ||
<MemberValue>512</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image understands isolation and doesn't want it.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="NoSeh"> | ||
|
@@ -173,7 +173,7 @@ | |
</ReturnValue> | ||
<MemberValue>1024</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image does not use SEH. No SE handler may reside in this image.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="NxCompatible"> | ||
|
@@ -198,7 +198,7 @@ | |
</ReturnValue> | ||
<MemberValue>256</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image is NX compatible.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="ProcessInit"> | ||
|
@@ -223,7 +223,7 @@ | |
</ReturnValue> | ||
<MemberValue>1</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Reserved.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="ProcessTerm"> | ||
|
@@ -248,7 +248,7 @@ | |
</ReturnValue> | ||
<MemberValue>2</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Reserved.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="TerminalServerAware"> | ||
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. Do we have a description for TerminalServerAware? 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. Not in the source comments: src/System.Reflection.Metadata/src/System/Reflection/PortableExecutable/PEFileFlags.cs#L113 This enum value was introduced in the very first commit of .NET Core: dotnet/corefx@f11305d So the API is as old as Framework. But judging by the value, and a quick search I did for these terms, this is my proposed description, @rpetrusha:
@GrabYourPitchforks @steveharter as the area owners, is this description good enough for you? 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. Seems reasonable to me, but I am not an expert. |
||
|
@@ -273,7 +273,7 @@ | |
</ReturnValue> | ||
<MemberValue>32768</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The image is Terminal Server aware.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="ThreadInit"> | ||
|
@@ -298,7 +298,7 @@ | |
</ReturnValue> | ||
<MemberValue>4</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Reserved.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="ThreadTerm"> | ||
|
@@ -323,7 +323,7 @@ | |
</ReturnValue> | ||
<MemberValue>8</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>Reserved.</summary> | ||
</Docs> | ||
</Member> | ||
<Member MemberName="WdmDriver"> | ||
|
@@ -348,7 +348,7 @@ | |
</ReturnValue> | ||
<MemberValue>8192</MemberValue> | ||
<Docs> | ||
<summary>To be added.</summary> | ||
<summary>The driver uses the WDM model.</summary> | ||
</Docs> | ||
</Member> | ||
</Members> | ||
|
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.
Can we add a type summary, something like "Describes the characteristics of a dynamic link library."?
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.
The type summary sounds good to me, I will apply it.
@GrabYourPitchforks @steveharter as the area owners, do you agree with the type summary?
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.
Actually, @tmat please take a look at this PR as well.
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.
lgtm