diff --git a/README.md b/README.md index c369239..f771226 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,30 @@ jmp next instruction This class inherits from `obfuscate` and adds additional code, or "mutation". This class is a small example of how to use inheritance with `obfuscate` base class. It generates a stack push/pop palindrome. The state of the stack is restored before the routines actual instruction is executed. The assembly will now look like this in memory: ``` +push gp +push gp +push gp +... +pop gp +pop gp +pop gp +exec routine instruction +jmp next instruction + +push gp +push gp +push gp +push gp +push gp +... +pop gp +pop gp +pop gp +pop gp +pop gp +exec routine instruction +jmp next instruction + push gp push gp push gp