Design of Enhanced Pointer Ownership Model for C
• Technical Report
Publisher
Software Engineering Institute
CMU/SEI Report Number
CMU/SEI-2025-TR-008DOI (Digital Object Identifier)
10.1184/R1/29971765Topic or Tag
Abstract
This report describes the design for a new temporal memory safety model for C code and an implementation to enforce it. The design improves on the CERT Pointer Ownership Model with enhancements including the use of large language models to complete a per-program model; an improved mechanism to prevent use-after-free errors, inspired by Rust’s borrow checker and object lifetimes; improved function argument handling with a new abstraction of diligent or producer arguments; handling structs, unions, or arrays that contain pointers; and correct handling of ambiguity in assignment operations. This report details the research approach and early stage results of designing this model, its extension to C’s type system, the tool design methodology, and the design and initial engineering of lightweight specification and validation tools.
Part of a Collection
Pointer Ownership Model: Temporal Memory Safety Framework for C
Cite This Technical Report
Svoboda, D., Flynn, L., Klieber, W., Martins, R., Vishnubhatla, S., & Reimer, N. (2025, September 29). Design of Enhanced Pointer Ownership Model for C. (Technical Report CMU/SEI-2025-TR-008). Retrieved December 19, 2025, from https://doi.org/10.1184/R1/29971765.
@techreport{svoboda_2025,
author={Svoboda, David and Flynn, Lori and Klieber, William and Martins, Ruben and Vishnubhatla, Sasank and Reimer, Nicholas},
title={Design of Enhanced Pointer Ownership Model for C},
month={{Sep},
year={{2025},
number={{CMU/SEI-2025-TR-008},
howpublished={Carnegie Mellon University, Software Engineering Institute's Digital Library},
url={https://doi.org/10.1184/R1/29971765},
note={Accessed: 2025-Dec-19}
}
Svoboda, David, Lori Flynn, William Klieber, Ruben Martins, Sasank Vishnubhatla, and Nicholas Reimer. "Design of Enhanced Pointer Ownership Model for C." (CMU/SEI-2025-TR-008). Carnegie Mellon University, Software Engineering Institute's Digital Library. Software Engineering Institute, September 29, 2025. https://doi.org/10.1184/R1/29971765.
D. Svoboda, L. Flynn, W. Klieber, R. Martins, S. Vishnubhatla, and N. Reimer, "Design of Enhanced Pointer Ownership Model for C," Carnegie Mellon University, Software Engineering Institute's Digital Library. Software Engineering Institute, Technical Report CMU/SEI-2025-TR-008, 29-Sep-2025 [Online]. Available: https://doi.org/10.1184/R1/29971765. [Accessed: 19-Dec-2025].
Svoboda, David, Lori Flynn, William Klieber, Ruben Martins, Sasank Vishnubhatla, and Nicholas Reimer. "Design of Enhanced Pointer Ownership Model for C." (Technical Report CMU/SEI-2025-TR-008). Carnegie Mellon University, Software Engineering Institute's Digital Library, Software Engineering Institute, 29 Sep. 2025. https://doi.org/10.1184/R1/29971765. Accessed 19 Dec. 2025.
Svoboda, David; Flynn, Lori; Klieber, William; Martins, Ruben; Vishnubhatla, Sasank; & Reimer, Nicholas. Design of Enhanced Pointer Ownership Model for C. CMU/SEI-2025-TR-008. Software Engineering Institute. 2025. https://doi.org/10.1184/R1/29971765