fork(1) download
  1. #include <stdio.h>
  2.  
  3. void a0() {
  4. puts("Hui sasi");
  5. }
  6.  
  7. void __attribute__ ((noinline)) r(void ***a) {
  8. a[2] = *(a[1] = (a[0] = &a) - 1);
  9. *a[1] = a0; *a[0] = a[2];
  10. }
  11.  
  12. int main() {
  13. void *a[3] = { 0xffff, 0x8048340 };
  14. r((void***)a);
  15. puts("Guboi trisi");
  16. return ((int)a[0] + (int)a[1]);
  17. }
  18.  
Runtime error #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
Hui sasi
Guboi trisi