Common Language Runtime detected an invalid program

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, melvyn.harbour, dom.smith

Common Language Runtime detected an invalid program

Postby Jasmin Sehic » Wed Nov 16, 2011 8:52 pm

Hi guys,

I decided to give SmartAssembly a try today after fiddling around with CliSecure and few others and I have to say big thumbs up to guys that made this. It is a stand out application when compared to other CLI protectors currently available on the market. It is currently on the top of my list to purchase.

I noticed a possible bug in version 6.5.1.6 where one of my assemblies I was protecting would throw 'Common Language Runtime detected an invalid program' exception if I set the Control Flow Obfuscation to Strictly Valid (supports Mono). If I have it set to None, Basic or Strongest the exception goes away. Possibly a bug in the Control Flow Obfuscation algorithm causing something that makes the output assembly not compatible with .NET Framework on this particular setting?

I have all .NET Frameworks installed and my application is targeting 2.0.

Thanks for you assistance and keep up the great work on this product.
Jasmin Sehic
 
Posts: 5
Joined: Wed Nov 16, 2011 8:03 pm

Postby Simon C » Thu Nov 17, 2011 12:56 pm

Hi Jasmin; glad you like the product!

With regards to the issue with CFO, would it be possible to send the assemblies & saproj you're using to me (email link at the bottom of this post) so we can have a look and find out what's going wrong?

Thanks for trying it out

SimonC
Simon C
 
Posts: 140
Joined: Tue Feb 26, 2008 4:56 pm
Location: Red Gate Software

Postby Jasmin Sehic » Thu Nov 17, 2011 1:31 pm

I've sent you an email with everything you have requested.
Jasmin Sehic
 
Posts: 5
Joined: Wed Nov 16, 2011 8:03 pm

Postby Brian Donahue » Mon Nov 21, 2011 4:23 pm

Hello,

Apparently this is fixed and will be working in the next release. There was some kind of issue with Control Flow obfuscation and filter blocks. Hopefully that makes some sort of sense to you.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Jasmin Sehic » Mon Nov 21, 2011 4:48 pm

Thanks for your support. When is the next releases roughly expected to go out?
Jasmin Sehic
 
Posts: 5
Joined: Wed Nov 16, 2011 8:03 pm

Postby Brian Donahue » Mon Nov 21, 2011 6:15 pm

Can I let you know start of next week? We may have a build to send you but unfortunately I won't know till next Monday.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Jasmin Sehic » Mon Nov 21, 2011 6:23 pm

No problems.
Jasmin Sehic
 
Posts: 5
Joined: Wed Nov 16, 2011 8:03 pm

Postby Brian Donahue » Thu Nov 24, 2011 11:50 am

Can you please try the latest build:
ftp://support.red-gate.com/patches/Smar ... .5.2.8.zip

NOTE: anyone else experiencing this or any other problem, contact support before applying patches like this one.
Brian Donahue
 
Posts: 6670
Joined: Mon Aug 23, 2004 10:48 am

Postby Jasmin Sehic » Thu Nov 24, 2011 11:57 am

New version works correctly now. Thank you.
Jasmin Sehic
 
Posts: 5
Joined: Wed Nov 16, 2011 8:03 pm


Return to SmartAssembly 6

Who is online

Users browsing this forum: No registered users and 1 guest