1
Vote

Obfuscated WPF application crashed

description

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.

comments

lextm wrote May 1, 2013 at 8: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 at 8:23 AM

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

lextm wrote Jul 3 at 12:43 PM

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