# US 2019/0356675 A1 · Combining apparatus, combining method, and combining program

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

- Number: US 2019/0356675 A1
- Document ID: US20190356675A1
- Status: Published application
- Kind: A1
- Application number: 16/476,304
- Filed: 2017-08-09
- Published: 2019-11-21
- Earliest claimed: 2017-01-11
- Assignees: Nippon Telegraph and Telephone Corporation
- Applicants: Nippon Telegraph and Telephone Corporation
- Inventors: Yuta TAKATA; Mitsuaki AKIYAMA; Takeshi YAGI
- Web page: https://patentgrep.com/patent/US20190356675A1

## CPC

- G06F 8/72: Code refactoring
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- G06F 9/45529: {Embedded in an application, e.g. JavaScript in a Web browser}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A combining apparatus has an acquiring unit that acquires script codes included in a website and having been divided and written at plural locations in the website; and a code combining unit that combines a plurality of the divided script codes written therein, based on a dependency between data in the divided script codes written therein acquired by the acquiring unit, or a dynamic generation relation arising from execution of the divided script codes written therein.

## Claims

### Claim 1

A combining apparatus, comprising:
circuitry configured to perform:
acquiring script codes included in a website and having been divided and written at plural locations in the website; and
combining a plurality of the divided script codes written therein together, based on a dependency between data in the divided script codes written therein acquired by the acquiring, or a dynamic generation relation arising from execution of the divided script codes written therein.

### Claim 2 (depends on 1)

The combining apparatus according to claim 1, wherein the combining acquires variable or function definition information and variable or function reference information from data in the divided script codes written therein, and combines, based on the acquired information, a plurality of the divided script codes written therein together.

### Claim 3 (depends on 1)

The combining apparatus according to claim 1, wherein the combining determines whether or not a code to be analyzed is a new script code dynamically generated by execution of the divided script codes written therein, and when the code to be analyzed is the new script code, the combining combines one of the divided and written script codes of an execution source and the new script code together.

### Claim 4 (depends on 1)

The combining apparatus according to claim 1, wherein the acquiring acquires the divided script codes written therein in execution order of the script codes.

### Claim 5

A combining method executed by a combining apparatus that combines divided and written script codes, the combining method including the steps of:
acquiring script codes included in a website and having been divided and written at plural locations in the website; and
combining a plurality of the divided script codes written therein together, based on a dependency between data in the acquired divided script codes written therein, or a dynamic generation relation arising from execution of the divided script codes written therein.

### Claim 6

A non-transitory computer-readable recording medium having stored therein a combining program for causing a computer to execute a process comprising:
acquiring script codes included in a website and having been divided and written at plural locations in the website; and
combining a plurality of the divided script codes written therein together, based on a dependency between data in the acquired divided script codes written therein, or a dynamic generation relation arising from execution of the divided script codes written therein.
