A fork of subhook that patches code
by writing through /proc/self/mem instead of touching memory
directly, so it can install hooks into pages you don't have direct
write access to without relying on mprotect.
BSD 2-Clause, same as upstream subhook. See LICENSE. Original work Copyright (c) 2012-2014 Zeex. Modifications Copyright (c) 2026 3443e.