The Empire Compiler started as the compiler of the Covenant project. It has since evolved to be an integral part of the Empire framework, aiding in the dynamic compilation and obfuscation of payloads.
- .NET 10.0 SDK
- Git (with submodule support)
git submodule update --init --recursive
dotnet builddotnet testTo run a specific test profile:
dotnet test --filter "profileName=CSharpPS"Available profiles: CSharpPS, Seatbelt, Powershell-Old, Powershell-New
This project uses .editorconfig and .NET Analyzers to enforce code style and catch common issues.
To auto-fix formatting:
dotnet formatTo check formatting without modifying files (used in CI):
dotnet format --verify-no-changesJoin us in our Discord with any comments, questions, concerns, or problems!