Fuzzy test method and related device

By implementing the fuzz testing method in the system on chip, passing test requests to the BL31 firmware using REE and TEE, and generating code coverage information using the coverage application, the problem that existing tools cannot test trusted firmware is solved, and comprehensive and efficient testing of the BL31 firmware is achieved.

CN119645870APending Publication Date: 2025-03-18PHYTIUM TECH CO LTD
0 Cites 1 Cited by

Patent Information

Application Number
CN202411804026.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

Existing fuzz testing tools cannot test trusted firmware and cannot implement fuzz testing of BL31 firmware.

Method used

By implementing the fuzz testing method in a system-on-chip, using the Rich Execution Environment Subsystem (REE) and Trusted Execution Environment Subsystem (TEE), the test request is passed to the BL31 firmware through the target path, including the paths through the REE side and the TEE side, to meet the transmission needs of different test cases, and the coverage application generates code coverage information to guide the generation of test cases.

Benefits of technology

A comprehensive test of the BL31 firmware is implemented, avoiding repeated testing of the same function or the same piece of code, and improving testing efficiency.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The embodiment of the invention provides a fuzzy test method based on coverage rate for trusted firmware, and the method comprises the steps: carrying out the variation of functions and parameters based on code coverage information during the variation of a seed, and guiding the generation of a test case through the coverage rate. The situation that the same function or the same segment of code of the BL31 firmware is repeatedly tested due to the fact that the generated test cases are the same is avoided, and on the basis that comprehensive testing of the BL31 firmware is guaranteed, the testing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art