Get the latest tech news

New System Auto-Converts C To Memory-Safe Rust, But There's a Catch


Researchers from Inria and Microsoft have developed a system to automatically convert specific types of C programming code into memory-safe Rust code, addressing growing cybersecurity concerns about memory vulnerabilities in software systems. The technique, detailed in a new paper, requires progra...

Researchers from Inria and Microsoft have developed a system to automatically convert specific types of C programming code into memory-safe Rust code, addressing growing cybersecurity concerns about memory vulnerabilities in software systems.The technique, detailed in a new paper, requires programmers to use a restricted version of C called "Mini-C" that excludes features like pointer arithmetic. Parts of the converted code have already been integrated into Mozilla's NSS and OpenSSH security systems, according to the researchers. Memory safety errors account for 76% of Android vulnerabilities in 2019.

Get the Android app

Or read this on Slashdot

Read more on:

Photo of Memory

Memory

Photo of catch

catch

Photo of safe rust

safe rust

Related news:

News photo

Samsung is celebrating the New Year by carving $1,200 OFF the Galaxy Z Fold 6 — so what's the catch?

News photo

Linux Context Switching Internals: Process State and Memory

News photo

Dumping Memory to Bypass BitLocker on Windows 11