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

6 results about "Dead code" patented technology

In computer programming, dead code is a section in the source code of a program which is executed but whose result is never used in any other computation. The execution of dead code wastes computation time and memory.

Method to configure a system for chemical separation

The present invention relates to a method performed by a system (110) operable to configure a chemical separation system (120), the method comprising: receiving system hardware configuration data, wherein the system hardware configuration data is at least indicative of fluid manipulation modules (121_1-12N_M) of the chemical separation system (120), desired functionality of the fluid manipulation modules, and a fluid network (210) comprising fluid couplers configured to fluidly couple the fluid manipulation modules (121_1-12N_M), identifying a first set of function blocks to provide the indicated fluid manipulation modules with the desired functionality, generating a second set of function blocks by purging a third set of function blocks from the first set of function blocks to eliminate dead code using the configuration data, sending the second set of function blocks to the system (120).
Owner:CYTIVA SWEDEN AB

Code processing method and apparatus

The embodiment of the application provides a code processing method, device, computer equipment, computer readable storage medium and computer program product, and belongs to the technical field of software development. The code processing method comprises the following steps: before performing a target change operation on a target code library, scanning the target code library by using a dead code detection tool to obtain a baseline dead code set; in the case that the target change operation on the target code library is completed, scanning the target code library by using the dead code detection tool to obtain a current dead code set, the storage structure of the current dead code set being consistent with the storage structure of the baseline dead code set; determining the difference between the current dead code set and the baseline dead code set, and determining the incremental dead code of the operation based on the difference; and performing invalid code cleaning based on the incremental dead code. The technical scheme of the embodiment of the application can effectively identify the newly added dead code, and improve the efficiency of dead code cleaning.
Owner:SHANGHAI BILIBILI TECH CO LTD

Automatic injection of weak code to attract or distract malicious actors

This disclosure describes a computer-readable medium storing instructions for detecting malicious activity by monitoring the execution of intentionally weak code paths embedded within executable code. A monitoring system receives a mapping that associates each injected weak path with a unique identifier, then observes the executable during runtime to determine whether any such abnormal path is taken. Because these paths are designed not to execute during normal operation (implemented through inhibited or dead code reachable only under adversarial manipulation) their activation serves as a signal of potential attack behavior. When the monitoring system detects execution of a mapped intentionally weak code path, it generates a notification within a secure environment, enabling rapid identification of suspicious or unauthorized activity. This technique enhances software security by providing a lightweight, observable mechanism for detecting deviations from expected execution flows.
Owner:ARM LTD

Dead code optimization method for compiler, and compiler, processor and electronic device

PendingEP4697161A4Code compilationDead codeParallel computing
The present invention provides an invalid code optimization method for a compiler, a processor, and an electronic device, relating to the field of compilation. The invalid code optimization method for a compiler includes: obtaining an invalid input parameter from an input parameter of a to-be-optimized code; determining an invalid code from the to-be-optimized code based on the invalid input parameter; and optimizing the invalid code to reduce the number of machine codes generated by the compiler when compiling the optimized code. The above invalid code optimization method for a compiler can simplify program code and improve code execution efficiency.
Owner:VERISILICON MICROELECTRONICS (SHANGHAI) CO LTD +1

Contextual processing and post-training based code large model robustness enhancement method

This invention discloses a robustness enhancement method for large-scale code models based on context processing and post-training, selecting the enhancement method according to the type of model to be enhanced. For post-training enhancement, adversarial perturbation samples are first generated from the given source code using equivalence semantic transformation, greedy search, and simulated annealing. These perturbation samples are then input into the post-training framework to fine-tune the target large-scale language model. For context enhancement, a backup dataset is generated using backup code. The optimal subset of examples most semantically similar to the current problem is selected by calculating similarity. Dead code is then normalized, and the optimal subset of examples is adaptively selected. Contextual prompts are dynamically adjusted based on task complexity and input into the target large-scale language model. Finally, evaluation metrics and the robustly enhanced target large-scale language model are output. This invention supports multiple mainstream programming languages ​​and both open-source and closed-source models, exhibiting good versatility and scalability.
Owner:NANJING UNIV

Autonomous adaptive code evolution for enhanced cybersecurity

PendingUS20260111563A1Platform integrity maintainanceSoftware engineeringCode evolution
Techniques and solutions are provided for enhancing software security through autonomous adaptive code evolution. Code variants are generated and analyzed using various methods, such as static code analysis or execution in controlled environments, against known and predictive future threats or vulnerabilities to determine whether they exhibit improved security. Variants can be generated using techniques such as genetic programming, instruction substitution, control flow alteration, or dead code insertion. Types of code modifications that result in improved security are prioritized when generating variants. In one example, reinforcement learning is used to identify code adaptations that enhance security, including those which do so without overly compromising functionality or performance. Continuous performance monitoring can be used to help ensure that security adaptations do not degrade software functionality, and an intelligent rollback mechanism can be used to revert to a previous state if negative impacts are detected.
Owner:SAP SE