codea: happy addressguessing (thanks gdb)
[testub10.git] / codea / lewurm_11.call
index e3d8383bd6043896be3215b07863a40c121357e4..08c981d46924916a9c37c97a42b694827fb3c42d 100644 (file)
@@ -1,4 +1,6 @@
-long w(long);
-static long s[] = {5,1,1337};
-printf("addr of s: %0p\n", s);
-RET(w(0xcafebabe) == 1337);
+long wfoo(long);
+static long s[3];
+s[0] = 5;
+s[1] = 1;
+s[2] = 1337;
+RET(wfoo(0xcafebabe) == 1337);