The invention relates to the technical field of
software testing, discloses a fuzzy testing method for an
operating system kernel, and solves the problem that effective isolation of a test and efficient recognition and
verification of vulnerabilities are difficult to ensure when an existing fuzzy testing method for the
operating system kernel is implemented in a
virtualization environment. According to the method, improvement is carried out according to the problem that
hypervisor and fuzzy testing are not combined at present, a
Hypervisor technology and an N-prediction model are combined, the purpose of improving
safety testing of a Guest
OS kernel is achieved, parallel management is carried out on a plurality of Guest OS instances through a
Hypervisor layer, the
generation process of a
test case is optimized through the N-prediction model, and therefore the
safety testing efficiency of the Guest
OS kernel is improved. The N-prediction model predicts the next
system call by considering the historical
system call sequence on the basis of Markov
hypothesis, so that the
test case with more trigger vulnerabilities is generated, the fuzzy
test efficiency is improved, the unknown
vulnerability can be found according to different fuzzy test results of guest
os kernel, and the safety and reliability are improved.