Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Mirror image component analysis method and system and storage medium

An analysis method and mirroring technology, applied in reverse engineering, software maintenance/management, etc., can solve problems such as the inability to completely and accurately detect container components

Pending Publication Date: 2022-07-22
上海安势信息技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For the container, what actually needs to be obtained is the container as a whole, that is, the complete component information in a virtual environment composed of multiple components rather than the code. Using traditional SCA to analyze the container, the traditional SCA will split the container into one A single individual, and then analyze the individual, resulting in the inability to perform a complete and accurate detection of container components

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
  • Mirror image component analysis method and system and storage medium
  • Mirror image component analysis method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Attached to the following Figure 1 to Figure 2 This application will be described in further detail.

[0061] A detection method for mirrored components, see figure 1 , including the following steps:

[0062] S100. Obtain an image file.

[0063] The methods of obtaining image files include direct obtaining and indirect obtaining.

[0064] Among them, the direct acquisition method is that the user directly stores the image file that needs to be detected into the local image warehouse by uploading, dragging and other methods.

[0065] The indirect acquisition method is to obtain the image name entered by the user, and then match the pre-stored image file based on the image name.

[0066] In practice, the content input by the user is not limited to the image name, and the user can also input the image label or the image label and the image name together. However, no matter what kind of input content, the corresponding matching methods are similar. In this embodiment, o...

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 invention discloses a mirror image component analysis method and system and a storage medium, and relates to the field of software analysis, and the method comprises the following steps: obtaining a mirror image file; querying a plurality of hash values arranged in the mirror image file according to a preset sequence; matching hierarchy information of mirror image hierarchies corresponding to the hash values from the mirror image file in sequence; adding a preset script in the 0 layer; the layer 0 and other layers are mounted in a pairwise mode to form a plurality of temporary mirror images, a package manager is called through a first query script to obtain component information of a newly-added layer in the temporary mirror images, the component information is added to the newly-added layer, and the component information comprises a component name, a component license and a version; and reading the component information from the newly added layer after cancelling the hierarchical mounting. According to the method, hierarchical information is recombined into mirror images mounted pairwise, component information is obtained in an internal query mode and stored in a hierarchical directory, then the component information is obtained through external reading, and component analysis of the mirror images is achieved.

Description

technical field [0001] The present application relates to the field of software analysis, and in particular, to a method, system and storage medium for analyzing image components. Background technique [0002] Containers are a product that emerges under the development trend of the new era. Containers have the characteristics of high availability and low cost. Containers are created based on images, that is, the processes in the container depend on the files in the image. At a time when open source risks and security risks are rampant, the main risks for containers are the security risks of using third-party components and the defects of the container's own components. Therefore, the container needs to be analyzed to know its components. [0003] At present, the commonly used detection technology is sca (software component analysis). However, the detection object of sca is generally code or file, which is obtained by decompressing the code and file, and then training the o...

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 Applications(China)
IPC IPC(8): G06F8/75
CPCG06F8/75
Inventor 徐浩宇
Owner 上海安势信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products