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

294 results about "Call stack" patented technology

In computer science, a call stack is a stack data structure that stores information about the active subroutines of a computer program. This kind of stack is also known as an execution stack, program stack, control stack, run-time stack, or machine stack, and is often shortened to just "the stack". Although maintenance of the call stack is important for the proper functioning of most software, the details are normally hidden and automatic in high-level programming languages. Many computer instruction sets provide special instructions for manipulating stacks.

Debugger script embedded in debuggable program source code

An enhanced compiler recognizes debug script which is embedded with program statements in a source code, and emits compiled code containing various debugger command instructions among program instructions. Embedded commands are not limited to break or assert statements. Different portions of a program's compiled code are either tailored for debugging or else performance optimized, depending on the location and kind of embedded debug script statements. Debugger commands for debugging race conditions, intermittent bugs, mutation testing code versions, and other complex development challenges are documented and versioned as part of the source code. Program process execution paths are chosen based on call stack search results, touch counts, breakpoint status, and other data accessed via a debugger. Debug script statements are categorized and utilized to balance debugging support against performance optimization in code from a source generator, or just-in-time code.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Ransomware protection in advanced injection-based attacks

Systems and methods for ransomware protection in advanced injection-based attacks. The call stack(s) of injected threads are analyzed and a preliminary verdict of benign or malicious can be determined. Additional sensors collect data to associate injected threads with other activities or actors to further estimate the injected thread being benign or malicious. If the threat level is high enough, such as over a given threshold, the preliminary verdict can be determined to be malicious. Subsequently, one or more virtual honeypots are generated for the suspicious threads and the injected thread's response to the virtual honeypots included in anti-ransomware heuristic analysis.
Owner:ACRONIS INT

Performance analysis method, electronic equipment, storage medium and program product

The invention provides a performance analysis method, electronic equipment, a storage medium and a program product. The method is applied to an agent side, a user mode program and a kernel mode program run in the agent side, and the method comprises the steps that the user mode program reads an executable file executed by the agent side in a user mode, and backtracking information used for backtracking a target service is extracted from the executable file; the user mode program generates a backtracking table based on the backtracking information, and transmits the backtracking table to a kernel mode where the kernel mode program is located; when a performance analysis event is triggered, the kernel mode program backtracks a function call process in a target service execution process according to backtracking information recorded in a backtracking table in a kernel mode to generate statistical data of a function call stack; and the user mode program obtains statistical data of the function call stack generated by the kernel mode program, and converts the statistical data of the function call stack into performance analysis data.
Owner:XINGIN INFORMATION TECH (SHANGHAI) CO LTD

Dynamic tracing of variables at runtime

A computer system may receive a user input associated with a source code file via a first user interface displayed a first computing device, where the source code file comprising source code of a software application. The computer system may then obtain a tracing configuration based on the user input, where the tracing configuration comprises a line number of the source code and a variable within the source code. Next, the computer system may set a breakpoint in the source code at the line number using the tracing configuration, and then trace the variable during execution of the source code, where the tracing comprises determining a value of the variable using the breakpoint in the source code and creating a call stack based on the execution of the source code. The computer system may then store the value of the variable and the call stack in a log.
Owner:SAP SE

CPU (Central Processing Unit) kernel call stack acquisition method and device based on user mode command

The invention relates to a CPU kernel call stack obtaining method and device based on a user mode command. The method comprises the following steps: generating a kernel call stack acquisition command through an input parameter in a user mode; determining a target CPU according to the kernel call stack acquisition command; executing the kernel call stack acquisition command so as to send an IPI inter-kernel interrupt request to the target CPU; requesting the target CPU to obtain data of a kernel call stack through a preset interface based on the IPI inter-kernel interrupt; storing the data in a preset character array; and executing the kernel call stack obtaining command again so as to obtain the data of the kernel call stack from the preset character array. According to the method, the current call stack information of the kernel mode CPU under the ARM64 architecture can be obtained through the maintainable command of the user mode under the condition that long-time service interruption is not caused, and the system debugging efficiency, the performance analysis efficiency and the troubleshooting efficiency are improved.
Owner:HANGZHOU DPTECH TECH

Code analysis method and device, equipment and storage medium

The invention provides a code analysis method and device, equipment and a storage medium. Relates to the technical field of artificial intelligence. The method comprises the following steps: scanning an original code to obtain a plurality of exception descriptions in the original code; a code structure of the original code is determined, a plurality of call stacks and a plurality of call trees are generated according to the code structure and the exception descriptions, and each call tree comprises a plurality of exception codes corresponding to one exception description; performing identification processing on the plurality of call trees through a first large language model to obtain a plurality of call processes and a plurality of abnormal reasons; and generating a plurality of analysis results of the original code according to the plurality of exception descriptions, the plurality of call stacks, the plurality of call processes and the plurality of exception reasons. According to the scheme, the call tree generated by the code is recognized through the large language model, the analysis result is obtained, and the large language model follows the standardized algorithm logic, so that compared with a manual mode, the code analysis accuracy can be improved.
Owner:CHINA CONSTRUCTION BANK +1

Security intelligent monitoring and risk assessment method for open source software supply chain

The invention discloses an open source software supply chain security intelligent monitoring and risk assessment method, relates to the technical field of software supply chain security, and solves the problem that only existence of indirect dependence can be identified generally in the prior art, but whether a vulnerability code can be called on an actual execution path cannot be accurately judged. According to the method, through dependence locking and Hash fingerprint embedding during construction, cryptographic-level accurate traceability of a component version is realized, and version ambiguity is thoroughly eliminated; in combination with deep interception of a JVM probe for method calling and class loading events during operation, a loading source and a call stack context of each class in a real execution path can be captured, bidirectional association mapping is performed on dynamic behavior data and a static dependency tree, and whether a vulnerability component is located on an executable call chain or not is accurately identified. Compared with the defect that coarse-grained warning is carried out only through version matching in a traditional tool, the method has the advantage that by means of dynamic-static data fusion, it is avoided that a large number of unavailable indirect dependency vulnerabilities are misjudged to be high in risk.
Owner:HANGZHOU MORESEC TECH CO LTD +1

Techniques and devices for qualitative disk writes performance anti-pattern detection and mitigation

A server computer may receive diagnostic logs from a plurality of electronic devices, each having a particular application installed. The diagnostic logs include information about call stacks within the particular application on the plurality of electronic devices for writing data to a storage device that is on each of the plurality of electronic devices. The server computer may filter out a set of call-paths from the call stacks to obtain a set of functions that can be used identify a set of call-path signatures. The server computer may for each function, determine a cumulative measure of write operations to the storage device performed by the function across the electronic devices and identify at least one function from the set of call-path signatures matching one or more predetermined criteria associated with the cumulative measures. The server computer may provide a notification and a corrective action to a developer.
Owner:APPLE INC

Program detection method and device, electronic equipment and computer readable storage medium

The invention discloses a program detection method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of communication. The method comprises the steps that before a target program calls a target method, a function call stack of the target method is extracted by running a memory horse check code, and the target method is used for loading a configuration tool of a WebSocket server side into a container; whether the function call stack comprises target annotation information or not is checked, and the target annotation information is used for initializing and configuring components related to the WebSocket communication protocol; and under the condition that the function call stack does not comprise the target annotation information, determining that the target program is a program which is maliciously injected into the WebSocket memory horse. According to the method and the device, the technical problem that the application program is maliciously injected into the WebSocket memory horse cannot be identified in the prior art is solved.
Owner:HILLSTONE NETWORKS CO LTD

Memory release method and device, equipment, storage medium and program product

The invention relates to the technical field of computers, and discloses a memory release method and device, equipment, a storage medium and a program product.The method comprises the steps that a target memory range applied by a service process in a system memory and a call stack of the service process are obtained; querying target memory information migrated to the exchange space in the target memory range; determining a memory use condition based on the target memory information; if the memory use condition represents that the memory in the idle state exists in the target memory range, a call stack is reported to the server side, and the call stack is used for the server side to determine the memory to be released in the target memory range. The problem of insufficient physical memory can be solved.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Systems and Methods for Detecting Malicious Modifications of a Loaded Software Module

Kernel-mode security software detects a trigger event indicative of a specific stage in the lifecycle of a target software entity executing in user mode. In response, the security software identifies a target object residing in memory (e.g., loaded library, chunk of code, etc.) according to a current content of the user-mode call stack, and determines whether the target object is malicious. Various methods described herein detect malicious modifications of a loaded module, such as overload, stomping, and unhooking, among others. Other methods described herein detect dynamically swapped libraries and malicious shellcode, among others.
Owner:BITDEFENDER IPR MANAGEMENT

Programmable logic controller, downtime diagnosis method and device thereof and readable storage medium

The invention discloses a programmable logic controller, a downtime diagnosis method and device of the programmable logic controller and a readable storage medium, and relates to the technical field of programmable logic controllers. Acquiring abnormal downtime site information and position area information corresponding to the user program; converting an instruction address corresponding to the downtime abnormal site information into a corresponding function name, determining an instruction address corresponding to the user program based on the position area information, and converting the instruction address corresponding to the user program into the corresponding function name; and adding each function name into the initial function call stack to obtain a downtime abnormal field function call stack. According to the method and the device, the technical problem that a current downtime diagnosis scheme for the programmable logic controller cannot process downtime abnormity caused by a user program and has limitation is solved.
Owner:SHENZHEN INOVANCE TECH CO LTD

Reverse traceability method based on V8 call stack

The invention discloses a reverse traceability method based on a V8 call stack, which realizes real-time tracking and accurate attribution of illegal cookie writing behaviors in a real webpage, and can know which scripts or functions participate in illegal writing of each cookie field. In this way, the third-party website or the first-party website should be responsible for the violation behavior. The traceability framework can run on a real website, and the accuracy of data dependence tracking and the stability of reverse traceability are greatly improved through innovative DFG construction logic. According to the method, the dynamic data flow relation can be truly reflected by the DFG, a reliable data flow diagram DFG is provided for subsequent reverse tracking, the situation that the traceability result is incomplete or interrupted due to DFG defects is avoided, and accurate extraction of data sources of illegal cookies is further supported. Through attribute setter monitoring innovation of a V8 engine layer, comprehensive capture of violation cookie assignment operation is realized, and complete initial data support is provided for a traceability chain.
Owner:ZHEJIANG UNIV +1

Webshell dynamic detection method and system

The invention discloses a Webshell dynamic detection method and system, and belongs to the technical field of computer network security. The method comprises the steps that instrumentation is conducted on a Web application, a behavior event of the Web application is obtained, and the behavior event comprises the name of a function subjected to instrumentation, parameters introduced into the function subjected to instrumentation and calling information; on the basis of the calling relation between the instrumented functions and the relation between the instrumented functions and the behavior range of the behavior event, a Web application behavior model is constructed, the Web application behavior model comprises a calling-behavior graph and calling hash-behavior mapping, and the calling hash-behavior mapping is mapping with the key being calling stack hash and the value being the behavior range; and performing Webshell identification on a behavior event generated by a target Web application based on the Web application behavior model. According to the Webshell behavior detection method and device, the abnormal Webshell behavior can be efficiently and accurately detected.
Owner:INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES

Data acquisition method and device, electronic equipment and storage medium

The invention discloses a data acquisition method and device, electronic equipment and a storage medium. The data acquisition method comprises the following steps: injecting a data acquisition code into a runtime environment of a target application program; determining data acquisition demand information in a runtime environment of the target application program; calling the data acquisition code according to the data acquisition demand information; when the data collection code is called, stack tracking data are obtained from original calling stack data of the target application program according to the data collection requirement information, and the stack tracking data are output. By adopting the method, the performance loss of call stack acquisition can be reduced.
Owner:ALIBABA (CHINA) CO LTD

Method and system for detection of tampering in executable code

A method for detection of tampering in an executable code including one or more code blocks. The method includes monitoring execution of the executable code with a call stack data structure associated therewith, the execution involving accessing one or more address spaces; receiving information about the one or more address spaces, as accessed; comparing the received information about one or more accessed address spaces with information about one or more allowed address spaces defined in the call stack data structure of the executable code; raising a flag upon detection that the one or more accessed address spaces are different from the one or more allowed address spaces, based on the comparison; and executing an action based on the raised flag.
Owner:SUPERCELL

Method for testing a computer program

A method for testing a computer program. The method includes executing the computer program until a subprogram is called, ascertaining a memory location of the call stack in which the return address or the stack base pointer of the called subprogram is stored, setting a watchpoint on the ascertained memory location, setting breakpoints on return instructions of the called subprogram, continuing the execution of the computer program and indicating that the computer program has an error if the set watchpoint has been triggered before one of the set breakpoints due to a write to the memory location.
Owner:ROBERT BOSCH GMBH

Verified Stack Trace Generation And Accelerated Stack-Based Analysis With Shadow Stacks

A verified stack trace can be generated by utilizing information contained in a shadow stack, such as a hardware protected duplicate stack implemented for malware prevention and computer security. The shadow stack contains return addresses which are obtainable without requiring an unwinding of the traditional call stack. As such, triaging based on return address information can be performed more quickly and more efficiently, and with a reduced utilization of processing resources. Additionally, the generation of a verified stack trace can be performed, with such a verified stack trace containing return addresses that are known to be correct and not corrupted. The return addresses can either be read from the traditional call stack, or derived therefrom, and then verified by comparison to corresponding return addresses from the shadow stack, or they can be read directly from the shadow stack.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

PHP application vulnerability verification sample automatic generation method based on large language model and RAG

The invention discloses a PHP application vulnerability verification sample automatic generation method based on a large language model and RAG, and the method comprises the following steps: 1, recognizing a frame, configuration and routing of a target application, and generating an entry candidate set; 2, extracting a reachable path from an entrance to a sensitive operation by utilizing static analysis, and generating a structured path constraint list; 3, integrating the entry set and the constraint list into a prompt, retrieving an enhanced fragment from a knowledge base based on the constraint list, and driving a large language model to generate a candidate request sequence; 4, executing the sequence, verifying vulnerability triggering through a typed rule, and analyzing and confirming that a request is triggered by a legal entry in combination with a call stack; and 5, when verification fails, extracting diagnosis information as an increment constraint and feeding back the increment constraint to the generation step for iterative optimization until an effective sample is generated. According to the method, misjudgment is reduced through retrieval enhancement, entry constraint and call stack proofreading, feedback iterative optimization is utilized, and the automation efficiency and accuracy of PHP application vulnerability verification sample generation are improved.
Owner:TAIZHOU RES INST ZHEJIANG UNIV OF TECH

Hardware-driven call stack attribution

Apparatuses, systems, and techniques for hardware-driven call stack attribution. The apparatuses, systems, and techniques includes generating and updating call stacks within a processing device during execution of an application. In particular, determining a branch identifier associated with an instruction being executed by an execution thread, identifying a call stack identifier of the execution thread executing the instruction, and updating the call stack identifier of the execution thread based on the identified call stack identifier of the execution thread and the branch identifier.
Owner:NVIDIA CORP

Data race monitoring method and device, electronic equipment and storage medium

The invention discloses a data race monitoring method and device, electronic equipment and a storage medium, and relates to the technical field of data processing, and the technical scheme comprises the steps: firstly, obtaining tracking data corresponding to a variation test case, analyzing the tracking data, and obtaining a memory access record; secondly, analyzing the memory access record, and determining whether data competition for performing write operation on the same address space exists in the memory access record or not according to a preset judgment condition; and finally, under the condition of determining that the data competition exists in the memory access record, storing call stack data corresponding to the variation test case. By analyzing the memory access record of the variation test case in the test process, whether the problem of data competition exists in the memory access record of each processor core or not is judged, and the call stack data of each processor core is stored under the condition that the data competition exists, so that automatic detection of the data competition is realized; and a large amount of labor cost is saved.
Owner:BEIJING CO WHEELS TECH CO LTD

Method and apparatus for detecting application freezing problem, and device and storage medium

The present disclosure relates to a method, and apparatus for detecting an application freezing problem, and a device and a storage medium. The method comprises: detecting time consumed for a Runloop in a first thread of an application executing a task; when it is detected that the consumed time reaches a preset threshold value, at least acquiring a call stack of the first thread and the current first execution state of the Runloop, and writing the call stack into a preset file; detecting an execution state of the Runloop after the time consumed for the task reaches the preset threshold value; and if the Runloop does not enter a second execution state after the first execution state before the application is closed, sending the preset file to a remote server. By means of the solution provided in the embodiments of the present disclosure, an application freezing problem can be identified and detected.
Owner:DOUYIN VISION CO LTD

Vehicle-mounted terminal memory leak processing method and device, equipment and medium

The invention discloses a vehicle-mounted terminal memory leak processing method, device and equipment and a medium, and relates to the technical field of vehicle tests.The method comprises the steps that in the running process of a vehicle-mounted terminal system, if it is detected that kernel mode memory leak exists in the vehicle-mounted terminal system, whether the memory leak rate and the memory leak amount meet preset leak conditions or not is judged; if the preset leakage condition is met, a kernel mode memory debugging node is opened, a vehicle-mounted terminal system is restarted, and then process information is grabbed through a probe embedded in a kernel mode memory application call stack; the abnormal application process is tracked according to the process information, the process information is printed in a page application log of a kernel mode, then a kernel mode memory debugging node is closed, and the vehicle-mounted terminal system is restarted. Visibly, the method and the device can avoid long-time opening of a kernel mode memory debugging node, do not need to be combined with a client for troubleshooting, do not need to iterate a compiled version for long-time retest, save a lot of time and manpower, and improve the debugging efficiency.
Owner:FIBOCOM AUTO SOFTWARE INC

IAST application vulnerability aggregation method based on multi-feature factor signature

The invention relates to the technical field of vulnerability detection, in particular to an IAST application vulnerability aggregation method based on multiple feature factor signatures, which comprises the following steps: acquiring vulnerability information including a call stack of a vulnerability sink point, a taint tracking propagation path and context information; acquiring vulnerability multi-feature factors based on the vulnerability information, wherein the vulnerability multi-feature factors comprise part or all of vulnerability positions, vulnerability types and input point information; calculating a signature of the vulnerability according to the multiple feature factors; and taking the signature of the vulnerability as a unique key of the vulnerability for storage. The method and the device have the effect of reducing the result redundancy during vulnerability detection so as to reduce the manual workload.
Owner:HANGZHOU XIAODAO TECH CO LTD

Dynamic injection-based operating system privacy protection method, device and equipment

The invention relates to the field of privacy security, and discloses a dynamic injection-based operating system privacy protection method, device and equipment, and the method comprises the steps: obtaining a source code file for monitoring a sensitive API (Application Program Interface), generating a dynamic link library according to the source code file, and dynamically injecting the dynamic link library into an operating system; monitoring calling of all sensitive APIs based on the dynamic link library; when a sensitive API calling event is captured, recording a calling stack, and analyzing the calling stack to obtain an analysis result; and according to the analysis result, determining whether to execute a privacy protection strategy on the calling of the sensitive API. According to the invention, the problems that the privacy security of mobile equipment is low and unauthorized data is accessed and leaked are solved.
Owner:CHINA FINANCIAL CERTIFICATION AUTHORITY

Method, system and equipment for identifying injection risk in data acquisition process and medium

The invention provides a method, a system, equipment and a medium for identifying an injection risk in a data acquisition process. The method comprises the steps that call stack information corresponding to a data collection service is obtained, and the call stack information is recorded for a function used for executing the data collection service in the process of executing the data collection service; and risk identification is carried out based on the call stack information to obtain an identification result, and the identification result is used for representing whether an injection risk exists in the process of executing the data acquisition service.
Owner:ANT BLOCKCHAIN TECHNOLOGY (SHANGHAI) CO LTD

Memory leak detection method and device, electronic equipment and storage medium

The invention discloses a memory leak detection method and device, electronic equipment and a storage medium, and relates to the technical field of big data or other related fields, and the method comprises the steps that in the execution process of a target process, a memory event of the target process is monitored, and a monitoring result is obtained, the memory event is used for indicating the change conditions of the virtual memory and the physical memory; establishing a virtual memory allocation table and a physical memory allocation table based on a monitoring result; based on a preset detection rule, the virtual memory allocation table and the physical memory allocation table are compared to obtain a comparison result, and the comparison result is used for recording R stack identifiers; and taking R call stacks corresponding to the R stack identifiers as suspected leak memories, and generating a memory leak detection result. According to the method and the device, the technical problem that the memory leak cannot be effectively detected when the Java program runs due to the fact that the monitoring and analysis capability on the Java memory object is insufficient in the related technology is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Performance test method, device and system for embedded operating system

The invention relates to a performance testing method, device, system and equipment for an embedded operating system and a medium. The method comprises the steps that a monitoring point is added to at least one position of a kernel of the embedded operating system; setting test configuration information of the real-time performance analysis module, including setting a monitoring point to be monitored and setting an abnormal threshold corresponding to performance index data acquired from the monitoring point; running a test task, acquiring performance index data from the monitored monitoring point in real time through a real-time performance analysis module, and recording current abnormal call stack information and a timestamp when the performance index data exceeds a corresponding abnormal threshold value; and printing the recorded abnormal call stack information and the timestamp through a system idle thread. Therefore, the method can go deep into the kernel layer of the operating system to directly capture and monitor the key performance index data, and once the performance index data is abnormal, the system can immediately position a specific kernel function or module.
Owner:BEIJING YIHUI INFORMATION TECH CO LTD

Visual gateway debugging system and method based on swan mongolian operating system

The invention provides a visual gateway debugging system and a visual gateway debugging method based on a swan mongolian operating system, and relates to the technical field of IoT (Internet of Things) debugging. The system comprises the following steps: constructing a domain name forest structure based on DNS, TLS and HTTP traffic, and identifying an equipment identity; a debugging activation instruction is generated, and cross-device command transmission with the DSoftBus is carried out through the WebSocket and the DSoftBus; collecting program counters, stacks and variable states with microsecond-level precision; constructing a state tetrad atlas and executing compression processing; migrating a breakpoint context among multiple devices and reconstructing an execution environment; and graphically presenting a state graph, a variable track and a call stack, and supporting linkage of path playback and debugging control. According to the method, a full-process closed loop from equipment identification to debugging control and from state modeling to path playback is realized, the debugging efficiency, the automation level and the system visualization capability are improved, and the method is suitable for debugging and abnormity diagnosis scenes of the distributed intelligent terminal.
Owner:NANJING SHENDA ENG TECH CO LTD

Stack trace using shadow stack

A program is executed using a call stack and a shadow stack. The call stack includes frames with respective return addresses. The frames can also store variables and / or parameters. The shadow stack stores copies of the return addresses in the call stack. The call stack and the shadow stack are maintained by (i) adding a respective stack frame to the call stack and a respective return address to the shadow stack each time a function is called, and (ii) removing a respective frame from the call stack and a respective return address from the shadow stack each time a function is exited. A backtrace of the current call chain of the program is generated by accessing the return addresses in the shadow stack. The output backtrace includes return addresses from the shadow stack and / or information about traced functions derived from the return addresses of the shadow stack.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC