# US 2025/0094318 A1 · Multi-architecture rapid testing framework

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

- Number: US 2025/0094318 A1
- Document ID: US20250094318A1
- Status: Published application
- Kind: A1
- Application number: 18/467,187
- Filed: 2023-09-14
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Timothy Clegg
- Web page: https://patentgrep.com/patent/US20250094318A1

## CPC

- G06F 11/3616: {using software metrics}
- G06F 8/41: Compilation
- G06F 8/47: {Retargetable compilers}
- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Examples provide a computer system including an electronic processor configured to obtain a set of source code and a plurality of test scenarios. Each of the plurality of test scenarios specifies a respective build architecture. For each respective test scenario of the plurality of test scenarios, the electronic processor is configured to instantiate a respective build environment according to the respective build architecture, compile the set of source code in the respective build environment to generate a respective binary file, and generate a respective set of one or more metrics for the respective binary file.

## Claims

### Claim 1

A system comprising:
an electronic processor configured to:
obtain a set of source code;
obtain a plurality of test scenarios, wherein each of the plurality of test scenarios specifies a respective build architecture;
for each respective test scenario of the plurality of test scenarios:
instantiate a respective build environment according to the respective build architecture;
compile the set of source code in the respective build environment to generate a respective binary file, and
generate a respective set of one or more metrics for the respective binary file.

### Claim 2 (depends on 1)

The system of claim 1, wherein each of the plurality of test scenarios further specifies a respective target architecture, and
wherein compiling the set of source code in the respective build environment comprises compiling the source code for execution in the respective target architecture.

### Claim 3 (depends on 1)

The system of claim 1, wherein each of the plurality of test scenarios further specifies a respective build operating system and a respective target operating system, and
wherein instantiating the respective build environment comprises instantiating the respective build environment using the respective build operating system, and
wherein compiling the set of source code in the respective build environment comprises generating the respective binary file for execution in the respective target operating system.

### Claim 4 (depends on 1)

The system of claim 1, wherein
each of the plurality of test scenarios further specifies a respective compilation method, and
wherein compiling the set of source code in the respective build environment comprises compiling the source code using the respective compilation method.

### Claim 5 (depends on 4)

The system of claim 4, wherein the respective compilation method includes one selected from a group consisting of a native compilation, an emulated compilation, and a cross-compilation.

### Claim 6 (depends on 1)

The system of claim 1, wherein the electronic processor is further configured to:
obtain a plurality of compute types; and
obtain a plurality of compilation methods,
wherein obtaining the plurality of test scenarios comprises generating the plurality of test scenarios based on permutations of the plurality of compute types and the plurality of compilation methods.

### Claim 7 (depends on 1)

The system of claim 1, wherein each of the plurality of compute types includes a respective build architecture and a respective target architecture and wherein the plurality of compilation methods includes a native compilation, a emulated compilation, and a cross-compilation.

### Claim 8 (depends on 1)

The system of claim 1, wherein instantiating the respective build environment includes copying application dependencies of the set of source code to a virtual machine.

### Claim 9 (depends on 1)

The system of claim 1, wherein instantiating the respective build environment includes instantiating a container.

### Claim 10 (depends on 1)

The system of claim 1, wherein the set of one or more metrics includes at least one selected from the group consisting of a file size of the respective binary file, a page size of the respective build environment, a number of CPUs in the respective build environment, a model of CPUs in the respective build environment, CPU flags in the respective build environment, and a number of strings included in the respective binary file.

### Claim 11

A system comprising:
an electronic processor configured to:
receive, via a user interface, user input indicating a plurality of build architectures to be used in compiling a set of source code;
instantiate a plurality of build environments, wherein each of the plurality of build environments is instantiated respectively according to the plurality of build architectures;
compile the set of source code in each of the plurality of build environments to generate a respective binary file; and
present, via the user interface, a respective set of one or more metrics corresponding to each respective binary file.

### Claim 12 (depends on 11)

The system of claim 11, wherein the user input received via the user interface further indicates a plurality of target architectures for execution of the binary files.

### Claim 13 (depends on 11)

The system of claim 11, wherein the user input received via the user interface further indicates a plurality of build operating systems, wherein each of the plurality of build environments is instantiated respectively according to the plurality of build operating systems.

### Claim 14 (depends on 11)

The system of claim 11, wherein the user input received via the user interface further indicates a plurality of target operating systems, wherein each respective binary file is generated respectively according to the plurality of target operating systems.

### Claim 15 (depends on 11)

The system of claim 11, wherein the user input received via the user interface further indicates a plurality of compilation methods, wherein compiling the set of source code in each of the plurality of build environments comprises compiling the set of source code respectively according to the plurality of compilation strategies.

### Claim 16 (depends on 11)

The system of claim 11, wherein the electronic processor is further configured to provide, via the user interface, a list of available build architectures and wherein the user input includes a selection of one or more build architectures from the list of available build architectures.

### Claim 17 (depends on 11)

The system of claim 11, wherein the electronic processor is configured to receive the user input indicating the plurality of build architectures via a dropdown menu included in the user interface.

### Claim 18

A method for testing binary files, the method comprising:
obtaining, with an electronic processor, a plurality of compute types and a plurality of compilation methods, each of the plurality of compute types specifying respective build architecture;
generating, with the electronic processor, a plurality of test scenarios based on permutations of the plurality of compute types and the plurality of compilation methods, wherein each of the plurality of test scenarios specifies a respective build architecture from the set of build architectures and a respective compilation method from the plurality of compilation methods; and
for each respective test scenarios of the plurality of test scenarios:
instantiating a respective build environment according to the respective build architecture,
compiling the set of source code in the respective build environment using the respective compilation method to generate a respective binary file, and
generating a respective set of one or more metrics for the respective binary file.

### Claim 19 (depends on 18)

The method of claim 18, wherein each of the plurality of compute types further specifies a respective target architecture and wherein compiling the set of source code in the respective build environment includes generating the respective binary file for the respective target architecture.

### Claim 20 (depends on 18)

The method of claim 18, wherein the set of one or more metrics includes at least one selected from the group consisting of a file size of the respective binary file, a page size of the respective build environment, a number of CPUs in the respective build environment, a model of CPUs in the respective build environment, CPU flags in the respective build environment, and a number of strings included in the respective binary file.
