Get the latest tech news

Better Firmware with LLVM/Clang (2020)


A community and blog for embedded software makers

We will cover how to take advantage of some of the rich features shipped with the toolchain and identify some memory leaks and mutex deadlocks in an example project at compile time! Note: While the focus of the article will be using LLVM/Clang with ARM Cortex-M embedded devices, the general overview of LLVM as well as the features leveraged can be applied to any architecture supported by the toolchain. Originally, GCC was meant to compile GNU open source software written in C. The toolchain grew organically over time to target numerous architectures and support a variety of different languages.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Firmware

Firmware

Photo of LLVM/Clang

LLVM/Clang

Photo of Better Firmware

Better Firmware

Related news:

News photo

Firmware flaw affects numerous generations of Intel CPUs — UEFI code execution vulnerability found for Intel CPUs from 14th Gen Raptor Lake to 6th Gen Skylake CPUs, and TPM will not save you

News photo

Qualcomm Cloud AI 100 "AIC100" Firmware Upstreamed

News photo

Surface Pro 11 and Surface Laptop 7 get day-one firmware with display improvements