Added memory address patching

This commit is contained in:
Eduard Urbach 2023-10-29 12:24:40 +01:00
parent 6f097c9eee
commit 23e8b67e88
Signed by: eduard
GPG key ID: 49226B848C78F6C8
9 changed files with 98 additions and 35 deletions

View file

@ -5,6 +5,7 @@ type Mnemonic uint8
const (
NONE Mnemonic = iota
MOV
MOVDATA
SYSCALL
)
@ -13,6 +14,9 @@ func (m Mnemonic) String() string {
case MOV:
return "mov"
case MOVDATA:
return "mov"
case SYSCALL:
return "syscall"
}