MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Preserve manifest resources #88

Closed MichalStrehovsky closed 2 years ago

MichalStrehovsky commented 2 years ago

Managed resources should be copied to the output. Probably just make the module type depend on all manifest resources in the assembly.

MetadataReader.ManifestResources and .GetManifestResource are the related API.

We'll need to pipe a new stream with the resource data to the ManagedPEBuilder, similar to what we did for RVA static data here: #56.

MichalStrehovsky commented 2 years ago

97 has a small example for how to read them