RPNXCortado
C++23 JVM class-file, bytecode, validation, and JAR toolkit
Loading...
Searching...
No Matches
rpnx::cortado::code_build_options Struct Reference

Controls automatic Code metadata generation. More...

#include <builders.hpp>

Public Attributes

std::optional< std::uint16_t > max_stack
 Exact requested maximum, or no value to use the analyzed requirement.
 
std::optional< std::uint16_t > max_locals
 Exact requested maximum, or no value to use the analyzed requirement.
 
bool perform_dataflow_analysis {true}
 Compute stack/local requirements and verifier states.
 
bool generate_stack_map_table {true}
 Emit analyzed frames unless an exact table was supplied.
 
processing_mode mode {processing_mode::strict}
 Strictness used while encoding the assembled code.
 

Detailed Description

Controls automatic Code metadata generation.

Definition at line 325 of file builders.hpp.

Member Data Documentation

◆ generate_stack_map_table

bool rpnx::cortado::code_build_options::generate_stack_map_table {true}

Emit analyzed frames unless an exact table was supplied.

Definition at line 330 of file builders.hpp.

◆ max_locals

std::optional< std::uint16_t > rpnx::cortado::code_build_options::max_locals

Exact requested maximum, or no value to use the analyzed requirement.

Definition at line 328 of file builders.hpp.

◆ max_stack

std::optional< std::uint16_t > rpnx::cortado::code_build_options::max_stack

Exact requested maximum, or no value to use the analyzed requirement.

Definition at line 327 of file builders.hpp.

◆ mode

processing_mode rpnx::cortado::code_build_options::mode {processing_mode::strict}

Strictness used while encoding the assembled code.

Definition at line 331 of file builders.hpp.

◆ perform_dataflow_analysis

bool rpnx::cortado::code_build_options::perform_dataflow_analysis {true}

Compute stack/local requirements and verifier states.

Definition at line 329 of file builders.hpp.


The documentation for this struct was generated from the following file: