Code Flow Protection

The goal of this protection is to " spaghettify " the code execution flow while keeping its original functionality. That means the code should execute the same original tasks and instructions while providing a numbers of new proxy flow within the method.

The new method flow is meant to prevent hackers from understanding the method flow with ease.

// RegExTester.frmMain
// Token: 0x06000033 RID: 51 RVA: 0x00003548 File Offset: 0x00002548
private void testButton_Click(object sender, EventArgs e)
{
	if (this.testButton.Text == "Test [F5]")
	{
		this.StartTest();
		return;
	}
	if (this.testButton.Text == "Stop [Esc]")
	{
		this.AbortTest();
	}
}

Last updated