Skip to content

Comment on Redis Hot Patchparent

Comments

Yes. But the version I have posted is not particularly useful. It only targets OSX and there are probably not many OSX machines running Redis that are directly accessible on the internet. A lot of the code in the patcher is dedicated to parsing the Macho binary so there is a bit of effort in parsing ELF instead if you wanted to port it to Linux. Also, on Linux there are some protections (https://sourceware.org/glibc/wiki/PointerEncryption) around the longjump buffer that you need to break as well if you want a patcher that won't also kill the Redis instance.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.