summaryrefslogtreecommitdiff
path: root/src/debug/daccess/nidump.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2017-05-17 18:25:05 -0700
committerGitHub <noreply@github.com>2017-05-17 18:25:05 -0700
commit13e7c4368da664a8b50228b1a5ef01a660fbb2dd (patch)
treef3f36157c201fab5bc4558beceb9f8e83fbab3f6 /src/debug/daccess/nidump.cpp
parentc290deb3bd5331a5d70470e6203f2b4b2059bd90 (diff)
downloadcoreclr-13e7c4368da664a8b50228b1a5ef01a660fbb2dd.tar.gz
coreclr-13e7c4368da664a8b50228b1a5ef01a660fbb2dd.tar.bz2
coreclr-13e7c4368da664a8b50228b1a5ef01a660fbb2dd.zip
Finish deleting dead CAS code from CoreLib (#11436)
Fixes #9321 and deletes CleanupToDoList.cs Delete unmanaged security implementation
Diffstat (limited to 'src/debug/daccess/nidump.cpp')
-rw-r--r--src/debug/daccess/nidump.cpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/debug/daccess/nidump.cpp b/src/debug/daccess/nidump.cpp
index 77c05b5801..ebce7b4aa0 100644
--- a/src/debug/daccess/nidump.cpp
+++ b/src/debug/daccess/nidump.cpp
@@ -3721,18 +3721,6 @@ const WCHAR * g_sectionNames[] =
#pragma warning(disable:21000) // Suppress PREFast warning about overly large function
#endif
-const NativeImageDumper::EnumMnemonics s_MSDFlags[] =
-{
-#define MSD_ENTRY(f) NativeImageDumper::EnumMnemonics(ModuleSecurityDescriptorFlags_ ## f, W(#f))
- MSD_ENTRY(IsComputed),
- MSD_ENTRY(IsAllCritical),
- MSD_ENTRY(IsAllTransparent),
- MSD_ENTRY(IsTreatAsSafe),
- MSD_ENTRY(IsOpportunisticallyCritical),
- MSD_ENTRY(SkipFullTrustVerification)
-#undef MSD_ENTRY
-};
-
void NativeImageDumper::DumpModule( PTR_Module module )
{
@@ -4063,16 +4051,6 @@ void NativeImageDumper::DumpModule( PTR_Module module )
Module, MODULE );
- _ASSERTE(module->m_pModuleSecurityDescriptor);
- PTR_ModuleSecurityDescriptor msd(TO_TADDR(module->m_pModuleSecurityDescriptor));
- DisplayStartStructureWithOffset( m_pModuleSecurityDescriptor,
- DPtrToPreferredAddr(msd), sizeof(*msd),
- Module, MODULE );
- DisplayWriteElementEnumerated("Flags", msd->GetRawFlags(), s_MSDFlags, W(", "), MODULE );
-
- _ASSERTE(msd->GetModule() == module);
- DisplayEndStructure(MODULE); //ModuleSecurityDescriptor
-
/* REVISIT_TODO Wed 09/21/2005
* Get me in the debugger and look at the activations and module/class
* dependencies.
@@ -5627,7 +5605,6 @@ NativeImageDumper::EnumMnemonics s_MTFlags2[] =
MTFLAG2_ENTRY(IsZapped),
MTFLAG2_ENTRY(IsPreRestored),
MTFLAG2_ENTRY(HasModuleDependencies),
- MTFLAG2_ENTRY(NoSecurityProperties),
MTFLAG2_ENTRY(RequiresDispatchTokenFat),
MTFLAG2_ENTRY(HasCctor),
MTFLAG2_ENTRY(HasCCWTemplate),
@@ -5817,25 +5794,6 @@ static NativeImageDumper::EnumMnemonics s_VMFlags[] =
#endif
#undef VMF_ENTRY
};
-static NativeImageDumper::EnumMnemonics s_SecurityProperties[] =
-{
-#define SP_ENTRY(x) NativeImageDumper::EnumMnemonics(DECLSEC_ ## x, W(#x))
- SP_ENTRY(DEMANDS),
- SP_ENTRY(ASSERTIONS),
- SP_ENTRY(DENIALS),
- SP_ENTRY(INHERIT_CHECKS),
- SP_ENTRY(LINK_CHECKS),
- SP_ENTRY(PERMITONLY),
- SP_ENTRY(REQUESTS),
- SP_ENTRY(UNMNGD_ACCESS_DEMAND),
- SP_ENTRY(NONCAS_DEMANDS),
- SP_ENTRY(NONCAS_LINK_DEMANDS),
- SP_ENTRY(NONCAS_INHERITANCE),
-
- SP_ENTRY(NULL_INHERIT_CHECKS),
- SP_ENTRY(NULL_LINK_CHECKS),
-#undef SP_ENTRY
-};
static NativeImageDumper::EnumMnemonics s_CorFieldAttr[] =
{
#define CFA_ENTRY(x) NativeImageDumper::EnumMnemonics( x, W(#x) )
@@ -8741,11 +8699,6 @@ NativeImageDumper::DumpEEClassForMethodTable( PTR_MethodTable mt )
DisplayWriteFieldInt( m_cbModuleDynamicID, pClassOptional->m_cbModuleDynamicID,
EEClassOptionalFields, EECLASSES );
-
- DisplayWriteFieldEnumerated( m_SecProps, clazz->GetSecurityProperties()->dwFlags,
- EEClassOptionalFields, s_SecurityProperties, W("|"),
- EECLASSES );
-
DisplayEndStructure( EECLASSES ); // EEClassOptionalFields
}
} // NativeImageDumper::DumpEEClassForMethodTable