# US 2026/0095475 A1 · Parsing techniques

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

- Number: US 2026/0095475 A1
- Document ID: US20260095475A1
- Status: Published application
- Kind: A1
- Application number: 18/901,462
- Filed: 2024-09-30
- Published: 2026-04-02
- Earliest claimed: 2024-09-30
- Assignees: Dazz, Inc.
- Applicants: Dazz, Inc.
- Inventors: Barak BERCOVITZ; Bernie PINKENZON-HOWARD; Eshel YARON
- Web page: https://patentgrep.com/patent/US20260095475A1

## CPC

- H04L 63/1433: {Vulnerability analysis}
- G06F 40/30: Semantic analysis
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system and method for parsing. A method includes iteratively refining outputs of a language model in a series of iterations until a set of expected results output by the language model at an iteration matches at least a portion of a parser output of a parser at the iteration. Each iteration includes: querying the language model using a query, wherein the query includes a target file structure to be output by the language model and a set of example code, wherein the language model outputs the file and a set of expected results; inputting a file to the parser in order to obtain a parser output; and comparing the set of expected results output by the language model to at least a portion of the parser output.

## Claims

### Claim 1

A method for parsing, comprising:
iteratively refining outputs of a language model in a series of iterations until a set of expected results output by the language model at an iteration matches at least a portion of a parser output of a parser at the iteration, wherein each iteration includes:
querying the language model using a query, wherein the query includes a target file structure to be output by the language model and a set of example code, wherein the language model outputs a file and a set of expected results;
inputting the file to the parser in order to obtain a parser output; and
comparing the set of expected results output by the language model to at least a portion of the parser output.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
identifying the set of example code based on a plurality of example endpoints indicated in a set of cybersecurity findings, wherein the query utilized at each iteration is based on the identified set of example code.

### Claim 3 (depends on 1)

The method of claim 1, wherein the parser is configured to parse streams of characters using grammar-based inputs.

### Claim 4 (depends on 3)

The method of claim 3, wherein the parser further outputs a plurality of parse trees at each iteration, wherein the output of the parser at each iteration includes the plurality of parse trees output at the iteration.

### Claim 5 (depends on 4)

The method of claim 4, wherein each iteration further comprises:
semantically analyzing the plurality of parse trees, wherein the at least a portion of the parser output which is compared to the expected results output by the language model is identified based on the semantic analysis of the plurality of parse trees.

### Claim 6 (depends on 5)

The method of claim 5, wherein the query of each iteration includes a textual portion requesting that the language model output interpreter code, wherein the interpreter code includes instructions for semantically analyzing the plurality of parse trees, wherein each iteration further comprises:
executing the interpreter code output by the language model at the iteration, wherein the plurality of parse trees is semantically analyzed using the executed interpreter code.

### Claim 7 (depends on 5)

The method of claim 5, wherein each iteration further comprises:
adding a postprocessing code to the file, wherein the postprocessing code includes instructions for semantically analyzing the plurality of parse trees, wherein the file with the added postprocessing code is input to the parser at the iteration.

### Claim 8 (depends on 1)

The method of claim 1, wherein the file output by the language model at each iteration is a first file, further comprising:
querying the language model based on a code sample when the outputs of the language model have been iteratively refined in order to obtain a second file;
providing the second file to the parser based on the second file in order to obtain a set of parser outputs for the code sample; and
identifying at least one endpoint based on the set of parser outputs for the code sample.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
remediating a vulnerability based on the identified at least one endpoint.

### Claim 10 (depends on 9)

The method of claim 9, wherein remediating the vulnerability further comprises altering a code deployment for the identified at least one endpoint.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
correlating at least one portion of the code sample with the at least one endpoint, wherein each endpoint is identified with respect to a location of the corresponding portion of the code sample.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
adding a postprocessing code to the second file, wherein the postprocessing code includes instructions for semantically analyzing the parser outputs for the code sample, wherein the second file with the added postprocessing code is provided to the parser in order to obtain the set of parser outputs for the code sample.

### Claim 13

A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to execute a process, the process comprising:
iteratively refining outputs of a language model in a series of iterations until a set of expected results output by the language model at an iteration matches at least a portion of a parser output of a parser at the iteration, wherein each iteration includes:
querying the language model using a query, wherein the query includes a target file structure to be output by the language model and a set of example code, wherein the language model outputs a file and a set of expected results;
inputting the file to the parser in order to obtain a parser output; and
comparing the set of expected results output by the language model to at least a portion of the parser output.

### Claim 14

A system for refining endpoint parsing queries, comprising:
a processing circuitry; and
a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:
iteratively refine outputs of a language model in a series of iterations until a set of expected results output by the language model at an iteration matches at least a portion of a parser output of a parser at the iteration, wherein the system is further configured to, at each iteration:
query the language model using a query, wherein the query includes a target file structure to be output by the language model and a set of example code, wherein the language model outputs a file and a set of expected results;
input the file to the parser in order to obtain a parser output; and
compare the set of expected results output by the language model to at least a portion of the parser output.

### Claim 15 (depends on 14)

The system of claim 14, wherein the system is further configured to:
identify the set of example code based on a plurality of example endpoints indicated in a set of cybersecurity findings, wherein the query utilized at each iteration is based on the identified set of example code.

### Claim 16 (depends on 14)

The system of claim 14, wherein the parser is configured to parse streams of characters using grammar-based inputs.

### Claim 17 (depends on 16)

The system of claim 16, wherein the parser further outputs a plurality of parse trees at each iteration, wherein the output of the parser at each iteration includes the plurality of parse trees output at the iteration.

### Claim 18 (depends on 17)

The system of claim 17, wherein the system is further configured to, at each iteration:
semantically analyze the plurality of parse trees, wherein the at least a portion of the parser output which is compared to the expected results output by the language model is identified based on the semantic analysis of the plurality of parse trees.

### Claim 19 (depends on 18)

The system of claim 18, wherein the query of each iteration includes a textual portion requesting that the language model output interpreter code, wherein the interpreter code includes instructions for semantically analyzing the plurality of parse trees, wherein the system is further configured to, at each iteration:
execute the interpreter code output by the language model at the iteration, wherein the plurality of parse trees is semantically analyzed using the executed interpreter code.

### Claim 20 (depends on 18)

The system of claim 18, wherein the system is further configured to, at each iteration:
add a postprocessing code to the file, wherein the postprocessing code includes instructions for semantically analyzing the plurality of parse trees, wherein the file with the added postprocessing code is input to the parser at the iteration.

### Claim 21 (depends on 14)

The system of claim 14, wherein the file output by the language model at each iteration is a first file, wherein the system is further configured to:
query the language model based on a code sample when the outputs of the language model have been iteratively refined in order to obtain a second file;
provide the second file to the parser based on the second file in order to obtain a set of parser outputs for the code sample; and
identify at least one endpoint based on the set of parser outputs for the code sample.

### Claim 22 (depends on 21)

The system of claim 21, wherein the system is further configured to:
remediate a vulnerability based on the identified at least one endpoint.

### Claim 23 (depends on 22)

The system of claim 22, wherein remediating the vulnerability further comprises altering a code deployment for the identified at least one endpoint.

### Claim 24 (depends on 21)

The system of claim 21, wherein the system is further configured to:
correlate at least one portion of the code sample with the at least one endpoint, wherein each endpoint is identified with respect to a location of the corresponding portion of the code sample.

### Claim 25 (depends on 21)

The system of claim 21, wherein the system is further configured to:
add a postprocessing code to the second file, wherein the postprocessing code includes instructions for semantically analyzing the parser outputs for the code sample, wherein the second file with the added postprocessing code is provided to the parser in order to obtain the set of parser outputs for the code sample.
