- 5
- 0
- 约1.93万字
- 约 44页
- 2017-03-09 发布于上海
- 举报
The Interface Definition Language for FailSafe C不安全的接口定义语言
International Symposium on Software Security The Interface Definition Language for Fail-Safe C Kohei Suenaga, Yutaka Oiwa, Eijiro Sumii, Akinori Yonezawa University of Tokyko In this presentation… We introduce the IDL for Fail-Safe C With our IDL, we can… Easily generate wrappers for external functions Safely interface Fail-Safe C with external functions Our approach can be used to other safe languages Background Fail-Safe C Safe implementation of C Translates C sources to fail-safe ones Inserts safety checks such as boundary checks Ensures safety focusing on types of objects Prevents programs from performing unsafe operations Problems of Fail-Safe C Cooperation with external functions Data representation problem Fail-Safe C uses its original data representation? Cannot call external functions directly Safety problem Many external functions require preconditions for safety Solution To prepare a wrapper for each function Checks preconditions, converts representation, … Approach Interface Definition Language (IDL) Describe preconditions and behavior of external functions with the IDL Outline of the Presentation Safety Fail-Safe C and our IDL guarantees Internal data representation of Fail-Safe C Wrappers’ behavior Experiment Related work Future work The Safety Fail-Safe C Guarantees If a program attempts to perform undefined behavior, Fail-Safe C aborts the program before the operation is performed The Safety Fail-Safe C Guarantees void strcpy(char *s1, char *s2) {while (*s1++ = *s2++) ; } The Safety Fail-Safe C Guarantees void strcpy(char *s1, char *s2) {while (*s1++ = *s2++) ; } The Safety Fail-Safe C Guarantees (again) If a program attempts to perform undefined behavior, Fail-Safe C aborts the program before the operation is performed The Safety our IDL Guarantees Two assumptions Fail-Safe C does not contain bugs The safety of Fail-Safe C does hold just before wrappers are called Interface definitions correctly reflect the implementation of external function
您可能关注的文档
- The Greek Revolution The Greek War of Independence 希腊革命的希腊独立战争.ppt
- The Greek Philosophy Socrates, Plato, and Aristotle希腊哲学苏格拉底柏拉图亚里士多德.ppt
- The Greek Theater希腊剧院.ppt
- The Goal Chapters 112 Mercer University目标章112 默瑟大学.ppt
- The Green Revolution teacher web“绿色革命”教师网络.ppt
- The Green Globe Standard绿色地球仪标准.ppt
- The Greenhouse Effect Doleweb温室效应 doleweb.ppt
- The greenhouse effect Einaudi LAMEZIA温室效应 Einaudi拉默齐亚.ppt
- The Greek Tragities Carl Schurz High School希腊tragities 舒尔茨高中.ppt
- The Greenhouse effect Gallaudet University加劳德特大学的温室效应.ppt
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
最近下载
- 原调正谱G小小蝴蝶la farfalletta钢琴伴奏高清打印版.pdf VIP
- 上海大学2024-2025学年第1学期《高等数学(上)》期末考试试卷(B卷)附参考答案.pdf
- 广发证券-交通银行-601328-零售转型提速,定增落地夯实资本根基.pdf
- 上海大学2024-2025学年第1学期《高等数学(上)》期末考试试卷(A卷)附参考答案.pdf
- 循环系统护理小讲课.pptx
- 建筑屋面西瓦专项施工方案(范本).doc VIP
- 2024年山东铝业职业学院单招综合素质考试题库及答案1套.docx VIP
- 探究TIPS术后支架堵塞的影响因素及抗凝治疗的必要性:基于多维度分析与临床实践.docx
- 成品仓库出货明细表.pdf VIP
- 贵州省黔西南州2025年中考数学试卷及答案.pdf VIP
原创力文档

文档评论(0)