Afl-based fuzz testing mutation method and device
A technology of fuzz testing and mutation, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as increased resource consumption, and achieve the effects of low consumption, reduced variation, and easy implementation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
test Embodiment i
[0049] Therefore, the present invention utilizes the bitfip stage of the deterministic mutation stage to collect valid bytes. In this stage, all the bytes of the test case i are flipped one by one to generate the test case i', and if the test case i' triggers a new path, the flipped byte is considered to be a valid byte. Traditional AFL discards valid bytes after using them in the deterministic mutation stage. The additional operation required by the present invention is: to count valid bytes and maintain them in the valid byte table. In this way, valid bytes can be identified using the valid byte table during subsequent mutation operations.
[0050] However, in some special cases, the above operations will not be performed: if the input file is less than 128 bytes, all bytes are directly considered to be valid bytes. Or, when it is determined that the proportion of valid bytes in a test case exceeds a certain value (for example, 90%), then all the bytes in the test case are ...
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