SA changes file alignment

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, Alex.Davies, melvyn.harbour

SA changes file alignment

Postby JNeck » Thu Feb 17, 2011 11:12 am

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
JNeck
 
Posts: 4
Joined: Sun Apr 25, 2010 6:43 pm

Postby Brian Donahue » Thu Feb 17, 2011 2:37 pm

Hello Jens,

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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby JNeck » Thu Feb 17, 2011 3:12 pm

Hello Brian,

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
JNeck
 
Posts: 4
Joined: Sun Apr 25, 2010 6:43 pm

Postby Brian Donahue » Thu Feb 17, 2011 3:57 pm

Hi 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.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Tue Feb 22, 2011 10:33 am

The tracking number for this feature request is SA-842, if you need to check back with us.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am


Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 1 guest