daily pastebin goal
53%
SHARE
TWEET

Untitled

a guest Dec 18th, 2018 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. __attribute__((constructor))
  4. int pre_main(void)
  5. {
  6.     printf("%s\n", __func__);
  7.     getchar();
  8.     return 0;
  9. }
  10.  
  11. __attribute__((destructor))
  12. int after_main(void)
  13. {
  14.     printf("%s\n", __func__);
  15.     return 0;
  16. }
  17.  
  18. int main(void)
  19. {
  20.     printf("%s\n", __func__);
  21.     return 0;
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top