O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Physical Layout of the Assembly

This section relies heavily on the documentation of the assembly format that is contained in \Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Tool Developers Guide\docs\Partition II Metadata.doc. This document provides detailed information about the architecture and layout of a .NET assembly.

As an introduction, run the “other” PE dump utility, dumpbin, on the HelloWorld assembly that was the focus of the previous section, with the /all option. Part of the resulting output shows the raw data in the assembly, as shown in Listing 4.8.

Listing 4.8. Raw Dump of Section #1 Data
 RAW DATA #1 0402000: D0 22 00 00 00 00 00 00 48 00 00 00 02 00 00 00 _"......H....... 0402010: 7C 20 00 00 20 02 00 00 01 00 00 00 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required