# US 2024/0004624 A1 · Techniques for recording operations in an application utilizing external initialization engines

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004624 A1
- Document ID: US20240004624A1
- Status: Published application
- Kind: A1
- Application number: 17/804,062
- Filed: 2022-05-25
- Published: 2024-01-04
- Earliest claimed: 2022-05-25
- Assignees: Bionic Stork LTD.
- Applicants: Bionic Stork Ltd.
- Inventors: Amir SIDIS; Saar MANO; Eyal MAMO
- Web page: https://patentgrep.com/patent/US20240004624A1

## CPC

- G06F 8/433: {Dependency analysis; Data or control flow analysis}
- G06F 9/44505: {Configuring for program initiating, e.g. using registry, configuration files}
- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G06F 9/45516: {Runtime code conversion or optimisation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for detecting code initialization actions is utilized for performing static analysis of an application code including an external initialization component. The method includes receiving an application code including an external initialization code component, the application code deployed in a cloud computing environment; detecting in the application code an anchor point, the anchor point including a call to another code object; inserting a hook into the application code based on a location of the anchor point in the application code; and receiving a result from the hook in response to executing the application code.

## Claims

### Claim 1

A method for detecting code initialization actions, comprising:
receiving an application code including an external initialization code component, the application code deployed in a cloud computing environment;
detecting in the application code an anchor point, the anchor point including a call to another code object;
inserting a hook into the application code based on a location of the anchor point in the application code; and
receiving a result from the hook in response to executing the application code.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving an anchor point from a static analyzer, in response to providing the application code to the static analyzer.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
detecting a plurality of objects and relationships in the application code.

### Claim 4 (depends on 1)

The method of claim 1, wherein the anchor point includes any one of: a function name, and a tag.

### Claim 5 (depends on 1)

The method of claim 1, wherein the anchor point is any one of: a function calling a database, a REST (REpresentational State Transfer) API (application programming interface) call, software library, initialization code, external configuration call, and a service request.

### Claim 6 (depends on 1)

The method of claim 1, wherein the hook is an instruction which when executed by the application stores a state of the application in a predetermined location.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
detecting an anchor point by determining that a plurality of software classes inherit a primary software class; and
designating the primary software class as an anchor point.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
detecting an anchor point by determining that a software class name includes any of: a predetermined signature, a name having a predetermined alphanumeric string;
designating the software class as an anchor point.

### Claim 9

A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to execute a process, the process comprising:
receiving an application code including an external initialization code component, the application code deployed in a cloud computing environment;
detecting in the application code an anchor point, the anchor point including a call to another code object;
inserting a hook into the application code based on a location of the anchor point in the application code; and
receiving a result from the hook in response to executing the application code.

### Claim 10

A system for detecting code initialization actions, comprising:
a processing circuitry; and
a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:
receive an application code including an external initialization code component, the application code deployed in a cloud computing environment;
detect in the application code an anchor point, the anchor point including a call to another code object;
insert a hook into the application code based on a location of the anchor point in the application code; and
receive a result from the hook in response to executing the application code.

### Claim 11 (depends on 10)

The system of claim 10, wherein the memory further contains instructions that, when executed by the processing circuitry, further configure the system to:
receive an anchor point from a static analyzer, in response to providing the application code to the static analyzer.

### Claim 12 (depends on 10)

The system of claim 10, wherein the memory further contains instructions that, when executed by the processing circuitry, further configure the system to:
detect a plurality of objects and relationships in the application code.

### Claim 13 (depends on 10)

The system of claim 10, wherein the anchor point includes any one of: a function name, and a tag.

### Claim 14 (depends on 1)

The system of claim 1, wherein the anchor point is any one of: a function calling a database, a REST (REpresentational State Transfer) API (application programming interface) call, software library, initialization code, external configuration call, and a service request.

### Claim 15 (depends on 10)

The system of claim 10, wherein the hook is an instruction which when executed by the application stores a state of the application in a predetermined location.

### Claim 16 (depends on 10)

The system of claim 10, wherein the memory further contains instructions that, when executed by the processing circuitry, further configure the system to:
detect an anchor point by determining that a plurality of software classes inherit a primary software class; and
designate the primary software class as an anchor point.

### Claim 17 (depends on 10)

The system of claim 10, wherein the memory further contains instructions that, when executed by the processing circuitry, further configure the system to:
detect an anchor point by determining that a software class name includes any of:
a predetermined signature, a name having a predetermined alphanumeric string;
designate the software class as an anchor point.
