Embedded firmware grey box fuzzy testing method based on character right variation and virtual instrumentation
A fuzzy testing and embedded technology, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc., can solve the lack of methods for analyzing variation of embedded firmware input fields, test case generation and lack of orientation of variation , Reduce fuzz test execution efficiency and other issues, achieve the effect of improving speed and effect, reducing execution overhead, and improving efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] see figure 1 , the gray-box fuzzing method for embedded firmware based on word weight variation and virtual instrumentation technology, which is characterized by the following steps:
[0040] 1) Word weight mutation: new test cases are generated based on the field weight test case mutation strategy;
[0041] 2) Virtual instrumentation: instrumentation during embedded firmware translation to obtain code execution information of the tested embedded firmware.
[0042]Build a virtual operating environment for the embedded firmware program under test, and perform fuzzing tests based on virtual instrumentation and test case generation based on word weight variation for the embedded firmware program in the virtual operating environment, which can efficiently obtain embedded firmware code coverage information Effectively exploit vulnerabilities in embedded firmware based on
Embodiment 2
[0044] This embodiment is basically the same as Embodiment 1, and the special features are as follows:
[0045] see Figure 1 to Figure 5 , said step 1) specifically includes the following steps:
[0046] Step 1.1, collecting and screening test cases, deleting redundant test cases, scoring the remaining test cases and adding them to the test case library of the tested embedded firmware program;
[0047] Step 1.2, select a test case T from the test case library i , to judge the test case T i Whether it has been split by field, if it has been split by field, go to step 1.4;
[0048] Step 1.3, the selected test case T i Divide it into different fields according to the input format of the tested firmware program, and assign variation weights to each field;
[0049] Step 1.4, for the test case T i To score, according to the test case T i The score determined by T i The number of new test cases generated;
[0050] Step 1.5. Randomly generate a number of mutations M c ,M c...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com