Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObfuscateAssemblyAttribute is not supported #326

Open
lextm opened this issue May 25, 2021 · 2 comments
Open

ObfuscateAssemblyAttribute is not supported #326

lextm opened this issue May 25, 2021 · 2 comments

Comments

@lextm
Copy link
Member

lextm commented May 25, 2021

https://docs.microsoft.com/en-us/dotnet/api/system.reflection.obfuscateassemblyattribute?view=net-5.0

This attribute might be useful.

@GilesDMiddleton
Copy link
Contributor

Shouldn't ObfuscateAssemblyAttribute override MarkedOnly, and allow for exclusions to be specified?

i.e.
Use case:

  • My XML file specifies assembly A, B and C.
  • I want the 99% of A obfuscated, but only 10% of B and C.
  • So I set MarkedOnly=true in my XML file
  • I use attributes for each class/member I want to obfuscate in Assembly B and C.
  • I add the ObfuscateAssemblyAttribute to assembly A.
  • I exclude only a few classes from assembly A

Thus I expect automatic obfuscation of most of Assembly A, except where exlcude=true has been used.
And then I expect only specific classes/methods in B & C where excllude=false has been used.

Or have I misunderstood the fundamental processing?

@lextm
Copy link
Member Author

lextm commented Dec 7, 2021

It's currently an uncharted territory right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants