From b216ecfbb209d1917101f55057b96ccd82bab0a9 Mon Sep 17 00:00:00 2001 From: _xeroxz Date: Mon, 8 Mar 2021 08:07:43 +0000 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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