This reverts commit 7504dd5e. In newer review feedback it was pointed out that there is a better API for this in Process::GetCodeAddressMask().