feat: sheet 7 task 1 a-c

This commit is contained in:
Unbreathable
2026-06-10 14:04:35 +02:00
parent 0b2b9741d3
commit 91bd5ab2ee
7 changed files with 33 additions and 0 deletions

3
sheet07/a1/stack-b.txt Normal file
View File

@@ -0,0 +1,3 @@
I went into gdb with the file using `gdb -q assignment1b`. After doing `print success`, I found that 0x4011de is the pointer for the function.
I then created a script similar to 1d and just changed the number we inserted into the variable before into the function pointer. And that worked.