Xiutai Lu, Yang Gao, Wensheng Guo, F. Zhang, Xia Yang, Jun Wan
{"title":"基于BIP框架的动态内存分配器属性形式化验证","authors":"Xiutai Lu, Yang Gao, Wensheng Guo, F. Zhang, Xia Yang, Jun Wan","doi":"10.1145/3487075.3487122","DOIUrl":null,"url":null,"abstract":"Dynamic storage allocation (DSA) algorithms play an important role in the Real-Time Operating systems (RTOSs) community. It allows the RTOS to use limited memory efficiently. To ensure the DSA properties of a dynamic memory allocator, it is important to verify the implementation of its DSA algorithms. However, most previous works ignore memory interactive behaviors and just verify individually each function involved in DSA. Our main contribution in this paper is to verify the consistency of the memory interactive properties and its implementation. For this purpose, we use the BIP (Behavior, Interaction, Priority) Framework to deal with abstract behaviors, properties, and cross references to implementation code. We chose the TLSF as a testbed for formal verification of dynamic memory allocator properties and have produced a verification of TLSF. Both the behavior operations and property requirements of the TLSF have been specified in the BIP framework and the entire verification process is automated.","PeriodicalId":354966,"journal":{"name":"Proceedings of the 5th International Conference on Computer Science and Application Engineering","volume":"2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Towards Formal Verification of Dynamic Memory Allocator Properties Using BIP Framework\",\"authors\":\"Xiutai Lu, Yang Gao, Wensheng Guo, F. Zhang, Xia Yang, Jun Wan\",\"doi\":\"10.1145/3487075.3487122\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Dynamic storage allocation (DSA) algorithms play an important role in the Real-Time Operating systems (RTOSs) community. It allows the RTOS to use limited memory efficiently. To ensure the DSA properties of a dynamic memory allocator, it is important to verify the implementation of its DSA algorithms. However, most previous works ignore memory interactive behaviors and just verify individually each function involved in DSA. Our main contribution in this paper is to verify the consistency of the memory interactive properties and its implementation. For this purpose, we use the BIP (Behavior, Interaction, Priority) Framework to deal with abstract behaviors, properties, and cross references to implementation code. We chose the TLSF as a testbed for formal verification of dynamic memory allocator properties and have produced a verification of TLSF. Both the behavior operations and property requirements of the TLSF have been specified in the BIP framework and the entire verification process is automated.\",\"PeriodicalId\":354966,\"journal\":{\"name\":\"Proceedings of the 5th International Conference on Computer Science and Application Engineering\",\"volume\":\"2 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-10-19\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 5th International Conference on Computer Science and Application Engineering\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3487075.3487122\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 5th International Conference on Computer Science and Application Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3487075.3487122","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Towards Formal Verification of Dynamic Memory Allocator Properties Using BIP Framework
Dynamic storage allocation (DSA) algorithms play an important role in the Real-Time Operating systems (RTOSs) community. It allows the RTOS to use limited memory efficiently. To ensure the DSA properties of a dynamic memory allocator, it is important to verify the implementation of its DSA algorithms. However, most previous works ignore memory interactive behaviors and just verify individually each function involved in DSA. Our main contribution in this paper is to verify the consistency of the memory interactive properties and its implementation. For this purpose, we use the BIP (Behavior, Interaction, Priority) Framework to deal with abstract behaviors, properties, and cross references to implementation code. We chose the TLSF as a testbed for formal verification of dynamic memory allocator properties and have produced a verification of TLSF. Both the behavior operations and property requirements of the TLSF have been specified in the BIP framework and the entire verification process is automated.