summaryrefslogtreecommitdiff
path: root/01
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2021-09-02 12:12:55 -0400
committerpommicket <pommicket@gmail.com>2021-09-02 12:12:55 -0400
commit447e8e2796d0361aed780ec9a391fde37f4e8422 (patch)
tree5b480760125f94982a576cca16137885e7a7e44e /01
parent336a7931494b149298ec0d215bf643c4ca07a712 (diff)
in theory all that's left for program 02 is filling in jumps
Diffstat (limited to '01')
-rw-r--r--01/README.md2
-rw-r--r--01/in004
2 files changed, 3 insertions, 3 deletions
diff --git a/01/README.md b/01/README.md
index 859996f..1fc5f8c 100644
--- a/01/README.md
+++ b/01/README.md
@@ -41,7 +41,7 @@ So, for example, the `sy` command outputs a syscall instruction. You can see
`||` is a very important command. It outputs an ELF header for our executable.
Rather than compute the correct size of the file, it just sets the "file size"
-and "memory size" members of the program header to `0x40000` (enough for a 256KB
+and "memory size" members of the program header to `0x80000` (enough for a 512KB
executable). As it turns out, Linux won't mind if the program header lies about
how much data is in the file.
diff --git a/01/in00 b/01/in00
index 6b99357..2d5488a 100644
--- a/01/in00
+++ b/01/in00
@@ -16289,6 +16289,6 @@ cc cc cc cc cc cc cc cc
00 00 00 00 00 00 00 00
00 00 40 00 00 00 00 00
00 00 00 00 00 00 00 00
-00 00 03 00 00 00 00 00
-00 00 03 00 00 00 00 00
+00 00 08 00 00 00 00 00
+00 00 08 00 00 00 00 00
00 10 00 00 00 00 00 00