VeriFi: Model-Driven Runtime Verification Framework for Wireless Protocol Implementations [article]

Jinghao Shi, Shuvendu Lahiri, Ranveer Chandra, Geoffrey Challen
2018 arXiv   pre-print
Validating wireless protocol implementations is challenging. Today's approaches require labor-intensive experimental setup and manual trace investigation, but produce poor coverage and inaccurate and irreproducible results. We present VERIFI, the first systematic sniffer-based, model-guided runtime verification framework for wireless protocol implementations. VERIFI takes a formal model of the protocol being verified as input. To achieve good coverage, it first applies state reachability
more » ... s by applying model checking techniques. It then uses a new PACKETSNIPER component to selectively trigger packet losses required to quickly investigate all reachable protocol states. Our results show that the selective packet jamming allows VERIFI to significantly improve the coverage of protocol states. Finally, VERIFI accommodates uncertainty caused by the sniffer when validating traces, allowing it to provide accurate and reproducible results. By modeling uncertainty, VERIFI highlights likely protocol violations for developers to examine.
arXiv:1808.03406v1 fatcat:huhmn4fttbdatpdvqwzbjr7s34