CAMP: Compiler and Allocator-based Heap Memory Protection
Zhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni, Peter Dinda, Xinyu, Xing

TL;DR
CAMP is a novel sanitizer that combines compiler instrumentation and a custom memory allocator to detect heap memory corruption efficiently, achieving high security with minimal runtime overhead.
Contribution
CAMP introduces a new heap protection approach that integrates compiler and allocator techniques, reducing overhead while improving detection capabilities.
Findings
Outperforms existing tools in detection accuracy
Reduces runtime overhead compared to prior methods
Effective on real-world applications and benchmarks
Abstract
The heap is a critical and widely used component of many applications. Due to its dynamic nature, combined with the complexity of heap management algorithms, it is also a frequent target for security exploits. To enhance the heap's security, various heap protection techniques have been introduced, but they either introduce significant runtime overhead or have limited protection. We present CAMP, a new sanitizer for detecting and capturing heap memory corruption. CAMP leverages a compiler and a customized memory allocator. The compiler adds boundary-checking and escape-tracking instructions to the target program, while the memory allocator tracks memory ranges, coordinates with the instrumentation, and neutralizes dangling pointers. With the novel error detection scheme, CAMP enables various compiler optimization strategies and thus eliminates redundant and unnecessary check…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Network Packet Processing and Optimization · Network Security and Intrusion Detection
