Patching assembly code to change the behavior of an existing program is not uncommon in malware analysis, software reverse engineering,…