Systems and methods for detecting coroutines
AssigneeCloud Linux Software Inc.
InventorsIgor Seletskiy, Pavel Boldin
Life of this patent
Estimating the term…
Abstract
Disclosed herein are systems and method for detecting coroutines. A method may include: identifying an application running on a computing device, wherein the application includes a plurality of coroutines; determining an address of a common entry point for coroutines, wherein the common entry point is found in a memory of the application; identifying, using an injected code, at least one stack trace entry for the common entry point; detecting coroutine context data based on the at least one stack trace entry; adding an identifier of a coroutine associated with the coroutine context data to a list of detected coroutines; and storing the list of detected coroutines in target process memory associated with the application.
Claims17
A method for detecting coroutines, the method comprising:
- identifying an application running on a computing device, wherein the application comprises a plurality of coroutines;
- determining an address of a common entry point for coroutines, wherein the common entry point is found in a memory of the application;
- identifying, using an injected code, at least one stack trace entry for the common entry point;
- detecting coroutine context data based on the at least one stack trace entry;
- adding an identifier of a coroutine associated with the coroutine context data to a list of detected coroutines;
- and
- storing the list of detected coroutines in target process memory associated with the application.
A system for detecting coroutines, comprising:
- a hardware processor configured to:
- identify an application running on a computing device, wherein the application comprises a plurality of coroutines;
- determine an address of a common entry point for coroutines, wherein the common entry point is found in a memory of the application;
- identify, using an injected code, at least one stack trace entry for the common entry point;
- detect coroutine context data based on the at least one stack trace entry;
- add an identifier of a coroutine associated with the coroutine context data to a list of detected coroutines;
- and
- store the list of detected coroutines in target process memory associated with the application.
A non-transitory computer readable medium storing thereon computer executable instructions for detecting coroutines, including instructions for:
- identifying an application running on a computing device, wherein the application comprises a plurality of coroutines;
- determining an address of a common entry point for coroutines, wherein the common entry point is found in a memory of the application;
- identifying, using an injected code, at least one stack trace entry for the common entry point;
- detecting coroutine context data based on the at least one stack trace entry;
- adding an identifier of a coroutine associated with the coroutine context data to a list of detected coroutines;
- and
- storing the list of detected coroutines in target process memory associated with the application.
Dependencies are inferred from the claim text.