How can we help you today? How can we help you today?

Common Language Runtime detected an invalid program

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
0

Comments

8 comments

  • Simon C
    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
    0
  • Jasmin Sehic
    I've sent you an email with everything you have requested.
    Jasmin Sehic
    0
  • Brian Donahue
    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
    0
  • Jasmin Sehic
    Thanks for your support. When is the next releases roughly expected to go out?
    Jasmin Sehic
    0
  • Brian Donahue
    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
    0
  • Jasmin Sehic
    No problems.
    Jasmin Sehic
    0
  • Brian Donahue
    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
    0
  • Jasmin Sehic
    New version works correctly now. Thank you.
    Jasmin Sehic
    0

Add comment

Please sign in to leave a comment.