2 ms·
Yup! I looked into implementing KRF[1] with ptrace originally, but ultimately went the kernel module route for a few different reasons: 1. I was more familiar
by woodruffw 8y ago
Yup! I looked into implementing KRF[1] with ptrace originally, but ultimately went the kernel module route for a few different reasons:
1. I was more familiar with the relevant kernel APIs/techniques
2. ptrace adds a 2x (3x?) overhead to each syscall and works on inferior processes only
3. I want KRF to eventually fault ptrace(2) itself!
[1]: https://github.com/trailofbits/krf https://github.com/trailofbits/krf