The document presents 'nozzle', a runtime detection system designed to prevent heap-spraying attacks, which exploit memory corruption vulnerabilities by injecting malicious code into the heap. Nozzle conducts static analysis of heap objects to identify potential threats while maintaining a low false positive rate and an average performance overhead of less than 7%. It successfully detected all tested heap-spraying attacks, showcasing robustness against a range of exploits typically targeting web browsers.