validate_data_section

Function validate_data_section 

Source
pub fn validate_data_section(
    data_section: &[u8],
    base_offset: usize,
    offsets_to_check: &[u32],
) -> DataFormatValidationResult
Expand description

Validate data section structure by attempting to decode values

This is a comprehensive validation that attempts to decode all reachable data values in a data section buffer.

§Arguments

  • data_section - Raw data section bytes
  • base_offset - Base offset for pointer calculations
  • offsets_to_check - Specific offsets to validate (if empty, validates entire section)

§Returns

Validation result with errors, warnings, and statistics