Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. void __cxa_finalize (void *d) {
  5. printf("Argument to __cxa_finalize(): %p\n", d);
  6. if ((long unsigned int) d == 1) { // if the argument == 1
  7. printf("I <3 LD_PRELOAD\n");
  8. }
  9. return;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement