Supercharge Your Innovation With Domain-Expert AI Agents!

Method for constructing call chain conversion diagram and guiding generation of X.509 certificate variation

A conversion graph and call chain technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve the problems of redundant test cases, low diversity, and inability to measure the diversity of test set execution paths, etc. , to achieve the effect of improving efficiency and increasing diversity

Pending Publication Date: 2021-11-26
SHANGHAI JIAO TONG UNIV
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The cumulative coverage rate generally indicates the adequacy of the test, that is, the coverage of the statement, function, etc. of the program under test during execution, but it cannot be used to measure the diversity of the execution path of the test set in the target program
If only the sufficiency of the test case set is considered without considering its execution path in the target test program, the test effects for those test cases whose execution paths are consistent in the test program are consistent, which will lead to redundant test cases. More than that, the diversity is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for constructing call chain conversion diagram and guiding generation of X.509 certificate variation
  • Method for constructing call chain conversion diagram and guiding generation of X.509 certificate variation
  • Method for constructing call chain conversion diagram and guiding generation of X.509 certificate variation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Such as figure 2 As shown, this embodiment relates to a method for constructing a call chain conversion graph and used to guide an automatic variant of an X.509 certificate for testing. By collecting the function call chain of the initial test seed set on the target program to be tested, the intermediate file is dynamically Record the hash value of the call chain and the corresponding test case set, and map it to a node in the conversion graph, then iteratively sample in the graph, select a test case of a node in the graph, and generate a new variant test case through the variant operator. Collect its call chain update graph and test case set on the target test program.

[0019] Such as image 3 As shown, it is an example of a call chain conversion graph, wherein the call chain conversion graph is a weighted directed graph G=(V, E, W), wherein: V is a node set, and each node is mapped to a corresponding function call chain hash value, when two test cases belong to th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method for constructing a call chain conversion diagram and guiding generation of X.509 certificate variation comprises the following steps: constructing a test seed set and inputting a target test program to obtain function call chain information in dynamic execution, and mapping the function call chain information into an initial node in the call chain conversion diagram; and cyclically generating new variant test cases for the sampling nodes in the call chain conversion diagram through variant operators, and correspondingly updating the call chain conversion diagram according to the variant test cases until a target number of test cases are generated. According to the invention, the function call chain information in the test case set generation process is fully utilized, diversified test cases are effectively and quickly generated through the call chain conversion diagram, and therefore the test efficiency is improved.

Description

technical field [0001] The present invention relates to a technology in the field of software testing, specifically a technique for automatically generating variants of X.509 certificates by collecting function call chains during dynamic execution of programs to construct call chain conversion graphs, and for testing openssl and other implementations of SSL / TLS security protocol software. Background technique [0002] As a common software testing method in black box testing, fuzz testing can find potential vulnerabilities by sending unexpected test cases to the test program to observe whether the program is abnormal. Generally, there are two generation methods: one is to generate new test cases through the variant operator of the existing test cases, and the generated new test cases are called variants, which retain most of the data of the original test cases, and only part of the data After the transformation, it is different from the original. The variant operator can b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688Y02D10/00
Inventor 朱佳宇陈雨亭沈备军
Owner SHANGHAI JIAO TONG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More