The invention provides a directional fuzzy testing method and
system based on interpretable
artificial intelligence association variation and exploration and development of double-
queue circular scheduling. The objective of the invention is to solve the problems of low
test efficiency, difficulty in
vulnerability triggering and the like caused by lack of relevance between a sample and a target code, imbalance in exploration and development, insufficient model
interpretability and lack of a man-
machine cooperation mechanism in the existing directional fuzzy test technology. By introducing an interpretable
artificial intelligence (XAI) technology, explicit association between an input
byte and a target code is established, and a protected sample
mask is generated to guide accurate variation; designing a double-
queue dynamic scheduling
algorithm, and adaptively balancing
resource allocation of path exploration and target area test; according to the method, a real-time
visual interface is combined, expert experience is fused into an
automatic testing process (namely, a tester can adjust a sample
mask in real time), finally, efficient detection and accurate triggering of deep vulnerabilities in complex
software are achieved, and meanwhile
resource consumption of invalid testing is reduced.