diff options
author | Timber | 2024-06-02 12:14:34 +0200 |
---|---|---|
committer | Timber | 2024-06-02 12:14:34 +0200 |
commit | 533c37a781ed474ddea28bafc047f690b56ad182 (patch) | |
tree | ef8408ffcebf7325cf4005f87ca4310631354d23 | |
parent | 1f7431be48682d8fbe3b475ad4e599f38b417994 (diff) |
Correct order
-rw-r--r-- | future-of-pwning-1.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/future-of-pwning-1.md b/future-of-pwning-1.md index f1b56e6..b3d1862 100644 --- a/future-of-pwning-1.md +++ b/future-of-pwning-1.md @@ -162,9 +162,10 @@ int8 buf[buffersize] // input buffer bss end ``` +So we can statically allocate memory in the `datap uninitialized` section. + For storing of return values we can learn (again from the examples) that it's stored in `r0`. -So we can statically allocate memory in the `datap uninitialized` section. Now by modifying the `hello.as` program it's quite straight forward to implement our solution: ```asm %buffersize = 256 |