Binary-only bug search has already drawn a lot attentions recently, due to the increasing growth of security breaches. Most of existing work focuses on searching by checking the similarity of code snippets. It is further required to check whether the function is patched or not. Unfortunately, this is still a manual effort for all existing code search based approaches. In this paper, we propose a novel approach for automatic patch detection. we build a patch detector by learning the feature representation from the patched code in the binary format. We utilize the feature encoding technique to make the binary code trainable, and build our neural network model to learn the patch feature for increasing detection accuracy. We have implemented a prototype called PATCHDETECTOR, and systematically evaluated its performance in terms of the accuracy and efficiency by using 1,600 OpenSSL binaries of 216,000 functions. Experimental results have shown that PATCHDETECTOR can effectively detect whether the target binary function is patched or not with the detection accuracy of 92% on average.
With the development of intelligent medicine, lesion detection supported by Internet of Things (IoT), big data, and deep learning has become a hotspot. However, lesion detection technology based on deep learning requires huge amounts of high-quality medical image data, and the data from social IoT has the problems of uneven quality and lack of lesion labeling. Current studies usually ignore the unstable quality of IoT data and the interpretability of diagnostic results, resulting in deeper model layers, larger models, poor real-time performance, and lack of persuasion. To address the problems, this article first proposes a core data extraction method for multi-class lesion detection based on unlabeled medical image from social IoT. Then, we propose an ensemble algorithm based on lightweight models to improve the detection accuracy. Finally, we visualize pathological features to enhance the interpretability of core data and detection results. The experimental results show that our method can effectively extract the core data of multiple lesions from low-quality medical images and improve the accuracy of the lightweight lesion detection model as well as the interpretation of detection results.
Evidence theory is one of the main methods to realize situational awareness. In this paper, the importance of evidence is measured and modified by dissimilarity calculation, and the measured value of dissimilarity calculation is taken as the basis of dynamic combination of evidence. A situation assessment method based on dissimilarity calculation and dynamic combination of evidence is proposed. The method includes four stages: rule metrics, evidence revision, rule fusion and situation decision. Experiments show that this method can avoid the paradoxical problem in situation fusion using evidence theory, and is superior to existing typical methods in terms of efficiency and accuracy of situation assessment.