P4B: A Translator from P4 Programs to Boogie

被引:0
|
作者
Ye, Chong [1 ]
He, Fei [1 ]
机构
[1] Tsinghua Univ, Sch Software, Key Lab Informat Syst Secur, MoE Beijing Natl Res Ctr Informat Sci & Technol, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
Software defined networking; formal verification; P4 programming language; data plane;
D O I
10.1145/3611643.3613091
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
P4 is a mainstream language for Software Defined Network (SDN) data planes. P4 is designed to achieve target-independent, protocol-independent, and configurable SDN data planes. However, logic errors may occur in P4 programs, resulting in improper packet processing, which may cause serious network errors and information disclosure. In addition, P4 programs contain many branches and thus are more challenging to ensure correctness. Formal verification is a powerful technique to verify the correctness of P4 programs. Unfortunately, current P4 verification studies lack basic toolchains, and their intermediate languages are not expressive enough. We present P4b, an efficient translator from P4 programs to Boogie, a verification-oriented intermediate representation. We provide formal translation rules to ensure the correctness of the translation process. The translated results can be verified by the toolchain of Boogie. We conducted experiments on 170 P4 programs collected from GITHUB, and the experimental results demonstrate that our translator is useful and practical. The screencast is available at https://youtu.be/8_rEj3QFQeM. The tool is available at https://github.com/Invincibleyc/P4B-Translator.
引用
收藏
页码:2172 / 2176
页数:5
相关论文
共 50 条
  • [1] 华硕 P4B主板
    刘建云
    [J]. 电子测试, 2001, (10) : 42 - 42
  • [2] Debugging P4 programs with Vera
    Stoenescu, Radu
    Dumitrescu, Dragos
    Popovici, Matei
    Negreanu, Lorina
    Raiciu, Costin
    [J]. PROCEEDINGS OF THE 2018 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION (SIGCOMM '18), 2018, : 518 - 532
  • [3] Composing Dataplane Programs with μP4
    Soni, Hardik
    Rifai, Myriana
    Kumar, Praveen
    Doenges, Ryan
    Foster, Nate
    [J]. SIGCOMM '20: PROCEEDINGS OF THE 2020 ANNUAL CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION ON THE APPLICATIONS, TECHNOLOGIES, ARCHITECTURES, AND PROTOCOLS FOR COMPUTER COMMUNICATION, 2020, : 329 - 343
  • [4] 脑坛新救星P4B
    木子
    [J]. 电脑与电信, 2001, (12) : 66 - 67
  • [5] P4 Medicine Needs P4 Education
    Cesario, Alfredo
    Auffray, Charles
    Russo, Patrizia
    Hood, Leroy
    [J]. CURRENT PHARMACEUTICAL DESIGN, 2014, 20 (38) : 6071 - 6072
  • [6] HOMOATOMIC CLUSTERS OF THE MAIN-GROUP ELEMENTS - P4(2+), P4, P4(2-), AND P4(4-)
    WARREN, DS
    GIMARC, BM
    [J]. ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 1991, 201 : 319 - INOR
  • [7] p4pktgen: Automated Test Case Generation for P4 Programs
    Notzli, Andres
    Khan, Jehandad
    Fingerhut, Andy
    Barrett, Clark
    Athanas, Peter
    [J]. PROCEEDINGS OF THE SYMPOSIUM ON SDN RESEARCH (SOSR'18), 2018,
  • [8] P4AIG: Circuit-Level Verification of P4 programs
    Noureddine, Mohammad A.
    Hsu, Amanda
    Caesar, Matthew
    Zaraket, Fadi A.
    Sanders, William H.
    [J]. 2019 49TH ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS - SUPPLEMENTAL VOL (DSN-S), 2019, : 21 - 22
  • [9] Flightplan: Dataplane Disaggregation and Placement for P4 Programs
    Sultana, Nik
    Sonchack, John
    Giesen, Hans
    Pedisich, Isaac
    Han, Zhaoyang
    Shyamkumar, Nishanth
    Burad, Shivani
    DeHon, Andre
    Loo, Boon Thau
    [J]. PROCEEDINGS OF THE 18TH USENIX SYMPOSIUM ON NETWORKED SYSTEM DESIGN AND IMPLEMENTATION, 2021, : 571 - 592
  • [10] P4R-Type: A Verified API for P4 Control Plane Programs
    Larsen, Jens Kanstrup
    Guanciale, Roberto
    Haller, Philipp
    Scalas, Alceste
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (OOPSLA):