pub fn write_field_bit_stats_csv(
results: &MergedAnalysisResults,
output_dir: &Path,
) -> Result<()>
Expand description
Writes CSV files containing bit-level statistics for each field.
This function generates a CSV file for each field, showing the counts of 0s and 1s at each bit offset within the field, along with the ratio of 0s to the total number of bits at that offset.
§Arguments
results
- The mergedAnalysisResults
object.output_dir
- The directory where the CSV files will be written.
§Returns
std::io::Result<()>
- Ok if successful, otherwise an error.