Use Mprotect To Change Memory Page PermissionsChanging access rights on a process’s memory pagesAugust 30, 2013I never knew this is how it’s done.