Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Verifying the LLVM

Strange Loop Conference via YouTube

Overview

Limited-Time Offer: Up to 75% Off Coursera Plus!
7000+ certificate courses from Google, Microsoft, IBM, and many more.
This course aims to teach learners how to verify LLVM-based tools such as compilers, optimizers, and code instrumentation passes, especially for safety or security critical applications. The course covers understanding LLVM intermediate representation from a programming language semantics perspective and using Vellvm to develop machine-checkable formal properties about LLVM IR programs and transformation passes. The teaching method involves exploring LLVM code, including its complex aspects, and demonstrating how interactive theorem provers like Coq can be used for verification. The intended audience for this course includes individuals interested in LLVM, formal verification technologies, and compiler transformations, with no prior experience assumed.

Syllabus

Intro
Collaborators
PLAN • LLVM Intermediate Representation
LLVM Compiler Infrastructure
Other LLVM IR Features
But... it's complex
One Example: undef
Interactions with Optimizations
What's the problem?
Compiler Bugs
Deep Specifications
Inspiration: CompCert
The Vellvm Project
Vellvm Framework
LLVM IR Semantics
Writing Interpreters in Coq
Interaction Trees
LLVM Interpreter in Cog
mem2reg register promotion
Caveats
Getting started with Cog

Taught by

Strange Loop Conference

Reviews

Start your review of Verifying the LLVM

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.