Home - Forums-.NET - Spices.Net - Errors obfucating mixed code


NET code security, tools to protect, obfuscate, tamper defense, code and data safety, recover, convert, optimize, explore, browse and analyze .Net software.

This forum related to following products: Spices.Net Suite, Spices.Net Obfuscator, Spices.Net Decompiler

Errors obfucating mixed code
Link Posted: 11-Apr-2012 06:27

I'm trying to obfuscate a C# project that contains mixed code - a class written in C++ (unmanaged) and wrapped in C#. However, during the verification of the obfuscated assemblies, I get the following errors.

[PE:]Improperly aligned value [OptionalHeader.SectionAlignment]
[PE:]Bad section virtual address in section [.data] spices

I've googled for them but without much clue as to what to do. Anyone seen this before?
Link Posted: 11-Apr-2012 08:03
Don't worry about that messages, these warnings just indicate that PE(Portable Executable) structure in currently verified assembly has not standard values. It is usual situation for mixed code assemblies. If you verify your original assemblies you'll receive the same list of warnings.