Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PE Header for Each NetModule in Assembly

As we know, we can store netmodules in assemblies instead of putting them into different files and linked them in Assembly. But as each Managed Modules have their own PE Header, CLR Header, Metadata I wonder when they are embeded into one assembly, do these headers become one complete header that describe for every managed module in the assembly or they still be separated?

enter image description here

like image 206
Tarik Avatar asked Mar 20 '26 17:03

Tarik


1 Answers

.netmodules must be linked by al.exe to create a usable assembly. It's the linker's job to generate the final version of the metadata in the assembly. The one and only.

like image 169
Hans Passant Avatar answered Mar 22 '26 12:03

Hans Passant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!