Repository logo
 
Publication

Towards Certified Compilation of RTFM-core Applications

dc.contributor.authorPereira, David
dc.contributor.authorPinho, Luís Miguel
dc.contributor.authorLindgren, Per
dc.contributor.authorLindner, Marcus
dc.date.accessioned2017-02-06T15:01:57Z
dc.date.embargo2117
dc.date.issued2016
dc.descriptionWork in Progress Session, 21st International Conference on Emerging Technologies and Factory Automation (ETFA 2016). 6 to 9, Sep, 2016. Berlin, Germany.pt_PT
dc.description.abstractConcurrent programming is dominated by thread based solutions with lock based critical sections. Careful attention has to be paid to avoid race and deadlock conditions. Real-Time for The Masses (RTFM) takes an alternative language approach, introducing tasks and named critical sections (via resources) natively in the RTFM-core language. RTFM-core programs can be compiled to native C-code, and efficiently executed onto single-core platforms under the Stack Resource Policy (SRP) by the RTFM-kernel. In this paper we formally define the well-formedness criteria for SRP based resource management, and develop a certified (formally proven) implementation of the corresponding compilation from nested critical sections of the input RTFM-core program to a resulting flat sequence of primitive operations and scheduling primitives. Moreover we formalise the properties for resource ceilings under SRP and develop a certified algorithm for their computation. The feasibility of the described approach is shown through the adoption of the Why3 platform, which allows the necessary verification conditions to be automatically generated and discharged through a variety of automatic external SMT-solvers and interactive theorem provers. Moreover, Why3 supports the extraction of certified Ocaml code for proven implementations in WhyML. As a proof of concept the certified extracted development is demonstrated on an example system.pt_PT
dc.description.versioninfo:eu-repo/semantics/publishedVersionpt_PT
dc.identifier.doi10.1109/ETFA.2016.7733551pt_PT
dc.identifier.urihttp://hdl.handle.net/10400.22/9522
dc.language.isoengpt_PT
dc.publisherInstitute of Electrical and Electronics Engineerspt_PT
dc.relationEmbedded Multi-Core Systems for Mixed Criticality Applications in Dynamic and Changeable Real-Time Environments
dc.relation.ispartofseriesETFA;2016
dc.relation.publisherversionhttp://ieeexplore.ieee.org/document/7733551/pt_PT
dc.subjectConcurrency controlpt_PT
dc.subjectMulti-threadingpt_PT
dc.subjectProgram verificationpt_PT
dc.subjectResource allocationpt_PT
dc.titleTowards Certified Compilation of RTFM-core Applicationspt_PT
dc.typeconference object
dspace.entity.typePublication
oaire.awardTitleEmbedded Multi-Core Systems for Mixed Criticality Applications in Dynamic and Changeable Real-Time Environments
oaire.awardURIinfo:eu-repo/grantAgreement/EC/FP7/621429/EU
oaire.citation.conferencePlace6 to 9, Sep, 2016. Berlin, Germanypt_PT
oaire.citation.title21st International Conference on Emerging Technologies and Factory Automationpt_PT
oaire.fundingStreamFP7
person.familyNamePinho
person.givenNameLuis Miguel
person.identifier.ciencia-id8112-2108-F3B2
person.identifier.orcid0000-0001-6888-1340
person.identifier.ridM-3416-2013
person.identifier.scopus-author-id6602594556
project.funder.identifierhttp://doi.org/10.13039/501100008530
project.funder.nameEuropean Commission
rcaap.rightsclosedAccesspt_PT
rcaap.typeconferenceObjectpt_PT
relation.isAuthorOfPublicationfd791145-af93-47d9-bbe8-647a326d2f39
relation.isAuthorOfPublication.latestForDiscoveryfd791145-af93-47d9-bbe8-647a326d2f39
relation.isProjectOfPublicationc05ca6d0-eb47-46e6-93ae-3218a8c9ee48
relation.isProjectOfPublication.latestForDiscoveryc05ca6d0-eb47-46e6-93ae-3218a8c9ee48

Files

Original bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
COM_CISTER_ETFA_2016.pdf
Size:
201.91 KB
Format:
Adobe Portable Document Format
License bundle
Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: