diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-07-06 23:13:03 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-07-06 23:33:42 -0700 |
commit | 517a471bc0945657dc331c16d4bed74c7dc5b3b5 (patch) | |
tree | acf3d4efd4adf77994f688592e2e1f972089c4a3 /subx/ex1.1.subx | |
parent | 21b5cf52e2e31e26529d9b47fc6fafdf88a73f75 (diff) | |
download | mu-517a471bc0945657dc331c16d4bed74c7dc5b3b5.tar.gz |
4316
Second attempt at commit 4291. We'll now not copy the headers into memory, but we'll still allocate space for them. Still some security benefits, and I'm gaining confidence that I understand the ELF format.
Diffstat (limited to 'subx/ex1.1.subx')
-rw-r--r-- | subx/ex1.1.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/ex1.1.subx b/subx/ex1.1.subx index 2741213b..97e52d60 100644 --- a/subx/ex1.1.subx +++ b/subx/ex1.1.subx @@ -8,7 +8,7 @@ # instruction mod, reg, Reg/Mem bits scale, index, base # 1-3 bytes 0/1 byte 0/1 byte 0/1/2/4 bytes 0/1/2/4 bytes bb 2a 00 00 00 # copy 0x2a (42) to EBX - 05 01 00 00 00 # copy 1 to EAX + b8 01 00 00 00 # copy 1 to EAX cd 80 # int 80h # vim:ft=subx |