Xz Backdoor, Cybersecurity.
-fPIC -g #include "testlib.h" extern const void * __tls_get_addr (); extern void *_GLOBAL_OFFSET_TABLE_; void *ld_base_addr = 0; void foo_1() { printf("This is foo1\n"); } void foo_2() { printf("This is foo2\n"); } void *findLdBase() { void * tls_get_addr = __tls_get_addr; void *ld_end_addr = 0;