Unlock instant, AI-driven research and patent intelligence for your innovation.

Test method, device, computer equipment and storage medium for vehicle CAN bus

A CAN bus and testing method technology, applied in bus network, data exchange through path configuration, digital transmission system, etc., can solve the problems of clang compiler loading after compiling, inapplicable CAN bus fuzzing test, and the program cannot run. , to achieve the effect of improving efficiency and increasing coverage

Active Publication Date: 2021-05-28
APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the programs in the vehicle CAN bus usually cannot run in the pintool or qemu environment, nor can they be re-compiled by the clang compiler and then loaded into the electronic control unit to run. The traditional execution path feedback technology through code instrumentation is no longer suitable for CAN. bus fuzzing

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
  • Test method, device, computer equipment and storage medium for vehicle CAN bus
  • Test method, device, computer equipment and storage medium for vehicle CAN bus
  • Test method, device, computer equipment and storage medium for vehicle CAN bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, and are intended to explain the present application, and should not be construed as limiting the present application.

[0031] The test method, device, computer equipment and storage medium of the vehicle CAN bus in the embodiment of the present application are described below with reference to the accompanying drawings.

[0032] figure 1 It is a schematic flowchart of a test method for a vehicle CAN bus provided in the embodiment of the present application.

[0033] Based on the description of the above background technology, the existing coverage-oriented fuzz testing methods mainly increase input samples through the feedback of code cover...

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

The application proposes a test method, device, computer equipment and storage medium for a vehicle CAN bus, wherein the method includes: obtaining a target message sample from a test sample set; performing mutation processing on the target message sample to generate a target abnormal test report text; send the target abnormal test message to the target device, and receive the target response message corresponding to the target abnormal test message fed back by the target device; if the target response message is not included in the historical response message set, based on different dimensions Perform data analysis on the target response message, and input the target response message into the test sample set according to the data analysis result. Therefore, by obtaining samples covering new functions from the response message and storing them in the test sample set, each time during the fuzz testing process, the test samples are obtained from the test sample set to mutate the vehicle CAN bus to fuzz the test, increasing the vehicle CAN bus. The coverage rate of the bus fuzz test improves the efficiency of vehicle CAN bus fuzz test vulnerability mining.

Description

technical field [0001] The present application relates to the technical field of vehicle safety, in particular to a test method, device, computer equipment and storage medium of a vehicle CAN bus. Background technique [0002] Fuzz testing is an effective software vulnerability mining method applied in the Internet, and increasing test coverage is the most important means to improve the efficiency of fuzz testing. [0003] In related technologies, the method of sample execution path feedback is mainly used to increase the test coverage rate. There are two main ways to implement the existing execution path feedback technology: one is to monitor through code instrumentation, such as Google's clang compiler, It can automatically insert probe code to monitor code coverage when code is compiled, and pintool (dynamic binary instrumentation tool) can insert code in real time to monitor code execution coverage when binary code is executed; the other is to monitor through virtual exe...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26H04L12/40
CPCH04L12/40H04L43/0817H04L43/50H04L2012/40215H04L2012/40273
Inventor 曹伟
Owner APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD