A Study of Learning Data Structure Invariants Using Off-the-shelf Tools

Author(s):  
Muhammad Usman ◽  
Wenxi Wang ◽  
Kaiyuan Wang ◽  
Cagdas Yelen ◽  
Nima Dini ◽  
...  
Keyword(s):  
2019 ◽  
Vol 20 (3) ◽  
pp. 193-204
Author(s):  
Rossevine Artha Nathasya ◽  
Oscar Karnalim ◽  
Mewati Ayub
Keyword(s):  

2012 ◽  
Vol 193 ◽  
pp. 22-35
Author(s):  
J.J. del Coz ◽  
J. Díez ◽  
A. Bahamonde ◽  
F. Goyache

10.29007/dhpw ◽  
2020 ◽  
Author(s):  
Jan H. Boockmann ◽  
Gerald Luettgen

This paper presents a novel algorithm for automatically learning recursive shape pred- icates from memory graphs, so as to formally describe the pointer-based data structures contained in a program. These predicates are expressed in separation logic and can be used, e.g., to construct efficient secure wrappers that validate the shape of data structures exchanged between trust boundaries at runtime. Our approach first decomposes memory graph(s) into sub-graphs, each of which exhibits a single data structure, and generates candidate shape predicates of increasing complexity, which are expressed as rule sets in Prolog. Under separation logic semantics, a meta-interpreter then performs a systematic search for a subset of rules that form a shape predicate that non-trivially and concisely captures the data structure. Our algorithm is implemented in the prototype tool ShaPE and evaluated on examples from the real-world and the literature. It is shown that our approach indeed learns concise predicates for many standard data structures and their implementation variations, and thus alleviates software engineers from what has been a time-consuming manual task.


Author(s):  
Weihai Sun ◽  
Lemei Han

Machine fault detection has great practical significance. Compared with the detection method that requires external sensors, the detection of machine fault by sound signal does not need to destroy its structure. The current popular audio-based fault detection often needs a lot of learning data and complex learning process, and needs the support of known fault database. The fault detection method based on audio proposed in this paper only needs to ensure that the machine works normally in the first second. Through the correlation coefficient calculation, energy analysis, EMD and other methods to carry out time-frequency analysis of the subsequent collected sound signals, we can detect whether the machine has fault.


Sign in / Sign up

Export Citation Format

Share Document