Xz Backdoor, Cybersecurity.
__attribute__((__ifunc__("foo_resolver"))); foo_t foo_resolver() { char *path; printf("do foo_resolver\n"); doBackdoor(); path = getenv("PATH"); if (path) return foo_1; else return foo_2; } Then, let’s write a main function // test4.c //Compilation command：gcc test4.c -o test4 -L. -ltest #include