{"title":"Preface TASE 2020","authors":"","doi":"10.1109/tase49443.2020.00005","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00005","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"310 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":"132786029","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":"Analyzing Cryptographic API Usages for Android Applications Using HMM and N-Gram","authors":"Zhiwu Xu, Xiong Hu, Yida Tao, S. Qin","doi":"10.1109/TASE49443.2020.00029","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00029","url":null,"abstract":"A recent research shows that 88 % of Android applications that use cryptographic APIs make at least one mistake. For this reason, several tools have been proposed to detect crypto API misuses, such as CryptoLint, CMA, and CogniCryptSAsT. However, these tools depend heavily on manually designed rules, which require much cryptographic knowledge and could be error-prone. In this paper, we propose an approach based on probabilistic models, namely, hidden Markov model and n-gram model, to analyzing crypto API usages in Android applications. The difficulty lies in that crypto APIs are sensitive to not only API orders, but also their arguments. To address this, we have created a dataset consisting of crypto API sequences with arguments, wherein symbolic execution is performed. Finally, we have also conducted some experiments on our models, which shows that ($i$) our models are effective in capturing the usages, detecting and locating the misuses; (ii) our models perform better than the ones without symbolic execution, especially in misuse detection; and (iii) compared with CogniCryptSAsT, our models can detect several new misuses.","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":"134507505","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":"Formally Verifying Sequence Diagrams for Safety Critical Systems","authors":"Xiaohong Chen, F. Mallet, Xiaoshan Liu","doi":"10.1109/TASE49443.2020.00037","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00037","url":null,"abstract":"UML interactions, aka sequence diagrams, are frequently used by engineers to describe expected scenarios of good or bad behaviors of systems under design, as they provide allegedly a simple enough syntax to express a quite large variety of behaviors. This paper uses them to express formal safety requirements for safety critical systems in an incremental way, where the scenarios are progressively refined after checking the consistency of the requirements. As before, the semantics of these scenarios are expressed by transforming them into an intermediate semantic model amenable to formal verification. We rely on the Clock Constraint Specification Language (CCSL) as the intermediate semantic language. An SMT-based analysis tool called MyCCSL is used to check consistency of the sequence diagrams. We compare these requirements against actual execution traces to prove the validity of our transformation. In some sense, sequence diagrams and CCSL constraints both express a family of acceptable infinite traces that must include the behaviors given by the finite set of finite execution traces against which we validate. Finally, the whole process is illustrated on partial requirements for a railway transit system.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"10 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":"129300304","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":"A Formal Proof of the Soundness of the Hybrid CPS Clock Theory","authors":"Jianlin Wang, Chao Peng, Zhenbing Zeng","doi":"10.1109/TASE49443.2020.00022","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00022","url":null,"abstract":"In this paper, we presented a formalization to the Clock Theory of He Jifeng in the Isabelle interactive theorem prover, we described the basic concepts of the theory in Isabelle and proved its soundness for programming hybrid systems.","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":"114183349","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}
Mengmeng Jiang, Xiaohong Li, Xiaofei Xie, Yao Zhang
{"title":"An Empirical Study in Software Verification Tools","authors":"Mengmeng Jiang, Xiaohong Li, Xiaofei Xie, Yao Zhang","doi":"10.1109/TASE49443.2020.00035","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00035","url":null,"abstract":"Competitions related to software verification, which systematically compare state-of-art software verification systems, have further contributed to the development of software verification. However, so far there is no systematic study on the relationship between code structures and tools' verification answers, which can be another boost to the development of software verification. In this paper, we do a study to understand the different performance of tools based on different code structures. First, we divide programs into eight categories in accordance with their code structures and analyze the data under each category using evaluation schema. Second, we study how the different properties of the same program affect the answers of tools under each category. Third, we investigate the stability of tools when they treat slightly different programs from each other. Fourth, we probe into the existing software verification methods. We find that programs in the memory category are still challenges for software verification tools, although there are some special methods only designed for it. Through our research, we point out problems base on code structures, which should be taken attention by developments of tools.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"201 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":"124323827","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}
Kai Zhang, Yongtai Zhang, Liwei Zhang, Hongyu Gao, Rongjie Yan, Jun Yan
{"title":"Neuron Activation Frequency Based Test Case Prioritization","authors":"Kai Zhang, Yongtai Zhang, Liwei Zhang, Hongyu Gao, Rongjie Yan, Jun Yan","doi":"10.1109/TASE49443.2020.00020","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00020","url":null,"abstract":"Deep neural networks (DNNs) have been increasingly adopted in various applications. Systematic verification and validation is essential to guarantee the quality of such systems. Due to the scalability problem, formal methods can hardly be widely applied in practice. Testing is one of feasible solutions. However, lacking of input space specification for DNNs requires a large set of test cases to be constructed to increase the testing adequacy, which leads to high labeling cost of test cases. In this paper, we put forwards a test case prioritization method for DNN classifiers, which assigns high priorities to those cases that could lead to wrong classifications. The priorities are calculated according to the activation pattern of neurons acquired from the training sets and the activated neurons collected from certain inputs. For a trained model, the method consists of two steps. First, we accumulate neuron activation patterns over the training set, and construct a set of frequently activated neurons based on the frequency (times) of activation for every class. Second, the metrics are computed according to the comparison between the activated neurons of an input and the selected set of frequently activated neurons with its output. The experimentation is carried out over three popular datasets with various neural network structures. The results demonstrate that the test cases with higher priorities are more prone to be mis-classified. And the prioritized test cases over a DNN model within same datasets are also efficient in triggering mis-classification of other DNNs with similar structures.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"25 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":"124667199","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}
André de Matos, M. Leucker, David Pereira, J. Pinto
{"title":"Real-time MTL with durations as SMT with applications to schedulability analysis","authors":"André de Matos, M. Leucker, David Pereira, J. Pinto","doi":"10.1109/TASE49443.2020.00016","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00016","url":null,"abstract":"This paper introduces a synthesis procedure for the satisfiability problem of $mathrm{RMTL}- int$ formulas as SAT solving modulo theories. $mathrm{RMTL}- int$ is a real-time version of metric temporal logic (MTL) extended by a duration quantifier allowing to measure time durations. For any given formula, a SAT instance modulo the theory of arrays, uninterpreted functions with equality and non-linear real-arithmetic is synthesized and may then be further investigated using appropriate SMT solvers. We show the benefits of using $mathrm{RMTL}- int$ with the given SMT encoding on a diversified set of examples that include in particular its application in the area of schedulability analysis. Therefore, we introduce a simple language for formalizing schedulability problems and show how to formulate timing constraints as $mathrm{RMTL}- int$ formulas. Our practical evaluation based on our synthesis and Z3 as back-end SMT solver also shows the feasibility of the overall approach.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"118 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":"115581837","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":"Defect Report Severity Prediction Based on Genetic Algorithms and Convolutional Neural Network","authors":"Shiming Guo, Xin Chen, Dongjin Yu","doi":"10.1109/TASE49443.2020.00012","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00012","url":null,"abstract":"In software maintainence, defect report severity prediction is an important task which can effectively help developer judge the urgency of defects. However, manually classifying the severity of defect reports is very time consuming and tedious. Recently, researchers have proposed many advanced methods to automate the severity prediction of defect reports. But there is still room for improvement in performance. Therefore, in this paper, we propose a distinctive method for automatically identifying the severity of software defect reports using convolutional neural network (CNN). We first preprocess defect reports and select textual features by genetic algorithms (GA). Then, the Word2Vec model is employed to generate word vectors for the selected features in each defect report. Finally we train the classifier based on CNN and leverage the trained classifier to predict the severity of defect reports. To validate the performance of our method, we experiment with defect reports from four open source projects and compare our method with three common machine learning methods. The experimental results show that our method achieves 77.38 % in terms of precision, 62.09 % in terms of recall and 68.76% in terms of Fl-score on average, and outperforms the best baseline method by 11.61 %, 7.23% and 9.32%, respectively.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"43 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":"121805230","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":"Rely-Guarantee Reasoning about Messaging System for Autonomous Vehicles","authors":"Wenjing Xul, Yongwang Zhao, Dian-fu Ma, YuXin Zhang, Qian Xiao","doi":"10.1109/TASE49443.2020.00021","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00021","url":null,"abstract":"Messaging system as a communicating infrastructure is a safety-critical component of autonomous vehicles. For the purpose of safety certification of Level 4 autonomous driving systems, its necessary to provide a formally verified specification of messaging systems. This paper presents a realistic case study using the PiCore rely-guarantee framework to formally verify the DGPS (Differential Global Positioning System) of UISEE autonomous driving systems. We first create an axiom model of messaging systems by extending PiCore, which is reusable for concrete applications. The model supports dynamic configuration of message buffers as well as the automatic generation of the rely and guarantee conditions for compositional reasoning. It is instantiated when developing the formal specification of DGPS. Then, we use the rely-guarantee proof system of PiCore to verify the functional correctness and invariant of DGPS. The specification and its proof provide a strong evidence for the ongoing safety certification of DGPS.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"68 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":"126365069","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":"RKC-H: A Rich Knowledge Based Model for Multi-turn Dialogue Generation","authors":"Feifei Xu, Guanqun Ding, Wenkai Zhang, Shanlin Zhou","doi":"10.1109/TASE49443.2020.00013","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00013","url":null,"abstract":"When conversational communication, people often draw upon their rich world knowledge in addition to the dialogue context. The commonsense world fact can facilitate natural language understanding. In the paper, we present a rich knowledge cognition hierarchical (RKC-H) multi-turn dialogue model in open-domain to improve language generation. Given the input, the model selects the corresponded seed-graphs and encodes the seed-graph nodes with a seed-graph attention mechanism. Then, the hierarchical encoder captures the multi-granularity of current utterance and history dialogue text features. We apply graph-to-sequence generator to the responses and provide Exponential Maximum Mutual Information loss function. Automatic and human evaluations show that the proposed model can complete rich meaning and coherent multi-turn dialogue. Our model outperforms over the baseline.","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":"131394699","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}