{"title":"A Novel Data-Driven Approach for Generating Verified Loop Invariants *","authors":"Hong Lu, Jiacheng Gui, Chengyi Wang, Hao Huang","doi":"10.1109/TASE49443.2020.00011","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00011","url":null,"abstract":"Inspired by the procedure that experts construct loop invariants, we propose a novel data-driven approach to generate verified loop invariants automatically. The approach consists of the prediction phase and the evaluation phase. The prediction phase aims to generate candidate loop invariants automatically by solving polynomial equations and synthesizing the extended loop conditions. The evaluation phase aims to generate verified loop invariants that can be utilized to prove the correctness of program postconditions. The spurious candidate invariants are first pruned out using the method of predicate abstraction. Then, the redundant relations are removed from the candidate invariants using an Satisfiability Modulo Theories (SMT) solver. The proposed approach is compared with state-of-the-art methods on 32 benchmarks collected by the recent papers. The experimental results demonstrate that the novel data-driven approach generates 29 verified loop invariants successfully. The proposed approach is efficient at discovering verified loop invariants automatically for executable loop programs. Meanwhile, compared with other methods of generating loop invariants, the proposed approach not only costs less time to generate invariants, but also generates invariants with better quality.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"470 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":"122893336","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}
Z. Wang, Xiaoning Han, W. Kong, Yong Piao, Gang Hou, Masahiko Watanabe, Akira Fukuda
{"title":"A Multi-Strategy Combination Framework for Android Malware Detection Based on Various Features","authors":"Z. Wang, Xiaoning Han, W. Kong, Yong Piao, Gang Hou, Masahiko Watanabe, Akira Fukuda","doi":"10.1109/TASE49443.2020.00034","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00034","url":null,"abstract":"With the increasing popularity of smartphones, the mobile security issues have become serious, and more and more malware has been found. Android applications are often used to handle sensitive information, thus they have become the main targets of malware attacks. In order to efficiently detect Android malware, in this paper, we present a multi-strategy combination framework. We use five types of static features to characterize Android applications from multiple aspects. To improve the classification accuracy and reduce the overfitting of the framework, we use three filter-based feature selection methods to identify the most informative top-k features. Then we input the applications represented by the feature subsets into five classification algorithms to build classifiers. Finally, we predict the classification results by hard voting or soft voting. We have performed many experiments in a well-marked dataset consisting of 41,155 samples. The experimental results show that our approach can achieve over 98% in accuracy, precision, recall and F-score. Compared with other existing methods, our approach has the best malware detection rate of 98.75%.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"64 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":"114822631","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}
Gaigai Tang, Lianxiao Meng, Huiqiang Wang, Shuangyin Ren, Qiang Wang, Lin Yang, Weipeng Cao
{"title":"A Comparative Study of Neural Network Techniques for Automatic Software Vulnerability Detection","authors":"Gaigai Tang, Lianxiao Meng, Huiqiang Wang, Shuangyin Ren, Qiang Wang, Lin Yang, Weipeng Cao","doi":"10.1109/TASE49443.2020.00010","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00010","url":null,"abstract":"Software vulnerabilities are usually caused by design flaws or implementation errors, which could be exploited to cause damage to the security of the system. At present, the most commonly used method for detecting software vulnerabilities is static analysis. Most of the related technologies work based on rules or code similarity (source code level) and rely on manually defined vulnerability features. However, these rules and vulnerability features are difficult to be defined and designed accurately, which makes static analysis face many challenges in practical applications. To alleviate this problem, some researchers have proposed to use neural networks that have the ability of automatic feature extraction to improve the intelligence of detection. However, there are many types of neural networks, and different data preprocessing methods will have a significant impact on model performance. It is a great challenge for engineers and researchers to choose a proper neural network and data preprocessing method for a given problem. To solve this problem, we have conducted extensive experiments to test the performance of the two most typical neural networks (i.e., Bi-LSTM and RVFL) with the two most classical data preprocessing methods (i.e., the vector representation and the program symbolization methods) on software vulnerability detection problems and obtained a series of interesting research conclusions, which can provide valuable guidelines for researchers and engineers. Specifically, we found that 1) the training speed of RVFL is always faster than Bi-LSTM, but the prediction accuracy of Bi-LSTM model is higher than RVFL; 2) using doc2vec for vector representation can make the model have faster training speed and generalization ability than using word2vec; and 3) multi-level symbolization is helpful to improve the precision of neural network models.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"51 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":"123887163","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":"[Copyright notice]","authors":"","doi":"10.1109/tase49443.2020.00003","DOIUrl":"https://doi.org/10.1109/tase49443.2020.00003","url":null,"abstract":"","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"40 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":"128382540","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":"Metamorphic Testing of Code Search Engines","authors":"Zuohua Ding, Qingfen Zhang, Mingyue Jiang","doi":"10.1109/TASE49443.2020.00032","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00032","url":null,"abstract":"Code search engines are widely used by software developers. However, due to the huge amount of data being processed as well as the lack of complete specifications, the testing of code search engines faces the oracle problem. Metamorphic testing (MT) is a well-known testing technique that is effective for alleviating the oracle problem. In this paper, we propose to apply MT to test code search engines. We first identify five metamorphic relations (MRs) by considering the characteristics of code search engines. Four MRs are defined based on the partial specifications of code search engines and thus are used for the purpose of verification, and the one MR identified from the users' perspective can be used to conduct validation. The approach is evaluated by conducting a series of experiments involving four popular code search engines (namely, Krugle, searchcode, sourcegraph and Zoekt), and one well-known code repository (namely, GitHub) that provides the code search services. The experimental results show that the abnormal behaviors of Krugle, searchcode, GitHub, and Zoekt have been successfully detected. By further inspecting the root causes of these abnormal behaviors, three critical issues related with the code search engines under investigation are identified and reported. These results demonstrate the effectiveness of our approach, and are also helpful for the users and developers to gain a deeper understanding about the code search engines.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"124 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":"125829658","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}
Liu Yang, Li Wang, Zhi-gang Hu, Yanwen Wang, J. Long
{"title":"Automatic Tagging for Open Source Software by Utilizing Package Dependency Information","authors":"Liu Yang, Li Wang, Zhi-gang Hu, Yanwen Wang, J. Long","doi":"10.1109/TASE49443.2020.00027","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00027","url":null,"abstract":"The tags of open-source software (OSS) are important for managing and retrieving a massive amount of OSS in the OSS community, untagged OSS makes managing and retrieving OSS on GitHub difficult. However, developers sometimes neglect to write tag for repositories. For example, in our collected dataset with over 43K GitHub repositories, more than 32 % of the repository are unlabeled. To alleviate this problem, we propose an approach to automatically generate repository tag based on a neural network and LDA by utilizing package dependencies and readme among OSS in communities. We design an algorithm for extracting the tag features of dependent OSS packages and build dependent feature vectors for OSS. We then combine the vectors with topic of OSS readme file as input to train the neural network and obtain the tag distribution probability of OSS, and subsequently, recommend tags for OSS. Experiments are performed on the OSS dataset that we collected from GitHub, over 43K repositories and evaluate our approach on this dataset. Experiment results show that DepTagRec performs better than other methods in terms of precision and recall, particularly on recall when recommending the top 10 tags for OSS.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"67 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":"114383498","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":"Droidlens: Robust and Fine-Grained Detection for Android Code Smells","authors":"Chen-Guang Mao, Hao Wang, Gao-Jie Han, Xiaofang Zhang","doi":"10.1109/TASE49443.2020.00030","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00030","url":null,"abstract":"With rapid changes and rich context of user requirements, mobile applications are becoming complex software systems. Frequent iterations and mazy implementations of software functions lead Android developers to make poor design choices, called Android Code Smells. Past researches have shown that they have negative impacts on Android applications including performance, security, etc. Therefore, the automated detection of Android code smells is indispensable to help alleviate the workload of software maintainers and developers. There are already two automated detection tools, aDoctor and Paprika. However, they both have shortcomings in detecting granularity and accuracy. In this paper, we present a novel approach, called Droidlens, realizing the analysis, detection, location and refactoring of Android code smells. We also make an empirical study focusing on the performance of Droidlens, aDoctor and Paprika. The empirical result shows that Droidlens realizes the detection for 18 Android code smells. Moreover, compared to existing tools, our Droidlens can provide robust and fine-grained detection, which contributes to software refactoring and maintenance.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"3 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":"126089790","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":"The Scheme of Security Requirement Acquisition Based on Knowledge Graph","authors":"Yu Zhang, Xiaohong Li","doi":"10.1109/TASE49443.2020.00038","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00038","url":null,"abstract":"Specifying security requirements (SR) during the requirement analysis phase is essential for enhancing system quality, especially for security-critical software systems. However, it is difficult and complex to analyze SRs in detail according to ISO/IEC 15408 (known as Common Criteria). In this paper, we propose a SR acquisition scheme based on knowledge graph (KG). In this scheme, some security concepts such as Security Threat, Organizational Security Policy (OSP), Security Objective, Evaluation Assurance Level (EAL), SR and their relationships are all represented in the KG. SRs can be acquired through knowledge reasoning after embedding KG into low dimensional space and training by using TransE model. To evaluate the KG-based scheme, our experiments are performed on certified Security Target (ST) documents provided by Common Criteria (CC). Experimental results show that more accurate SRs can be acquired through KG reasoning.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"11 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":"124187401","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}
Liu Yang, Zhou Chen, Yiqing Feng, Zhifang Liao, Zhi-gang Hu, J. Long
{"title":"WLeidenRDF: RDF Data Query Method based on Semantic-Enhanced Graph-Clustering Algorithm","authors":"Liu Yang, Zhou Chen, Yiqing Feng, Zhifang Liao, Zhi-gang Hu, J. Long","doi":"10.1109/TASE49443.2020.00014","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00014","url":null,"abstract":"Graph-clustering algorithms are designed to split large-scale Resource Description Framework (RDF) graphs into subgraphs to improve RDF query performance. However, triple semantics and graph structures embedded in RDF graphs are often ignored during the RDF graph partition. Accordingly, this study utilizes the Leiden algorithm for uncovering community structure to cluster RDF graphs. We propose an optimized WLeidenRDF algorithm to uncover RDF communities and cluster vertex with strong semantics. Different weights are set to predicates in RDF triples to identify semantic-relevance degree and ensure semantic connections after RDF clustering and segmentation. The experiments on WatDiv data sets demonstrate that our WLeidenRDF algorithm obtains better partitions in accordance with modularity than those of the Leiden algorithm. We implement our algorithm on Presto distributed SQL query engine. Experimental results indicate that our algorithm can substantially reduce query time by clustering RDF graphs than with other RDF query methods.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"205 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":"122513189","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":"Tracking a Ground Moving Target with UAV Based on Interval Type-2 Fuzzy Logic","authors":"Yao Li, Wenbing Tang, Bochen Chen, Zuohua Ding","doi":"10.1109/TASE49443.2020.00018","DOIUrl":"https://doi.org/10.1109/TASE49443.2020.00018","url":null,"abstract":"In recent years, tracking a ground moving target with an unmanned aerial vehicle (UAV) has played a key role in navigation, military reconnaissance, field rescue, and traffic monitoring tasks. However, due to the maneuvering uncertainty of the moving target and various uncertainties in the complex environment, it has brought many difficulties to the tracking task. In this paper, aiming at addressing the various uncertainties in the process of target tracking with UAV, we present a control strategy based on interval type-2 fuzzy logic. We design two interval type-2 fuzzy controllers to control the yaw angle and speed of the UAV, respectively. Images obtained from an embedded camera on the UAV platform are visually processed by the target recognition and tracking algorithms in the early stage to detect the pixel position of the target in every frame, which is used as the input of the controller we have designed. Through the analysis of the input and output data of controllers designed by us and the analysis of the tracking error, the reliability of control strategy proposed by us is proved. At last, a series of simulation experiments are implemented in ROS to demonstrate the performance of the target-tracking strategy we proposed.","PeriodicalId":224616,"journal":{"name":"2020 International Symposium on Theoretical Aspects of Software Engineering (TASE)","volume":"3 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":"130654510","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}