Optimization Techniques

Eazfuscator.NET

Optimization Techniques

Merging of String Literal Duplicates

String Values
Abracadabra
Siam
Foo
Abracadabra
Foo
Bar
Original String ValuesEncrypted String Values
Abracadabra}S£tP)€_9€[]
Siam@!€NayfI*
Foo!>@"buY]
BarE)€a£J

Sealing of Terminal Classes

class Shape
{
    
}

class Circle : Shape
{
    
}

class Shape
{
    
}

sealed class Circle : Shape
{
    
}

String Compression

Code Optimizations

[Flags]
enum RunOptions
{
    None = 0x00,
    PrepareDatabase = 0x01,
    SkipPlugins = 0x02
}

class Engine
{
    public void Run(RunOptions options)
    {
        if (options.HasFlag(RunOptions.PrepareDatabase))
            InitializeDatabase();
        
    }

    
}

  public void Run(RunOptions options)
  {
      if ((options & RunOptions.PrepareDatabase) == RunOptions.PrepareDatabase)
          InitializeDatabase();
      
  }

To get information about advanced obfuscation algorithms please read the next chapter.