Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- void __cxa_finalize (void *d) {
- printf("Argument to __cxa_finalize(): %p\n", d);
- if ((long unsigned int) d == 1) { // if the argument == 1
- printf("I <3 LD_PRELOAD\n");
- }
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement