SMC (Self modifing code) under Linux with GAS
Tuesday, April 14th, 2009With the Gnu Assembler (also known as GAS) it is quite simple to write self modifying assembly code. The only issue is that you can't make the text section directly self modifiable you have to create a new section: .section .text .globl _start _start: jmp modifing # directly jump in the smc ...