GithubHelp home page GithubHelp logo

obfuscation.fody's Introduction

Obfuscation.Fody Obfuscation.Fody

.NET Build NuGet Publish CodeQL

Summary

This is a Fody extension to modify ObfuscationAttribute.

Usage

.NET CLI:

dotnet add package Obfuscation.Fody --version 1.0.0

or PowerShell:

Install-Package Obfuscation.Fody -Version 1.0.0

or Edit project items:

<ItemGroup>
  <PackageReference Include="Obfuscation.Fody" Version="1.0.0" />
</ItemGroup>

It will get the attribute target that contains ObfuscationAttribute, and filter out the attribute target whose Exclude property value is equal to true, and modify the eligible Feature property value. Other properties remain the same.

It has one configuration element:

<Obfuscation Feature="EXCLUDE:NECROBIT,STRINGENCRYPTION,ANTITAMP,CONTROLFLOW,SNREMOVAL;INCLUDE:OBFUSCATION" Append="true" />

The Feature configuration item will be used to modify the Feature property of the ObfuscationAttribute. The Feature configuration item is required, otherwise the Obfuscation.Fody extension does not work.

The Append configuration item will decide whether to override the original Feature property value or append it. The Append default value is false, it is optional.

Support

Attribute targets:

  • Assembly
  • Class
  • Struct
  • Enum
  • Method
  • Property
  • Field
  • Event
  • Interface
  • Parameter
  • Delegate
  • Record (a special class)
  • Indexer (a special property)
  • Destructor (a special method)
  • Constructor parameters (The Constructor is a special method)

Samples

Authors

License

obfuscation.fody's People

Contributors

vallens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

obfuscation.fody's Issues

Error: ๐Ÿ˜ญ unable to extract version info!

Project Filepath: src/Obfuscation.Fody.NuGet/Obfuscation.Fody.NuGet.csproj
Version Filepath: src/Obfuscation.Fody.NuGet/Obfuscation.Fody.NuGet.csproj
Version Regex: /^\s*<Version>(.*)<\/Version>\s*$/m
Error: ๐Ÿ˜ญ unable to extract version info!
/home/runner/work/_actions/rohith/publish-nuget/v2/index.js:23
        throw new Error(msg)
        ^

Error: unable to extract version info!
    at Action._printErrorAndExit (/home/runner/work/_actions/rohith/publish-nuget/v2/index.js:23:15)
    at Action.run (/home/runner/work/_actions/rohith/publish-nuget/v2/index.js:[13](https://github.com/VAllens/Obfuscation.Fody/runs/5226187309?check_suite_focus=true#step:9:13)4:22)
    at Object.<anonymous> (/home/runner/work/_actions/rohith/publish-nuget/v2/index.js:[14](https://github.com/VAllens/Obfuscation.Fody/runs/5226187309?check_suite_focus=true#step:9:14)5:14)
    at Module._compile (internal/modules/cjs/loader.js:959:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
    at Module.load (internal/modules/cjs/loader.js:8[15](https://github.com/VAllens/Obfuscation.Fody/runs/5226187309?check_suite_focus=true#step:9:15):32)
    at Function.Module._load (internal/modules/cjs/loader.js:727:14)
    at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
    at internal/main/run_main_module.js:[17](https://github.com/VAllens/Obfuscation.Fody/runs/5226187309?check_suite_focus=true#step:9:17):11

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.