Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.5 KB

clrheader.md

File metadata and controls

38 lines (24 loc) · 1.5 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: /CLRHEADER
/CLRHEADER
05/16/2019
/CLRHEADER
-CLRHEADER dumpbin option
/CLRHEADER dumpbin option
CLRHEADER dumpbin option
cf73424f-4541-47e2-b94e-69b95266ef2a

/CLRHEADER

Display CLR-specific information.

Syntax

/CLRHEADER file

Arguments

file
An image file built with /clr.

Remarks

/CLRHEADER displays information about the .NET headers used in any managed program. The output shows the location and size, in bytes, of the .NET header and sections in the header.

Only the /HEADERS DUMPBIN option is available for use on files produced with the /GL compiler option.

When /CLRHEADER is used on a file that was compiled with /clr, there will be a clr Header: section in the dumpbin output. The value of flags indicates which /clr option was used:

  • 0 -- /clr (image may contain native code).

You can also programmatically check if an image was built for the common language runtime. For more information, see How to: Determine if an Image is Native or CLR.

The /clr:pure and /clr:safe compiler options are deprecated in Visual Studio 2015 and unsupported in Visual Studio 2017 and later. Code that must be "pure" or "safe" should be ported to C#.

See also