Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

249 results about "Program analysis" patented technology

In computer science, program analysis is the process of automatically analyzing the behavior of computer programs regarding a property such as correctness, robustness, safety and liveness. Program analysis focuses on two major areas: program optimization and program correctness. The first focuses on improving the program’s performance while reducing the resource usage while the latter focuses on ensuring that the program does what it is supposed to do.

Production process optimization method, system and device for automobile parts and storage medium

The invention relates to a production process optimization method, system and device for automobile parts and a storage medium, and the method comprises the steps: obtaining design parameters of an automobile brake disc, carrying out the process analysis based on the design parameters, and obtaining an initial process scheme; performing analog simulation on the initial process scheme to obtain simulation optimization parameters; actual measurement process parameters in the production process are obtained, matrix comparison analysis is conducted on the actual measurement process parameters and the simulation optimization parameters, a deviation matrix is obtained, link analysis is conducted according to the deviation matrix, and a list of links to be optimized is obtained; performing iterative simulation adjustment on the simulation optimization parameters according to the list of links to be optimized to obtain optimized process parameters; constructing a three-dimensional sample model based on the optimized process parameters, and performing quality analysis on the three-dimensional sample model to obtain a quality evaluation result; and performing scheme analysis based on the quality evaluation result in combination with the optimization process parameters to obtain a corresponding production process optimization scheme. The production efficiency and the product quality can be effectively improved.
Owner:DONGGUAN LINGJIN PRECISION MFG CO LTD

Method for converting models to programs

In variants, the method can include generating mapping model training data, determining the mapping model, and predicting a program based on a transformer. The method can optionally include evaluating the mapping model, running analyses on the program, and / or utilizing the program and / or generated program analyses. The method functions to convert transformer models into programs that can be characterized and / or analyzed using program analysis techniques.
Owner:MARTIAN LEARNING INC

Program analysis method and device, readable storage medium and electronic equipment

The invention discloses a program analysis method and device, a readable storage medium and electronic equipment. A to-be-analyzed program is determined, an abstract syntax tree of the to-be-analyzed program is determined through a compiler corresponding to a programming language used by the to-be-analyzed program, nodes in the abstract syntax tree are standardized, and a standard syntax tree is determined. And determining each control flow edge and each data flow edge in the standard syntax tree through the standard syntax tree, adding each control flow edge and each data flow edge to the standard syntax tree, and determining the code attribute graph of the program to be analyzed. The abstract syntax tree is converted into the standard syntax tree, the abstract syntax trees of the programs to be analyzed in different programming languages are unified, and the code attribute graph is constructed based on the standard syntax tree, so that the method can be suitable for program analysis of the programs to be analyzed in various programming languages; different analysis algorithms do not need to be developed for different programming languages, the program analysis efficiency is improved, and the development cost is reduced.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Intelligent re-entry vulnerability detection method based on cross-contract re-entry semantic graph

The invention provides an intelligent re-entry vulnerability detection method based on a cross-contract re-entry semantic graph. The method comprises the following steps: firstly, performing program analysis on intelligent contracts to obtain a semantic graph of each contract, analyzing a calling relationship between a calling contract and a called contract, and obtaining a cross-contract semantic graph by adding a function calling control flow between the contracts, a data flow transmitted by a function parameter, a function return value data flow and a control flow based on a fallback mechanism; then, for a fallback mechanism causing the reentry vulnerability, performing bidirectional reduction on key nodes of the reentry vulnerability, and obtaining a cross-contract reentry semantic graph by removing nodes irrelevant to the reentry vulnerability; and finally, vectorizing the cross-contract re-entry semantic graph, and inputting the cross-contract re-entry semantic graph into a sequence model to extract features so as to realize intelligent detection of re-entry vulnerabilities. By analyzing the calling relation between the contracts and performing bidirectional reduction based on a fallback mechanism, and by using a sequence model, semantic features can be extracted, so that the detection efficiency of reentry vulnerabilities is effectively improved.
Owner:NANJING TECH UNIV

Method and device for acquiring slow denial of service attack path based on Web application and medium

The invention provides a Web application-based slow denial of service attack path acquisition method and device and a medium. The method comprises the following steps of: constructing a program analysis chart of a target Web application program; extracting all program execution paths from an entry node to an exit node based on the graph; calculating the weight of the path by analyzing the key characteristics of the path, and screening candidate paths of which the weight is higher than a threshold value; and further through path state value evaluation, data flow continuity detection and type compatibility detection, finally determining a target path which may have a slow denial of service attack risk. According to the method, a potential attack path is efficiently identified through a static analysis technology, accurate positioning is provided for Web application security protection, and the risk that a system is attacked is reduced.
Owner:CIVIL AVIATION UNIV OF CHINA

LLVM-based Program Static Analysis Method and System

The present invention discloses a program static analysis method and system based on LLVM, belonging to the technical field of computer program analysis. The technical problem to be solved is that the existing program analysis technologies have low accuracy, low efficiency and limited application scope in estimating program performance characteristics and memory reuse distance distribution. The method includes: converting a source file into an LLVM IR file with source-level debugging information; traversing modules, functions, basic blocks and instructions in the LLVM IR file to obtain static trace information of a target function; constructing a basic block-level control flow graph of the LLVM IR file and annotating relevant information; identifying and annotating loop information when traversing paths to obtain an execution path with loop annotations, replacing basic blocks in the execution path with corresponding memory access information, and generating a static memory trace with loop annotations; calculating the memory access reuse distance distribution through a recursive algorithm based on the static memory trace with loop annotations.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

NFT intelligent contract vulnerability detection method based on large language agent

The invention discloses an NFT intelligent contract vulnerability detection method based on a large language agent, and relates to an NFT intelligent contract security auditing method integrating expert knowledge, a large language model and static analysis. According to the NFT intelligent contract vulnerability detection method based on the big language intelligent agent, scene attribute characteristics of vulnerabilities are mined based on the ability of the big language intelligent agent, and detection results are filtered for the second time through a program analysis technology, so that intelligence and automation of NFT intelligent contract vulnerability detection are realized, the defects of NFT intelligent contract vulnerability detection methods are overcome, and the generalization ability, efficiency and accuracy of detection are improved; and the support of an external knowledge base is utilized, and the external knowledge base is constructed based on the standard interface document of the smart contract, so that normative and authoritative premise guarantee is formed, rich background knowledge and empirical data are provided for vulnerability detection, and the pertinence and depth of detection are enhanced.
Owner:ZHEJIANG UNIV

JAVA fuzzy testing method based on program analysis

The invention provides a JAVA fuzzy testing method based on program analysis. The JAVA fuzzy testing method comprises the steps that a binary file package of a tested program is obtained; aST analysis is carried out on the binary file package; all layers of nodes of a syntax tree of the binary file package are analyzed, and all conditional branches under all classes and all methods are obtained; analyzing a calling link relationship of each branch judgment parameter of the binary file package through reverse derivation of calling of each layer of nodes; and judging whether the calling link relationship is single-interface calling or cross-interface calling. According to the JAVA fuzzy test method based on program analysis provided by the invention, the interface parameters and the test case data of the interface calling sequence can be obtained through program analysis, and the service logic which is difficult to explore by fuzzy test can be greatly increased, so that the coverage rate of the tested object is increased, and the test efficiency is improved based on the improvement of the coverage rate. The number of paths explored by the fuzzy test is increased, and more non-overdue defects can be prompted to be found.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Master pattern generation method based on control program analysis and training method for cycle analysis model

The present disclosure discloses a master pattern generation method which is a major pattern in a repeated cycle by analyzing programmable logic controller (PLC) logic, and a method for training a model that may analyze an error of a cycle using the generated master pattern.The master pattern generation method and the training method for a cycle analysis model according to the present disclosure are different from the related art in that the methods are a technology of processing a machine control language (low-level language) that is difficult for humans to analyze and converting the machine control language into an analyzable language (high-level language), i.e., a machine language processing (MLP)-based technology that analyzes the executed machine language (a language that controls a machine) with a computer and can be understood by humans.
Owner:UDMTEK

Intelligent contract vulnerability detection method and system based on semantic comprehension and program path analysis

The invention discloses an intelligent contract vulnerability detection method and system based on semantic comprehension and program path analysis, and belongs to the technical field of network security. The method comprises the following steps: firstly, analyzing an intelligent contract code by using a large language model, and reasoning to generate a structured security rule for defining a taint source, a taint sink and a purifier; secondly, guiding a taint analysis engine by using a security rule, and tracking on a data flow and a control flow diagram of a program so as to efficiently screen out a high-risk taint path; then, carrying out reachability verification on the high-risk path by adopting a symbolic execution technology; and finally, performing final context review on the verified vulnerability path by using the large language model again to generate a vulnerability report. According to the method, the semantic comprehension ability of the large language model and the preciseness of traditional program analysis are subjected to multi-stage cooperation, so that the detection precision and efficiency of the intelligent contract logic vulnerability can be remarkably improved, the interpretability of a report result is greatly enhanced, and the method has important application value.
Owner:ZHEJIANG UNIV +2

Intelligent detection method for network security vulnerabilities

The invention discloses an intelligent detection method for network security vulnerabilities, and relates to the technical field of network security vulnerability detection, and the method comprises the following steps: analyzing source codes to construct an abstract syntax tree, a control flow graph and a call graph, identifying sensitive operation points based on a rule base, and screening hotspot functions in combination with code indexes and the call graph; extracting a candidate path from a program entry to a sensitive operation point, encoding to generate a path context snapshot, and scoring through a pre-training model; selecting a high-risk path to execute sparse symbolic execution, simplifying constraints by using variable interval information, and dynamically feeding back and adjusting scores; poC input verification is generated for the path triggering the vulnerability constraint, a report containing the path constraint, the triggering condition and the PoC is output, program analysis and machine learning are combined, the vulnerability detection efficiency and precision are improved, and the method is suitable for code security analysis of scenes such as an embedded system.
Owner:GUANGDONG CABLE RADIO & TELEVISION NETWORK CO LTD

Quality control program analysis method for third-generation sequencing

The invention provides a three-generation sequencing quality control program analysis method, which comprises the following steps: performing original sequencing on an extracted gene sequence to obtain a POD5 text of initial data, then converting the POD5 text into an FASTQ file, removing Adapter data, and then performing quality evaluation to obtain Reads data; performing comparative analysis on the Reads data and the target base sequence with the theoretical length, and filtering impurities to finally obtain a visual detection result. The invention further provides a gene extraction method, and a highly optimized and reliable bioinformatics analysis process is formed from original data acquisition, preprocessing, quality evaluation, comparative analysis and final report generation.
Owner:UBRIGENE (SUZHOU) BIOSCIENCES CO LTD +1

Code bug repairing method based on static program analysis

The invention provides a code vulnerability repair method based on static program analysis, and relates to the technical field of code vulnerability repair. Basic vulnerability information of a target code is acquired; extracting a vulnerability pollution path, performing node extraction on the vulnerability pollution path to obtain a plurality of pollution propagation nodes, and determining logic code information of each pollution propagation node through the target code; performing semantic extraction on each piece of logic code information to obtain a code semantic feature vector of each pollution propagation node, performing neighborhood coding on each code semantic feature vector to obtain a corresponding code context representation, and generating a logic code context of the target code according to all the code context representations; according to the method, the target code is subjected to vulnerability repair based on the large language model, the vulnerability pollution path and the logic code context, and the context quality required by vulnerability repair can be improved by utilizing static program analysis, so that the generation result quality of the large language model in the code vulnerability repair process is improved.
Owner:SHENZHEN HAIYUNAN NETWORK SECURITY TECH CO LTD

Control method, device and equipment for automobile part injection mold and medium

The invention relates to a control method, system and device for an automobile accessory injection mold and a storage medium, and the method comprises the steps that three-dimensional data and injection molding process parameters of the automobile instrument panel injection mold are obtained, and structure construction is conducted on the three-dimensional data based on the injection molding process parameters to obtain an instrument panel mold structure; acquiring real-time operation data of the automobile instrument panel injection mold, and associating the real-time operation data with the instrument panel mold structure to obtain corresponding real-time mold state information; injection molding data of an automobile instrument panel injection mold are obtained, performance prediction is conducted on the instrument panel mold structure according to the injection molding data, and corresponding mold performance information is obtained; performing scheme analysis on the real-time mold state information and the mold performance information to obtain an initial mold control scheme; and performing scheme optimization on the initial mold control scheme according to the adjustment process parameters to obtain a corresponding global adjustment strategy. According to the invention, different production requirements can be flexibly met.
Owner:DONGGUAN LINGJIN PRECISION MFG CO LTD

Tensioning program analysis method and device based on machine learning, and storage medium

The invention discloses a tensor program analysis method and device based on machine learning and a storage medium, and relates to the technical field of tensor program analys.The method comprises the steps that a to-be-analyzed tensor program is embedded into a preset program behavior feature template, and unified feature representation corresponding to the to-be-analyzed tensor program is constructed; and inputting the unified feature representation into a pre-trained performance evaluation model to obtain a performance prediction result output by the performance evaluation model. According to the method, the program behavior feature template can be designed according to the unified program behavior of the tensor program, so that the unified feature representation can be efficiently obtained for various hardware platforms; and through a preset performance evaluation model, the performance of the tensor program is analyzed according to the unified feature representation, and a performance prediction result of the tensor program to be analyzed is obtained.
Owner:UNIV OF SCI & TECH OF CHINA

Binary code similarity detection method and system based on multi-modal feature fusion

The invention provides a binary code similarity detection method and system based on multi-modal feature fusion, and belongs to the technical field of network security. According to the method, a program analysis method is utilized, disassembling codes are extracted from a binary file to serve as text sequence features, and a control flow graph is extracted to serve as topological graph structure features; aiming at two different modes of text sequence features and topological graph structure features, respectively using different representation models to carry out embedding representation; carrying out fusion processing on the embedded representation vectors of different modals by using a multi-modal fusion representation model, and generating a fused embedded representation vector; and based on the fused embedded representation vector, detecting the similarity degree in combination with a vector distance calculation formula, and completing similarity detection according to a preset threshold. According to the invention, the problems of low detection accuracy and weak detection scene generalization ability caused by incomplete use of the feature level of the binary code similarity detection method are solved.
Owner:NAT UNIV OF DEFENSE TECH

Route changing device and computer-readable recording medium

PCT designated stage expiredWO2025041213A1Numerical controlPathPingAlgorithm
A route change device according to the present disclosure comprises: a program analysis unit that sequentially reads blocks from a control program and analyzes commands by the blocks; a curve formation determination unit that, when two consecutive movement commands include an arc command, detects a reference value related to curve formation in each of the movement commands, and determines, on the basis of the reference value, whether a connecting portion of the route related to the movement commands needs to be curved; and a curve formation processing unit that determines a curve formation parameter on the basis of the reference value related to the curve for the route in which curve formation is needed, and curves the route on the basis of the determined curve formation parameter, wherein the curve formation parameter determined by the curve processing unit is the same value or increases when the reference value increases.
Owner:FANUC LTD

Block chain cross-chain transaction type identification method and device

The invention discloses a block chain cross-chain transaction type identification method and device, and is used for solving the technical problem of poor accuracy of an identification result caused by an existing block chain cross-chain transaction type identification technology. The method comprises the following steps: acquiring a to-be-identified transaction, and generating a to-be-identified multi-relation graph according to the to-be-identified transaction by adopting a preset program analysis technology; adopting a preset semantic embedding model encoder to output a plurality of node initial embedding representations corresponding to the to-be-identified multi-relation graph according to the to-be-identified multi-relation graph; and inputting the initial embedded representation of each node into a preset cross-chain transaction type identification model for identification, and outputting a cross-chain transaction type identification result.
Owner:SUN YAT SEN UNIV

Inline assembly code analysis method and system based on large language model assistance

The invention provides an inline assembly code analysis method and system based on large language model assistance. The inline assembly code analysis method comprises the steps that the position of an inline assembly code potentially influencing the static program analysis effect is positioned and measured in a C source code item; target code abstract point selection: constructing a calling graph based on the identified inline assembly code and selecting a position suitable for code abstract in the graph; automatic code abstract generation assisted by the large language model: guiding the large language model to analyze an inline assembly function through a cue word project and generating a code abstract in a specific format; verifying the correctness of the code abstract, namely checking the correctness of the generated code abstract through methods such as large language model self-verification; and deploying and applying the code abstract, namely deploying and applying the verified code abstract in the program analysis framework to be optimized. The method is used for overcoming the defect that an existing source code level static program analysis framework has difficulty in cross-language analysis between a source code and an inline assembly code.
Owner:SHANGHAI JIAOTONG UNIV

Method for converting models to programs

In variants, the method can include generating mapping model training data, determining the mapping model, and predicting a program based on a transformer. The method can optionally include evaluating the mapping model, running analyses on the program, and / or utilizing the program and / or generated program analyses. The method functions to convert transformer models into programs that can be characterized and / or analyzed using program analysis techniques.
Owner:MARTIAN LEARNING INC

Route changing device and computer-readable recording medium

PCT designated stage expiredWO2025041213A9Numerical controlPathPingAlgorithm
A route change device according to the present disclosure comprises: a program analysis unit that sequentially reads blocks from a control program and analyzes commands by the blocks; a curve formation determination unit that, when two consecutive movement commands include an arc command, detects a reference value related to curve formation in each of the movement commands, and determines, on the basis of the reference value, whether a connecting portion of the route related to the movement commands needs to be curved; and a curve formation processing unit that determines a curve formation parameter on the basis of the reference value related to the curve for the route in which curve formation is needed, and curves the route on the basis of the determined curve formation parameter, wherein the curve formation parameter determined by the curve processing unit is the same value or increases when the reference value increases.
Owner:FANUC LTD

Program analysis method and device, electronic equipment, storage medium and computer program product

The invention relates to a program analysis method and device, electronic equipment, a storage medium and a computer program product, and the method comprises the steps that before a target program runs, a sampling buffer area is allocated to the target program, and the sampling buffer area comprises sampling buffer partitions allocated for each instruction in the target program; when any sampling moment is reached in the running process of the target program, instruction counter sampling is carried out, a sampling instruction of this time is determined, and a sampling counter in a target sampling buffer partition corresponding to the sampling instruction of this time is updated through atomic operation; after the operation of the target program is finished, determining the total sampling frequency of each instruction in the target program according to the sampling buffer area; and according to the total sampling frequency of each instruction in the target program, performing performance analysis on the target program to obtain a performance analysis result. According to the embodiment of the invention, the operation of the target program is not influenced under the condition that the sampling precision is ensured, and the performance analysis of the target program is effectively realized.
Owner:MOORE THREADS TECH CO LTD

Dependence relationship visualization method and device and storage medium

PendingCN121833023AAchieve technical effects of visual displayAccurately express complex dependenciesVersion controlProgram documentationTheoretical computer scienceData file
The invention discloses a dependency visualization method and device and a storage medium, and relates to the technical field of program analysis, and the method comprises the steps: obtaining and analyzing a metadata file, constructing a business element mapping relation based on the association between a code element and a use case as well as extension, then traversing all class files through a class reader, a method calling instruction list is generated based on the method calling information obtained through traversal and the business element mapping relation, and the method calling instruction list comprises a caller, a callee, a calling type and business target information; then, on the basis of the method calling instruction list, the method, the use case and the extension serve as nodes, the calling relation serves as an edge, and a graph data structure is constructed; and outputting the interactive dependency graph based on the graph data structure. According to the method, the technical effect of visually displaying the dependency relationship between the methods can be achieved.
Owner:GUANGZHOU PINWEI SOFTWARE CO LTD

Privacy protection method and system for preventing misbehavior app based on deep learning

This invention provides a privacy protection method and system for preventing misbehavior in mini-programs based on deep learning. It utilizes the collaborative efforts of deep learning and program analysis techniques to detect inconsistencies between the expected and actual behavior of mini-programs. This invention provides a novel mini-program analysis technique that associates UI information of widgets with corresponding program behaviors and determines the actual behavior of widgets based on program analysis, thereby enabling the construction of large-scale, high-quality training datasets. Based on the results of program analysis, deep learning techniques are used to learn an icon-behavior model from unstructured datasets to infer the expected behavior of widgets. This invention uses a defined three-layer standard model to detect differences between actual and expected behavior by calculating outlier scores. If any inconsistency is found, it indicates the presence of a misbehaving mini-program. The risk level of the inappropriate behavior can then be estimated, and countermeasures can be proactively implemented.
Owner:NANJING UNIV

System and method for machine program analysis

A method for machine program analysis, preferably including determining data for a set of programs and determining relationships between the set of programs, and optionally including determining an analysis based on the program relationships, acting based on analyses, and / or operating manufacturing system machines. A system for machine program analysis, preferably including one or more computing systems, and optionally including one or more manufacturing systems.
Owner:ARCH SYSTEMS INC

Program dependency graph feature-based metamorphic relation identification method and device

The invention relates to the technical field of computers, in particular to a metamorphic relation identification method based on program dependency graph features. The method comprises the following steps: obtaining a control flow graph (CFG) of a target program, and obtaining a control dependency graph according to the control flow graph and a forward dominating tree; obtaining a program dependency graph according to the control dependency graph and the data dependency relationship; according to a program analysis requirement slicing criterion C = (N, V) of a target program, graph traversal is conducted on the program dependency graph, program slicing features are obtained, N represents instructions in the target program, and V represents a variable set; and inputting the program slice features into a target prediction model for identification, and obtaining a prediction result corresponding to the metamorphic relationship of the target program. By the adoption of the method and device, the metamorphic relation obtaining accuracy can be improved, the situation that the metamorphic relation cannot be obtained is reduced, program testing convenience can be improved, and software quality is improved.
Owner:HUANENG NUCLEAR ENERGY TECH RES INST CO LTD +1

Controllers, control systems

A controller (10) for outputting a position command to a motor control device (20) for controlling an action by supplying current to a motor (31) comprises: a program analysis unit (11) for analyzing an action program that specifies a path of a drive object driven by the action of the motor (31) and outputting analysis data; and a position command generation unit (15) having a mechanical model for calculating the acceleration that the motor (31) can output, generating a position command based on the analysis data and the mechanical model, and updating the mechanical model when a control input to the motor (31) exceeds a preset control input limit and is saturated.
Owner:MITSUBISHI ELECTRIC CORP