Jump to ratings and reviews
Rate this book

Formal Verification of Machine-Code Programs

Rate this book
Formal program verification provides mathematical methods to increase the assurance of software correctness. Most approaches are either fully automatic and prove only weak properties, or, alternatively, are manual and labour-intensive; few target realistically modelled machine code. The work presented in this dissertation aims to ease the effort required in proving properties of programs on top of detailed models of machine code. The contributions are novel methods for both the verification of existing programs and for automatically constructing correct code. For verification, the problem is reduced, via fully-automatic deduction, to proving properties of recursive functions. For program construction, a compiler maps mathematical functions, via proof, down to multiple carefully modelled commercial machine languages. As a case study in combining bottom-up verification and top-down compilation, formally verified ARM, x86 and PowerPC machine code implementations of a LISP interpreter were created. The automation and proofs have been implemented in the HOL4 theorem prover using specifications of instructions based on machine-code Hoare triples derived mechanically from processor architecture models.

132 pages, Paperback

First published March 7, 2011

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (100%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Carter.
597 reviews
January 9, 2019
Interesting dissertation on the application of separation logic to machine code (specifically x85,ARM and PowerPC). There is some room for improvement in certain sections since the control flow discovery in the decompiler is done heuristically as the author himself notes. I didn't quite grasp all the details since in some cases I don't quite yet have the necessary background. Probably warrants rereading once I do pick this up.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.