{"title":"Optimizing Transformations of Dynamic Languages Compiled to Intermediate Representations","authors":"Robert Husák, F. Zavoral, J. Kofroň","doi":"10.1109/TASE49443.2020.00028","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00028","url":null,"abstract":"Compiling dynamic languages to stack-based intermediate representations used in platforms such as. NET and Java proved to be useful, mainly due to the enhanced interoperability and security. To produce the best intermediate code possible, current approaches perform a detailed flow-sensitive type analysis of the original code and utilize its results to choose the most efficient operations of the target platform. As known from the traditional compilers, the standard way to further increase program performance is using a set of transformations, which increase its efficiency while preserving its semantics. However, these transformations are not directly usable in the compilers of dynamic languages, because these operate on a higher level of abstraction; moreover, dynamic languages pose specific challenges, such as those stemming from weak typing. In this paper we propose a set of transformations which fit into the architecture of a dynamic language compiler, fitting well together with the type analysis. For evaluation purposes, we implemented them to Peachpie, a compiler of PHP to. NET. Applying the transformations during compilation of WordPress resulted in improvement of 0.6 % in the generated assembly size, 1.8% in CPU time and 0.8% in memory consumption.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"119 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117170876","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":"AT-ROP: Using static analysis and binary patch technology to defend against ROP attacks based on return instruction","authors":"Shenglin Xu, Peidai Xie, Yongjun Wang","doi":"10.1109/TASE49443.2020.00036","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00036","url":null,"abstract":"Return-Oriented Programming (ROP) is one of the most common techniques to exploit software vulnerabilities. Although many solutions to defend against ROP attacks have been proposed, they still have various drawbacks, such as requiring additional information (source code, debug symbols, etc.), increasing program running cost, and causing program instability. In this paper, we propose a method: using static analysis and binary patch technology to defend against ROP attacks based on return instruction. According to this method, we implemented the AT- ROP tool in a Linux 64-bit system environment. Compared to existing tools, it clears the parameter registers when the function returns. As a result, it makes the binary to defend against ROP attacks based on return instruction without having to obtain the source code of the binary. We use the binary challenges in the CTF competition and the binary programs commonly used in the Linux environment to experiment. It turns out that AT-ROP can make the binary program have the ability to defend against ROP attacks based on return instruction with a small increase in the size of the binary program and without affecting its normal execution.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"2009 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125626724","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":"Organizing Committee TASE 2020","authors":"","doi":"10.1109/tase49443.2020.00006","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00006","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126304734","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":"Keynote Speakers TASE 2020","authors":"","doi":"10.1109/tase49443.2020.00008","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00008","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"16 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124097445","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":"Feature-oriented Design of Visual Analytics System for Interpretable Deep Learning based Intrusion Detection","authors":"Chunyuan Wu, Aijuan Qian, Xiaoju Dong, Yanling Zhang","doi":"10.1109/TASE49443.2020.00019","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00019","url":null,"abstract":"Deep Learning models have demonstrated significant performance on different tasks such as computer vision, natural language processing, etc. In recent years, these models have also achieved remarkable progress in Intrusion Detection Systems. However, the mechanism of these models is often hard to understand, especially for researchers in the domain of network security. In this paper, we propose a visual analytics system for interpretable deep learning based intrusion detection. During the design of this visual analytics system, we follow the requirements and features of explainable artificial intelligence for users in the domain of network security. The system allows users to select the best parameters to construct the model, to better understand the role of neurons in a deep learning model, to select instances and explore the detection mechanism of the model on these instances. We present multiple use cases to demonstrate the effectiveness of our system.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"20 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"122151003","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":"Sub-Reviewers TASE 2020","authors":"","doi":"10.1109/tase49443.2020.00007","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00007","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124514337","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":"Learning Probabilistic Languages by k-Testable Machines","authors":"Wenjing Chu, M. Bonsangue","doi":"10.1109/TASE49443.2020.00026","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00026","url":null,"abstract":"A k-testable machine is a finite automaton which recognizes a language L by only seeing a window of size $k$ of each string in L. In this paper we use k-testable machines to recognize probabilistic languages and propose a novel algorithm to learn them. We work in the context of passive learning as our algorithm is based on a finite sample of strings belonging to the target language equipped with frequencies. Because our algorithm learns a probabilistic automaton, the resulting language is less sensitive to noise threshold than García's algorithm. When compared with the ALERGIA learning algorithm, our method provides a better result in the case of the target language being a $k$ -testable language. In fact, in this case, for the given window $k$ we can learn at the limit the target language exactly.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"131525695","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":"An Axiomatic Approach to BigrTiMo","authors":"Wanling Xie, Huibiao Zhu, S. Qin","doi":"10.1109/TASE49443.2020.00015","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00015","url":null,"abstract":"BigrTiMo [1], a process algebra that combines the rTiMo calculus [2] and the Bigraph model [3], is capable of specifying a rich variety of properties for structure-aware mobile systems. Compared with the rTiMo model, our BigrTiMo calculus can specify not only time, mobility and the local communication (the two communication components should be at the same location), but also the remote communication (the two communication components can be at the different locations). In this paper, we present an axiomatic approach to BigrTiMo program language verification based on Hoare-style [4] proof rules. In order to describe the timing of observable actions and the state of the bigraph, we extend the assertion language with primitives. Moreover, we prove the soundness of our proof rules and show the application of the proof rules via an example.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128746209","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":"Sponsors TASE 2020","authors":"","doi":"10.1109/tase49443.2020.00009","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00009","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"100 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116994036","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":"Formalizing the Soundness of the Encoding Methods of SAT-based Model Checking","authors":"Daisuke Ishii, Saito Fujii","doi":"10.1109/TASE49443.2020.00023","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00023","url":null,"abstract":"One of the effective model checking methods is to utilize the efficient decision procedure of SAT (or SMT) solvers. In a SAT-based model checking, a system and its property are encoded into a set of logic formulas and the safety is checked based on the satisfiability of the formulas. As the encoding methods are improved and crafted (e.g., $k$ -induction and IC3/PDR), verifying their correctness becomes more important. This research aims at a formal verification of the SMC methods using the Coq proof assistant. Our contributions are twofold: (1) We specify the basic encoding methods, $k$ -induction and (a simplified version of) IC3/PDR in Coq as a set of simple and modular encoding predicates. (2) We provide a formal proof of the soundness of the encoding methods based on our formalized lemmas on state sequences and paths. The specification of the SMC methods and the soundness proofs are available at https://github.com/dsksh/coq-smc/.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"14 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2020-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"134498473","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}