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 ... |
Get .NET Common Language Runtime Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.