SA changes file alignment
JNeck
Posts: 5
We need to post-process obfuscated assemblies.
One of the post-processes needs a file alignment of 4096 bytes but SA changes the alignment to 512bytes even if the source assembly has an alignment of 4096 bytes.
Is there any option to preserve the alignment?
If not, if there any workaround?
Thanks in advance!
Regards,
Jens
One of the post-processes needs a file alignment of 4096 bytes but SA changes the alignment to 512bytes even if the source assembly has an alignment of 4096 bytes.
Is there any option to preserve the alignment?
If not, if there any workaround?
Thanks in advance!
Regards,
Jens
Comments
SmartAssembly writes its' file in a binary way, and the FileAlignment property is a constant 0x200 (512 bytes). You can't change this. I can log a feature request for the ability to configure it.
Thanks for looking into this!
For us it is very urgent to have such an option because without it we can't use SA on our newest projects.
Is it possible for you to say if and when this feature will be available?
Regards,
Jens
Honestly, no. These decisions are up to the product management who make them based on number of requests, etc.
Some other Red Gate products are moving over to UserVoice, so maybe we can be transparent in the future if SmartAssembly also moves that way.