Expand description
Stack-safe parsing utilities
This module provides utilities for parsing deeply nested PDF structures without risking stack overflow. It implements recursion limits and iterative alternatives to recursive algorithms.
Structs§
- Recursion
Guard - RAII guard for recursion depth tracking
- Reference
Stack Guard - RAII guard for reference stack tracking
- Stack
Safe Context - Stack-safe parsing context
Constants§
- MAX_
RECURSION_ DEPTH - Maximum recursion depth for PDF parsing operations
- PARSING_
TIMEOUT_ SECS - Timeout for long-running parsing operations (in seconds)