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

Resource and strictness controls for class-file decoding. More...

#include <class_file.hpp>

Public Attributes

processing_mode mode {processing_mode::strict}
 Strict validation or loss-preserving tooling behavior.
 
std::size_t maximum_attribute_length {256U * 1024U * 1024U}
 Largest individual attribute payload accepted.
 
std::size_t maximum_total_attribute_bytes {1024U * 1024U * 1024U}
 Aggregate attribute payload budget.
 
std::size_t maximum_nesting_depth {256}
 Maximum recursive annotation and attribute depth.
 
std::size_t maximum_structure_nodes {1'000'000}
 Maximum decoded aggregate nodes.
 

Detailed Description

Resource and strictness controls for class-file decoding.

Definition at line 24 of file class_file.hpp.

Member Data Documentation

◆ maximum_attribute_length

std::size_t rpnx::cortado::class_file_read_options::maximum_attribute_length {256U * 1024U * 1024U}

Largest individual attribute payload accepted.

Definition at line 27 of file class_file.hpp.

◆ maximum_nesting_depth

std::size_t rpnx::cortado::class_file_read_options::maximum_nesting_depth {256}

Maximum recursive annotation and attribute depth.

Definition at line 29 of file class_file.hpp.

◆ maximum_structure_nodes

std::size_t rpnx::cortado::class_file_read_options::maximum_structure_nodes {1'000'000}

Maximum decoded aggregate nodes.

Definition at line 30 of file class_file.hpp.

◆ maximum_total_attribute_bytes

std::size_t rpnx::cortado::class_file_read_options::maximum_total_attribute_bytes {1024U * 1024U * 1024U}

Aggregate attribute payload budget.

Definition at line 28 of file class_file.hpp.

◆ mode

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

Strict validation or loss-preserving tooling behavior.

Definition at line 26 of file class_file.hpp.


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