The application belongs to the technical field of
software management, and particularly relates to a cross-platform
repair method and
system based on a large
language model, which comprises the following steps: a cross-platform
package manager interface is used to perform
static analysis on a dependency
list of a target
software project, so as to obtain a cross-platform
dependency tree; based on the cross-platform
dependency tree, lightweight monitoring probes are injected into at least two
operating system platforms, respectively, so as to collect dynamic
tracking data of each dependent component in the
dependency tree; and the dependency tree and the dynamic
tracking data are fused to establish a cross-platform security graph containing dependent call edges, version conflict edges and platform
vulnerability association edges; by injecting lightweight monitoring probes into multiple
operating system platforms, the application dynamically collects the loading sequence, function call sequence and memory
layout difference of the dependent components, and combines the static dependency tree to construct a cross-platform security graph, so that platform-specific security risks can be accurately identified, and the comprehensiveness and accuracy of cross-platform risk
perception are significantly improved.