aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTimber2024-06-02 12:14:34 +0200
committerTimber2024-06-02 12:14:34 +0200
commit533c37a781ed474ddea28bafc047f690b56ad182 (patch)
treeef8408ffcebf7325cf4005f87ca4310631354d23
parent1f7431be48682d8fbe3b475ad4e599f38b417994 (diff)
Correct order
-rw-r--r--future-of-pwning-1.md3
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