Tuesday September 1st

Monday August 31st

Friday August 28th

PostSharp, Obfuscation, and IL

Normally, attributes in .NET are entirely a metadata construct. Apart from a few special attributes in the .NET framework, they have no effect whatsoever on how a class or method executes within the CLR. Only by using reflection at runtime can you access any attributes declared on a type or type member. PostSharp changes this. Simon Cooper shows why PostSharp breaks obfuscators, and how SmartAssembly now supports the framework.

2 comments

Interesting little look at PostSharp under the hood. I never really investigated the IL required to do its magic, it seems surprisingly simple (though I'm sure PostSharp is also doing a lot more as well).

very detailed and well written. I didn't even know obfuscation was a word until i read this!

Commenting on Stories is limited for now and will open up to those recommended by the community. Learn how
Loading DotNetKicks...
brought to you by the Kicks Network