fork download
  1. #include <stdio.h>
  2.  
  3. void void_func(void);
  4.  
  5. void void_func(void){
  6. // Do nothing
  7. }
  8.  
  9. void (*shellcode())(); // -_-;
  10.  
  11. void (*shellcode())(){ // -_-;;
  12. return &void_func;
  13. }
  14.  
  15. int main(void) {
  16. (*shellcode())(); // -_-;;;
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 2164KB
stdin
Standard input is empty
stdout
Standard output is empty