in theory all that's left for program 02 is filling in jumps
This commit is contained in:
parent
336a793149
commit
447e8e2796
5 changed files with 472 additions and 3 deletions
|
@ -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.
|
||||
|
||||
|
|
4
01/in00
4
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue