Towards a Hybrid Approach to Protect Against Memory Safety Vulnerabilities