Symbolic ns-3 for Efficient Exhaustive Testing: Design, Implementation, and Simulations

Jianfei Shao,Minh Vu, Mingrui Zhang,Asmita Jayswal,Lisong Xu

Workshop on ns-3 (WNS3)(2022)

引用 0|浏览11
暂无评分
摘要
Exhaustive testing is an important type of simulation, where a user exhaustively simulates a protocol for all possible cases with respect to some uncertain factors, such as all possible packet delays or headers. It is useful for completely evaluating the protocol performance, finding the worst-case performance, and detecting possible design or implementation bugs of a protocol. It is, however, time consuming to use the brute force method with current ns-3 for exhaustive testing. In this paper, we present our work on sym-ns-3 for more efficient exhaustive testing, which leverages a powerful program analysis technique called symbolic execution. Intuitively, sym-ns-3 groups all the cases leading to the same simulator execution path together as an equivalence class, and simulates a protocol only once for each equivalence class. We present our design choices and implementation details on how we extend ns-3 to support symbolic execution, and also present several exhaustive testing results to demonstrate the significantly improved testing speeds of sym-ns-3 over current ns-3.
更多
查看译文
关键词
Exhaustive testing, Symbolic execution, Packet dynamic and semantics
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要