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

387 results about "Source code" patented technology

In computing, source code is any collection of code, possibly with comments, written using a human-readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code. The source code is often transformed by an assembler or compiler into binary machine code understood by the computer. The machine code might then be stored for execution at a later time. Alternatively, source code may be interpreted and thus immediately executed.

Web application internationalization

A system and method is described for internationalization of web pages by extracting translatable content from extensible mark-up language (XML), or similar data-centric meta-language representations of web pages or data used to build web pages. The extracted translatable content is stored in a translation task repository (TTR) accessible by the web developer and the translator. The XML representation is then modified to include selection control logic to select the appropriate translations for insertion into the final web page. The translator accesses the TTR to translate the appropriate content and saves the translations back to the TTR associated with the original translatable data. The translations are obtained from the TTR as selection cases for the selection control logic of the XML representation. As the XML is converted into the web source code, the selection logic and translations are embedded therein facilitating building the web site in multiple different languages.
Owner:ADOBE INC

Code summary generation method, model, device, medium and apparatus

This application provides a code digest generation method, model, apparatus, medium, and device, relating to the field of artificial intelligence technology. The method includes: determining an application programming interface (API) information graph corresponding to the code to be processed, wherein the node types in the API information graph include: a first type, and at least one of a second type and a third type, wherein the associated information of the first type of nodes is the application programming interface, the associated information of the second type of nodes is variables, and the associated information of the third type of nodes is API description information; encoding the API information graph to obtain API encoding features of the code to be processed; and determining a code digest of the code to be processed based on the API encoding features and target features of the code to be processed, wherein the target features include: source code encoding features corresponding to the code to be processed, or source code encoding features and AST encoding features corresponding to the code to be processed. This application embodiment can improve the semantic integrity of the code digest.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD +1

Software development kit compilation method and apparatus

PendingCN122111436AReduce risk of leakageAvoid direct exposureProgram documentationCode compilationSoftware engineeringCore component
The application discloses a software development package compiling method and device, and relates to the technical field of computers. A specific implementation of the method comprises the following steps: performing encapsulation based on a second programming language on a first type of module of any core component in a software development package, extracting a header file of the first type of module and a header file of a second type of module after the encapsulation to generate a common umbrella header file of the core component; and after compiling core component source code and upper layer component source code in the software development package into an executable file, processing the common umbrella header file of any core component in the software development package, so that the common umbrella header file only contains declaration content configured in advance for the core component. The implementation can effectively reduce the risk of core code leakage.
Owner:BEIJING WODONG TIANJUN INFORMATION TECH CO LTD

A compiling method and an electronic device

ActiveCN121143798BSource codeCompile time
The embodiment of the present application provides a kind of compiling method and electronic equipment, it is related to computer technical field, to solve the problem of low compiling efficiency when the source code is compiled currently.The method, at the time of compiling, can utilize the binary file corresponding to the API information of the binary file that is precompiled with the target function module to be compiled, and the source code of the target function module is compiled, to obtain the machine executable binary file of the target function module.Wherein, binary file is precompiled, not generated at the time of compiling.Furthermore, the binary file that is compiled corresponds to API information, according to the binary file corresponding to the second function module and the API information of the binary file, the compilation of the first source code can be completed, without further determining the function module that the second function module depends on, so that the process of compiling is also simplified, and the compiling time can be reduced, and the compiling efficiency is improved.
Owner:HUAWEI TECH CO LTD

Automatic browser memory leak location system, method, and medium based on MCP protocol

This invention discloses an automatic browser memory leak location system, method, and medium based on the MCP protocol, belonging to the field of software testing technology. The system includes an MCP communication module, an automated testing module, a heap snapshot acquisition module, an incremental analysis module, a reference chain analysis module, a SourceMap location module, an intelligent repair module, and an IDE visualization module. This invention establishes a standardized connection between the IDE and the browser debugging port through the MCP protocol, achieving fully automated control; it employs a multi-dimensional fingerprint algorithm based on constructed stack frames and attribute structures to solve the problem of cross-snapshot object matching; it utilizes the dominator tree algorithm to compress the reference chain and combines it with the SourceMap index to achieve source code-level location and AI repair suggestion generation. This invention significantly improves the efficiency and accuracy of memory leak location, solving the problems of fragmented debugging links and the inability to accurately map source code.
Owner:BEIJING FENYANG TECH CO LTD

A concurrent program vulnerability detection method based on fuzz testing and static analysis

The application discloses a concurrent program vulnerability detection method based on fuzzy testing and static analysis, and comprises the following steps: compiling a to-be-detected program source code, obtaining a bytecode file according to the compiling, then performing static analysis to obtain a concurrent vulnerability pair; performing program insertion on the concurrent vulnerability pair to obtain a program binary file with inserted code; taking the program binary file with inserted code as a test program, adding an initial input file in an input queue, adding a concurrent vulnerability-oriented mechanism in AFL and adding a judgment mode of whether an input is interesting, and pruning unfeasible paths; performing fuzzy testing to realize vulnerability detection. The application can not only utilize the characteristics of concurrent program vulnerabilities, use an optimized redundant node static analysis technology to reduce the number of concurrent vulnerability detections, but also use a fuzzy testing technology to efficiently reproduce the occurrence process of the concurrent program vulnerabilities, so that more efficient and more intuitive concurrent vulnerability detection is realized.
Owner:XI AN JIAOTONG UNIV

A method and system for maintaining consistency between a floating point operation algorithm verification prototype and hardware engineering

A method and system for ensuring consistency between a floating-point arithmetic algorithm verification prototype and hardware engineering, relating to the field of floating-point arithmetic, are disclosed. The method includes: obtaining the HDL source code of a hardware floating-point IP core; converting the sequential logic describing floating-point operations in the HDL source code into a behavioral-level combinational logic expression, which retains the computational logic of floating-point operations; compiling the converted HDL source code using an HDL compilation tool to generate a library file executable on a processor; calling function interfaces in the library file to perform floating-point operations in a prototype verification program running on the processor; and integrating a hardware floating-point IP core into the hardware system to implement floating-point operations, wherein the library file and the hardware floating-point IP core are based on the same HDL source code. Implementing this method can reduce the cost of ensuring consistency between the floating-point arithmetic algorithm verification prototype and hardware engineering.
Owner:SUZHOU SILITER SEMICON TECH CO LTD

A smart contract vulnerability detection method based on static analysis and large language model fusion

The application discloses a smart contract vulnerability detection method based on static analysis and large language model fusion, comprising the following steps: obtaining a smart contract source code to be detected, using a static analysis tool to analyze the pretreated smart contract source code, and generating a static analysis abstract; the smart contract source code and the static analysis abstract information are spliced according to a preset prompt template, and then input into a large language model to obtain a vulnerability detection result. The application effectively integrates the structured priori knowledge of static analysis into the input features, significantly improves the recognition ability of the model for seven core Solidity vulnerabilities, can accurately adapt to the classification task while maintaining the efficiency, and effectively prevents the false negatives, false positives and model security risks.
Owner:ZHEJIANG UNIV OF SCI & TECH

Document processing method, apparatus, device, and medium

This invention relates to the field of software development technology and discloses a document processing method, apparatus, device, and medium. The method includes: acquiring multiple heterogeneous data sources of a software project, wherein the heterogeneous data sources include at least source code and software documents associated with the source code; constructing a semantic difference graph describing the semantic relationships between the heterogeneous data sources based on the multiple heterogeneous data sources; assessing the synchronization risk value between the software documents and the current source code based on the semantic difference graph; if the synchronization risk value exceeds a preset threshold, determining the target content in the software documents that needs to be updated synchronously based on the semantic difference graph; generating differential update information for updating the target content based on the current source code and the semantic difference graph; and triggering an update processing flow for the software documents based on the differential update information. This method can be applied to document processing scenarios in fintech and healthcare, improving the accuracy and efficiency of document processing.
Owner:PING AN TECH (SHENZHEN) CO LTD

A smart contract vulnerability detection model and device

PendingCN122286778AEnhancing Semantic ConsistencyEnhanced Representational CapabilitiesFeature extractionAlgorithm
This invention discloses a smart contract vulnerability detection model and device. The model includes a code structure feature extraction module, a thought chain text feature extraction module, a semantic space adaptation module, a multi-head cross-attention module, and a vulnerability classification module. Based on code structure information modeling, this invention further introduces vulnerability reasoning thought chain text features and achieves effective alignment between code structure semantics and vulnerability reasoning semantics through the synergistic effect of semantic space adaptation and multi-head cross-attention. Compared to detection methods that rely solely on overall semantic modeling of a single code modality, this invention no longer depends solely on the overall statistical features of the source code for vulnerability identification. Instead, guided by vulnerability reasoning semantics, it further focuses on core code segments strongly related to the vulnerability triggering logic, reducing the interference of irrelevant business code and redundant code on the feature extraction process, and improving the accuracy and robustness of vulnerability detection.
Owner:GUANGDONG UNIVERSITY OF FOREIGN STUDIES

Method and system for automatic generation of source code comments based on word-level retrieval

ActiveCN116627487BFeature vectorAlgorithm
The application discloses a source code annotation automatic generation method and system based on word-level retrieval and belongs to the field of natural language processing text generation. A training set composed of code function text, code abstract syntax tree and code annotation text is used to train an encoding-decoding network; an overall feature vector of each annotation word in the code annotation text is obtained to construct a near-neighbor word database; for the code function text to be annotated and the abstract syntax tree thereof, a model-based target word probability distribution and an overall feature vector of a target word at a current time step are generated in a self-recurrent manner; K near-neighbor words with the highest similarity to the overall feature vector of the target word are searched in the near-neighbor word database to generate a target word probability distribution based on the near-neighbor words; and the two target word probability distributions are fused to take the target word with the maximum probability as an annotation word generated at the current time step. The application can greatly improve the annotation generation quality of an original model and also improve the generation probability of low-frequency words in code annotation.
Owner:ZHEJIANG UNIV

A kernel plug-in based hardware topology detection method, system and application

PendingCN122285416ADevice typePathPing
This invention discloses a hardware topology detection method for kernel instrumentation, comprising: obtaining and extracting key structure definitions from the current Linux kernel through the BTF infrastructure, and copying the structure definitions into the kernel module source code; reading the kernel symbol table, selecting the instrumented function from it, and filling the kernel module source code; obtaining the kernel header file of the target machine, compiling and loading the kernel module in conjunction with the modified kernel module source code, and specifying the storage path of the output file; obtaining the number of on-chip systems in the current system according to the sysfs interface, performing a counting operation on the performance monitoring units on each on-chip system, triggering the instrumented function, and obtaining the pointer to the key structure of the kernel driver; using the pointer to the key structure of the kernel driver to calculate the coordinates of the XP node and its connected device type information, obtaining the data through MMI / O access and outputting it in a structured format. This invention also discloses a detection system for implementing the above detection method, which has a wide range of application scenarios.
Owner:EAST CHINA NORMAL UNIV

Source code level chaos injection

ActiveUS12664078B2Error detection/correctionEnterprise computingData store
A system associated with an enterprise computing environment infrastructure may include a chaos testing tool data store that contains a plurality of electronic records, each record including a chaos engineering fault parameter. A computer processor of a chaos testing tool may receive, from a chaos testing user, injection information associated with an element of the enterprise computing environment infrastructure. The chaos testing tool may then access the chaos engineering fault parameter from the chaos testing tool data store and automatically arrange to inject a chaos engineering fault into operation of the element of the enterprise computing environment infrastructure in accordance with the injection information and the chaos fault parameter. A response of the element of the enterprise computing environment infrastructure may then be measured subsequent to said injection, and the system may output an indication of the measured response to the chaos testing user.
Owner:SAP SE

Rule-based assignment of event-driven application

PendingUS20260147623A1Resource allocationDistributed Computing EnvironmentSource code
A method to deploy a plurality of event-driven application components of an event-driven application in a distributed computing environment is described. The method includes automatically analyzing application source code of the event-driven application, using one or more processors, to identify relationships between the plurality of event-driven application components. Thereafter, a set of rules are applied to, based on the automatic analysis, generate assignment data recording assignments of event-driven application components to a plurality of computational nodes in the distributed computing environment. The set of rules is also applied to determine component requirements for each of the plurality of event-driven application components required to support execution at an assigned computational node in the distributed computing environment.
Owner:VANTIQ INC

Gpu-driven testing method, system, device, and storage medium

This application provides a testing method, system, device, and storage medium for GPU drivers. The GPU driver code repository includes multiple source code libraries. The method includes: responding to a merge instruction, determining a first source code library corresponding to the merge instruction, the merge instruction indicating that the modified code of the first source code library be added to the library; constructing a workflow based on the first source code library, performing access control tests on the modified code of the first source code library through the workflow to check the code's standardization and / or functionality; if the access control test passes, merging the modified code into the first source code library, thus realizing the addition to the library; and performing product integration testing based on the updated code repository. This application can improve the efficiency of code detection.
Owner:LOONGSON TECH CORP

Technical Due Diligence Support Methods

PendingJP2026104675ASoftware engineeringSoftware analytics
[Problem] The objective is to realize a technical due diligence support method that makes it easier to understand the results of software analysis. [Solution] A due diligence support method for evaluating the technical capabilities and software quality of a prospective acquisition company of a business operator, which is performed by a management terminal according to one embodiment of the present invention, wherein the control unit of the management terminal refers to information on the source code disclosed by the developer of the prospective acquisition company, performs an analysis to evaluate the technical capabilities and quality based on the information on the source code, and generates a report evaluating the technical capabilities and quality based on the analysis results. [Selected Figure] Figure 8
Owner:ASUNE CO LTD

Api information processing method and electronic device

The application provides an API information processing method and an electronic device, wherein the method comprises: fusing abstract syntax tree analysis, large language model and retrieval enhancement generation technology, obtaining code fragments and a vector library by analyzing target application source code, extracting a route group and constructing a route mounting tree representing hierarchical relationships by using a large language model, determining complete target API information in combination with the route mounting tree and the extracted initial API information, and finally generating a function description through semantic retrieval of the vector library to associate related code fragments. The API information extraction and description generation full process are automated, the API information integrity and the accuracy and richness of the function description are improved, the manual maintenance burden is effectively reduced, and the application scenarios and business change scenarios lacking API document maintenance are adapted.
Owner:CHENGDU NEW HOPE FINANCIAL INFORMATION CO LTD

A cross-version vulnerability identification system based on a deep graph neural network

The application discloses a kind of cross-version vulnerability identification systems based on depth map neural network, comprising: multi-version code metadata acquisition module, for collecting multiple versions of software source code and parsing generation multi-version code metadata set;Multi-version code graph generation module, for constructing multi-version code graph set;Characteristic representation matrix generation module, for generating the characteristic representation matrix of multi-version code graph;Depth map neural network modeling module, for using GLEM model, obtains the embedding matrix of each node;Potential vulnerability node identification module, for identifying the potential vulnerability node set across version;Result output module, for outputting cross-version vulnerability identification result and generating detection report.The application adopts depth map neural network and cross-version modeling method, realizes multi-version vulnerability automatic identification, with the advantages of strong intelligence, high adaptability, detection precision.
Owner:BEIJING RUISJINDA TECH CO LTD

A pre-processing method for finite element program generator

The application discloses a preprocessing method for a finite element program generator, which is used for automatically translating and converting a high-level XML format physical problem description file, i.e., an.flc file, written by a user into underlying C language source code and a series of input scripts required by a finite element program generator (FEPG) solver, and specifically includes a parsing mode and a modification mode; and the application can automatically translate a high-level physical problem description into underlying source code and input scripts.
Owner:INST OF ROCK & SOIL MECHANICS CHINESE ACAD OF SCI

AI-based saas system vulnerability automatic repair method and system

The application relates to the technical field of SaaS systems, and discloses an AI-based SaaS system vulnerability automatic repair method and system, which comprises the following steps: step one, collecting system data, wherein the system data comprises source code, logs, business descriptions and running monitoring data; step two, obtaining an abstract syntax tree and a call chain according to the source code, performing LLM semantic analysis on the logs, the abstract syntax tree, the call chain and the business descriptions, obtaining system logic vulnerabilities, performing trend analysis on the running monitoring data, and obtaining system running vulnerabilities according to the trend analysis result; step three, generating a plurality of groups of patches according to templates, the system logic vulnerabilities and the system running vulnerabilities through an LLM model, scoring and screening the patches; step four, performing grey deployment and shadow traffic verification on the screened patches, automatically rolling back when the verification fails, automatically repairing when the verification passes, and feeding back and optimizing the LLM model according to the verification result.
Owner:KANGFU ZHUSHOU

System for identifying same or similar instances of source code

The technology disclosed relates to a system for identifying same or similar instances of source code. In particular, the technology disclosed relates to a data repository designed for storing information regarding one or more associations between an instance of source code and a semantic hash code value. Wherein, semantic hash code value being determined in accordance with a semantic hash code algorithm. Wherein, semantic hash code algorithm being designed for computing a quantification of a set of measured characteristics of instance of source code. Wherein, quantification of set of source code characteristics of instance of source code being represented by semantic hash code value. Wherein, semantic hash code value corresponding to instance of source code. Wherein, an association between an identity of instance of source code and semantic hash code value is stored into data repository.
Owner:ENDOR LABS INC

A code security scanning method

PendingCN122333483AData setAlgorithm
This invention discloses a code security scanning method, comprising: project file filtering: filtering project files in a source code repository according to a preset filtering strategy to generate a set of files to be scanned; scan scheduling: scheduling a first scanning tool and / or a second scanning tool to perform code security scanning on the set of files to be scanned according to the scan mode selected by the user, and obtaining a set of scan alert results, wherein the first scanning tool is a static scanning tool based on regular expressions or abstract syntax trees, and the second scanning tool is a deep scanning tool based on graph analysis; result standardization: deduplicating the scan alert result set to obtain a standardized scan alert dataset; report generation: generating a standardized scan report based on the standardized scan alert dataset. By scheduling the corresponding scanning tool to perform code security scanning on the files to be scanned according to the scan mode selected by the user, multiple scanning modes are provided to improve scanning accuracy.
Owner:深圳市和讯华谷信息技术有限公司

Code review annotation generation via instruction hints with intent

Given prompts including code changes, association intent, and extended context made to a source code program, a code review is automatically generated by a large language model. From the perspective of the code reviewer, the intent represents the problem of code changes and is predicted from a neural classifier given code changes in a code difference format. The neural classifier is a neural encoder transformer model that is pre-trained on various code review datasets and fine-tuned on code disparity blocks of code changes tagged with intent.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Code generation method and device, electronic equipment and computer readable storage medium

The present disclosure provides a code generation method and device, electronic equipment and computer readable storage medium, relates to the field of computers, in particular to the technical field of source code. The specific implementation scheme is: obtaining a to-be-declared attribute in an attribute of an object in a code segment that meets a preset attribute condition; determining a data type of the to-be-declared attribute based on an attribute name of the to-be-declared attribute; determining first attribute declaration code corresponding to the to-be-declared attribute based on the data type of the to-be-declared attribute, the first attribute declaration code being used to define the data type of the to-be-declared attribute. Based on the present scheme, the attribute declaration code corresponding to the to-be-declared attribute can be automatically determined, which can replace the manual writing of the attribute declaration code, thereby improving the development efficiency.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

A method for intelligent detection of source code defects related to conditional expressions

The application realizes a kind of conditional expression related source code defect intelligent detection method.The overall process includes preprocessing, node embedding, control flow coding and API usage attention mechanism;Given a Java method and the conditional expression to be checked, the preprocessing first parses it into CFG form;The node embedding uses bidirectional long short-term memory network to encode the statement into node vector;The control flow coding is on the node vector, and uses the LSTM unit of single graph structure to encode each node encountered along the control flow path of CFG;The API usage attention mechanism combines the attention module with the API label of the statement;After the attention mechanism, multiple node vectors are converted into a single vector, and the semantics of the conditional defect is learned and identified in an end-to-end manner.The problem that important control flow information of source code may be missed in the source code conditional defect detection problem is solved.
Owner:BEIHANG UNIV

Program conversion method

Provided is a program conversion method that can transfer a predetermined program using AI to information processing devices with different execution environments and can effectively utilize the predetermined program in various environments. 【Solution means】 A Using I te ok A processing execution unit that executes processing on the activation opportunity, and Includes A certain predetermined program Mu is an interface for referring to external data used by the AI, and , the includes information regarding the OS implemented on the information processing device of one environment. Also Ta, P The program conversion method is the predetermined program executable on the OS of the information processing device of the first environment source code compiled by the information processing device of the first environment , the A program generation step of generating an execution program in an execution format executable on the OS of the information processing device of the second environment, exporting the execution program from the information processing device of the first environment and importing it into the information processing device of the second environment, and implementing the execution program on the information processing device of the second environment This makes it possible to execute the predetermined program on the OS of the information processing device in the second environment. A program transfer step, and has.
Owner:D4ALL CO LTD

Conditional statement value determination method and apparatus, and storage medium

Embodiments of the present application provide a conditional statement value determination method and device, and a storage medium. The method comprises: determining at least one conditional statement in source code; setting a plug-in statement before and / or after the conditional statement based on the conditional statement; and determining the value of the conditional statement corresponding to the plug-in statement based on the execution condition of the plug-in statement, wherein the value indicates the execution result of the conditional statement.
Owner:SUZHOU DONGCHAYUN INFORMATION TECH CO LTD

Source code processing method, system, storage medium and electronic device

The application discloses a source code processing method, system, storage medium and electronic equipment. Relates to the field of financial technology, the method comprises the following steps: determining each item in the compilation task; obtaining the identification of the source code version library of each item and the branch information required for compiling each item, and obtaining the interface of the distributed version control system; obtaining the source code of each item and saving the source code of each item to a local compilation server; generating a to-be-published project list according to the source code of each item, preprocessing the projects that need to be compiled in the to-be-published project list, and forming a to-be-compiled project list from the preprocessed projects; compiling the projects in the to-be-compiled project list to obtain a compilation product; matching the compilation product with a preset deployment strategy, and generating a deployment strategy file of the compilation product in the case of successful matching. Through the application, the problem of low system project construction and deployment efficiency in the related art is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Compiling method, apparatus and computing device

This application provides a compilation method, apparatus, and computing device, relating to the field of compilation technology. The method includes: instrumenting source code to generate an instrumented executable file, wherein the executable file includes target library functions inserted at the instrumentation locations of each target function. These target library functions are used to call hardware counters to collect performance data during the execution of the executable file. Then, the executable file is run to obtain and generate a performance data file based on the count values ​​of the hardware counters corresponding to each instrumentation location; the source code is then compiled and optimized based on the performance data file to generate a target executable file. The technical solution provided by this application can expand the applicable scenarios of the compilation method.
Owner:HUAWEI TECH CO LTD