NUST Institutional Repository

Automatic Translation from a Subset of C Language to XML supported by UPPAAL

Show simple item record

dc.contributor.author Rastee, Iqra
dc.date.accessioned 2023-07-25T10:39:45Z
dc.date.available 2023-07-25T10:39:45Z
dc.date.issued 2019
dc.identifier.other 119293
dc.identifier.uri http://10.250.8.41:8080/xmlui/handle/123456789/35098
dc.description Supervisor: Dr. Osman Hassan en_US
dc.description.abstract C language is commonly used to develop embedded systems that are often being used in domains that have critical safety requirements, like transportation and medicine. These systems require rigorous analysis to ensure safety and proper functioning of the system due to their safety critical nature. The commonly used testing and simulation techniques don’t have the ability to ensure completeness and soundness of the system. Formal verification has been advocated as the sole analysis technique that allows a rigorous and sound analysis. However, it involves the development of the formal model of the given code, which is not a very straightforward task. Modeling lines and lines of code to formal models is a very tiresome process which is also very time consuming and owing to the ever changing nature of code it can become even more troublesome. The Quality assurance teams tend to avoid formal verification techniques due to the raised level of difficulty. This thesis propose a system that can aid the Quality assurance teams in formally verifying codes by automatically generating the formal model acceptable by UPPAAL model checker, thus reducing the level of difficulty, time consumed and effort applied to formally model a given code. The proposed approach accepts a C code file, which conforms to a predefined subset, as an input and returns the corresponding Extensible Markup Lan guage (XML) file that is acceptable to UPPAAL. The main steps involved in this process include parsing the C code and creating a Directed graph of the code, where the graph contains all the data regarding the states of the corresponding automata and its transition conditions. This graph is parsed again and translated to XML acceptable the model checker (UPPAAL). For illustration, the verification of a simple automatic cooling system is presented in this thesis en_US
dc.language.iso en en_US
dc.publisher School of Electrical Engineering and Computer Science (SEECS), NUST en_US
dc.title Automatic Translation from a Subset of C Language to XML supported by UPPAAL en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

  • MS [147]

Show simple item record

Search DSpace


Advanced Search

Browse

My Account