More hygienic linking
More hygienic linking
Posted Mar 31, 2024 3:53 UTC (Sun) by danobi (subscriber, #102249)In reply to: More hygienic linking by epa
Parent article: A backdoor in xz
I was wondering that as well and tried to get ifunc to behave like that. Couldn't get it to work. But then I read https://gynvael.coldwind.pl/?lang=en&id=782 and saw this bit:
((head -c +$N > /dev/null 2>&1) && head -c +$W) > liblzma_la-crc64-fast.o
Looks like the binary payload just replaces one of the ifunc implementations at build time. At least that's my guess.
