. NET 2.0 provides two obfuscation-related attributes, obfuscationattribute and obfuscateassemblyattribute.
Provides developers with a way to annotate binary files so that obfuscators can correctly process these binary files with minimal external configuration.
When the obfuscation processing tool processes each object, it needs to determine whether the object has such an attribute. If so, it also needs to read the attribute parameter value. And then proceed accordingly.
When I was doing this, I mistakenly wrote a character, causingProgramCannot be handled correctly. obfuscation attributes.
When processing attributes, we can only use the unique feature "name" to match, and spelling errors will naturally fail to be found.
This reminds me of another new property provided by NET 2.0: suppressildasmattribute.
Applying the suppressildasmattri attribute to an assembly or module prevents the use of msil disassembly program (ildasm.exe) to disassemble an assembly or module.
Based on the previous lessons, what if the suppressildasmattribute attribute name in ildasm is misspelled?
Apparently, Microsoft developers did not spell it wrong.
Open ildasm.exe in the editor and search "suppressildasmattribute.