{"title":"WinHeap Explorer: Efficient and Transparent Heap-Based Bug Detection in Machine Code","authors":"Maksim Shudrak","doi":"10.1109/QRS.2017.20","DOIUrl":"https://doi.org/10.1109/QRS.2017.20","url":null,"abstract":"Despite all the efforts of the research community, buffer overflows remain one of the most dangerous bugs for modern IT systems. The problem is compounded by the fact that there are many developers who do not follow the basic rules of a secure software development lifecycle, supplying proprietary vulnerable products. To address this problem, the industry has proposed a number of techniques that perform analysis at the binary level. While most of them focus on problems that lead a program to crash or exception, there is a large class of more complex bugs that it is not possible to detect using only this criterion.In this paper we propose WinHeap Explorer, a highperformance solution for heap based bug detection in machine code using an original approach called light-weight dynamic binary instrumentation. The light-weight instrumentation is based on preliminary static analysis of code paths to highlight potentially erroneous parts, due to which we are able to decrease the overhead. Moreover, WinHeap Explorer does not change any memory allocation mechanisms, which preserves transparency of the tool towards the operating system. Our experiments have proven the ability of WinHeap Explorer to detect heapbased bugs as well as decrease runtime overhead for widely-used complex applications ranging between 24.2%-71.1% along with the same level of memory overhead in comparison with existing solutions. WinHeap Explorer is distributed under BSD license and available at [1].","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"8 10","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134191764","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Abderrahmane Benbachir, Isnaldo Francisco De Melo, M. Dagenais, Bram Adams
{"title":"Automated Performance Deviation Detection across Software Versions Releases","authors":"Abderrahmane Benbachir, Isnaldo Francisco De Melo, M. Dagenais, Bram Adams","doi":"10.1109/QRS.2017.55","DOIUrl":"https://doi.org/10.1109/QRS.2017.55","url":null,"abstract":"Performance is an important aspect and critical requirement in multi-process software architecture systems such as Google Chrome. While interacting closely with members of the Google Chrome engineering team, we observed that they face a major challenge in detecting performance deviations between releases, because of their very high release frequency and therefore limited amount of data on each. This paper describes a deep analysis on the data distributions followed by a comparative approach using median based confidence interval for software evaluation. This technique is capable of detecting performance related deviations. It is substantially different from the standard confidence interval, in that it can be used in the presence of outliers and random external influences since the median is less influenced by them. We conducted a bottom-up analysis, using stack traces in a very large pool of releases. The results show that our approach can accurately localize performance deviations at a function-level granularity, using a very small number of trace samples, nearby 5 runs.","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"81 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133983507","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Assessing the Quality of Tabular State Machines through Metrics","authors":"Ammar Osaiweran, Jelena Marincic, J. F. Groote","doi":"10.1109/QRS.2017.52","DOIUrl":"https://doi.org/10.1109/QRS.2017.52","url":null,"abstract":"Software metrics are widely used to measure the quality of software and to give an early indication of the efficiency of the development process in industry. There are many well-established frameworks for measuring the quality of source code through metrics, but limited attention has been paid to the quality of software models. In this article, we evaluate the quality of state machine models specified using the Analytical Software Design (ASD) tooling. We discuss how we applied a number of metrics to ASD models in an industrial setting and report about results and lessons learned while collecting these metrics. Furthermore, we recommend some quality limits for each metric and validate them on models developed in a number of industrial projects.","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132822408","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Statement-Oriented Mutant Reduction Strategy for Mutation Based Fault Localization","authors":"Yong Liu, Zheng Li, Linxin Wang, Zhiwen Hu, Ruilian Zhao","doi":"10.1109/QRS.2017.23","DOIUrl":"https://doi.org/10.1109/QRS.2017.23","url":null,"abstract":"Mutation Based Fault Localization(MBFL) is a fault localization technique based on mutation analysis, which precisely identifies the location of fault but incurs a high execution cost, since it needs to execute the test suite on a large amount of mutants. Reduction strategies proposed are usually regarding selecting mutation operators or sampling mutants directly, meanwhile at the cost of losing precision of fault localization. This paper proposes a Statement-Oriented Mutant Reduction strategy (SOME), which selects a proportion of mutants at the statement level, specifically, the statements covered by failed tests. SOME keeps the advantage of using whole types of mutation operators, and further considers the increase of mutants' diversity to avoid the precision loss of fault localization. Empirical studies are conducted on 112 faulty versions from 7 benchmark programs, and the results indicate that SOME can reduce 73.51%–79.98% mutation execution cost while keeping almost the same fault location precision as the original MBFL without reduction.","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"618 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116179798","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Access Control in Water Distribution Networks: A Case Study","authors":"Sridhar Adepu, Gyanendra Mishra, A. Mathur","doi":"10.1109/QRS.2017.58","DOIUrl":"https://doi.org/10.1109/QRS.2017.58","url":null,"abstract":"Industrial control systems (ICS) include devices, systems, networks and controls to operate industrial processes. ICS are found in many critical infrastructure systems such as transportation, energy and water processing. Given the wide proliferation of ICS, there is a heightened risk of cyber attacks on such infrastructure. It is well known that many such ICS lack appropriate access control, and there are guidelines on what such controls should be. However, there is a lack of case studies that point to specific access control shortfalls in real systems, relate such shortfalls to how an ICS could be compromised, and propose enhancements. This paper reports one such case study conducted on a water distribution plant built by professionals, and to professional standards. The study points to specific instances of inadequacy of access control in such systems that allow malicious entities to compromise system security. At the end of the study a comparison is presented between NIST Guidelines and the state of the water distribution system.","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"183 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131529654","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Using Off-the-Shelf Exception Support Components in C++ Verification","authors":"V. Still, Petr Ročkai, J. Barnat","doi":"10.1109/QRS.2017.15","DOIUrl":"https://doi.org/10.1109/QRS.2017.15","url":null,"abstract":"An important step toward adoption of formal methods in software development is support for mainstream programming languages. Unfortunately, these languages are often rather complex and come with substantial standard libraries. However, by choosing a suitable intermediate language, most of the complexity can be delegated to existing execution-oriented (as opposed to verification-oriented) compiler frontends and standard library implementations. In this paper, we describe how support for C++ exceptions can take advantage of the same principle. Our work is based on DiVM, an LLVM-derived, verification-friendly intermediate language.Our implementation consists of 2 parts: an implementation of the 'libunwind' platform API which is linked to the program under test and consists of 9 C functions. The other part is a preprocessor for LLVM bitcode which prepares exception-related metadata and replaces associated special-purpose LLVM instructions.","PeriodicalId":225976,"journal":{"name":"2017 IEEE International Conference on Software Quality, Reliability and Security (QRS)","volume":"106 2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2017-03-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131346865","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}