An LLVM Refinement Checker and its Applications YIJI ZHANG 1 , - - PowerPoint PPT Presentation

an llvm refinement checker and its applications
SMART_READER_LITE
LIVE PREVIEW

An LLVM Refinement Checker and its Applications YIJI ZHANG 1 , - - PowerPoint PPT Presentation

An LLVM Refinement Checker and its Applications YIJI ZHANG 1 , LENORE D. ZUCK 1 , KEDAR NAMJOSHI 2 UNIVERSITY OF ILLINOIS AT CHICAGO 1 , BELL LABS 2 PRESENTER: JORDAN TORF 1 Compilers should not miscompile! What could go wrong? Compilation:


slide-1
SLIDE 1

An LLVM Refinement Checker and its Applications

YIJI ZHANG1, LENORE D. ZUCK1, KEDAR NAMJOSHI2 UNIVERSITY OF ILLINOIS AT CHICAGO1, BELL LABS 2 PRESENTER: JORDAN TORF 1

slide-2
SLIDE 2

Compilers should not miscompile!

slide-3
SLIDE 3

What could go wrong?

*IR: Intermediate Representation

source code machine code IR IR …(IR)…

Compilation: sequence of transformations

  • ur focus: optimizations
slide-4
SLIDE 4

Verifying compiler

compiler

source program target program

Examples: CompCert, Vellvm etc. Verified?

slide-5
SLIDE 5

Validating each translation

compiler

source program target program

Examples: TVI, TVOC etc. Validated?

slide-6
SLIDE 6

Translation validation by witnessing

compiler

source program target program

Witness: expected relation

Validated?

slide-7
SLIDE 7

source LLVM program Boogie Program Combiner Boogie (& Z3) refinement relation target LLVM program pre-coded source pre-coded target Smack Pre-coder Pre-coder Smack source Boogie program combined program validation result target Boogie program

slide-8
SLIDE 8

Thank you!

Any questions

Contact: Yiji Zhang, yzhan79@uic.edu

(“Sorry that I could not be there due to Visa issues L. -- Yiji”)