Highlight some fun problems to solve when you converted RunSafe code from C++ to rust.

In this video, we discuss the transition of RunSafe Protect, also known as Load-time Function Randomization (LFR), from C++ to Rust. Discover how this shift has not only enhanced stability and safety but has also streamlined our codebase for improved efficiency.

Converting C++ to Rust

Embracing Rust: RunSafe Code’s Transition from C++ for Enhanced Stability and Safety

In our search for enhanced stability and safety, RunSafe Code, or Load-time Function Randomization (LFR), recently underwent a significant transition from C++ to Rust programming. We recognized the inherent advantages Rust offers over traditional C++ programming, particularly in terms of memory safety. Our transition to Rust allowed us to address critical issues surrounding memory unsafety, particularly concerning raw memory access. By leveraging Rust’s language benefits, we meticulously adjusted memory permissions and organized byte slices, ensuring safer interactions with the process’s memory space. Moreover, by sharing the same implementation across multiple phases of LFR, we’ve effectively reduced the size of our codebase while improving overall code coverage and robustness. One of the highlights of our transition was our rigorous testing methodology, where we compared Rust and C++ implementations to maintain byte-for-byte accuracy. By running both implementations in the same process and scrutinizing the entire memory space, we rapidly identified and addressed any discrepancies, ensuring a seamless transition. Embrace the future of programming languages by staying up-to-date on the newest RunSafe Security Minute. Dive deeper into our journey of transitioning RunSafe Code to Rust for enhanced stability and safety.

How RunSafe Protects VxWorks Systems from URGENT/11 Exploits

How RunSafe Protects VxWorks Systems from URGENT/11 Exploits

Stopping URGENT/11 Attacks with RunSafe Protect In this demo, we show how RunSafe Protect defends VxWorks-based embedded systems from URGENT/11 memory safety exploits. You’ll see a vulnerable system challenged by a simulated attack and then observe how RunSafe’s...

read more
RunSafe Security in 2 Minutes: Protecting Critical Software

RunSafe Security in 2 Minutes: Protecting Critical Software

Inside RunSafe: A Quick Look at Our Mission, Platform, and Impact RunSafe Security is dedicated to protecting the world’s most critical software across defense, infrastructure, automotive, and medical systems. In this video, you’ll see how our platform delivers a...

read more