This project has moved and is read-only. For the latest updates, please go here.

Obfuscated WPF application crashed


Class names are hard coded in XAML files for Window and so on. Such strings are embedded in the resource section of the assembly in BAML format.

Thus, obfuscation should correctly rename the items in BAML, or automatically skip any types that appear in BAML.


lextm wrote May 1, 2013 at 9:08 AM

Reused ILSpy's logic to decompile BAML to XAML. Now we know which names are there.

As I am not sure yet how to convert XAML to BAML and embed back to the assembly, all types appear in BAML are skipped.

Will further investigate.

lextm wrote Mar 25, 2014 at 9:23 AM

** Closed by lextm 03/25/2014 1:23AM

lextm wrote Jul 3, 2014 at 1:43 PM

There are more types in BAML than I originally thought, so more effort is required before WPF is fully supported.