Impossible OS Docs

Kernel Test Coverage

Auto-generated by scripts/test-coverage.sh -- do not edit manually.

File Suites Assertions Suite Names
test_ab_boot.c 38 66 test_ab_boot_default_is_valid, test_ab_boot_validate_rejects_bad_magic, test_ab_boot_validate_rejects_bad_version, test_ab_boot_validate_rejects_reserved_nonzero, test_ab_boot_validate_rejects_bad_active_slot, test_ab_boot_validate_rejects_bad_crc, test_ab_boot_validate_rejects_oob_tries, test_ab_boot_validate_rejects_oob_successful, test_ab_boot_crc_excludes_crc_field, test_ab_boot_select_newest_higher_generation_wins, test_ab_boot_select_newest_one_invalid, test_ab_boot_select_newest_both_invalid, test_ab_choose_fresh_prefers_a, test_ab_choose_rolls_back_exhausted_slot, test_ab_choose_rolls_back_once_successful_exhausted, test_ab_choose_higher_priority_wins, test_ab_choose_successful_breaks_priority_tie, test_ab_choose_lower_tries_breaks_tie, test_ab_choose_both_exhausted_falls_back_to_active, test_ab_all_exhausted_true_when_both_at_max, test_ab_all_exhausted_false_when_one_viable, test_ab_least_bad_prefers_successful, test_ab_decide_normal_reports_no_rollback, test_ab_decide_classifies_rollback, test_ab_decide_priority_choice_is_not_rollback, test_ab_decide_classifies_both_exhausted, test_ab_reconcile_primary_has_md, test_ab_reconcile_backup_recovers, test_ab_reconcile_both_valid_no_md, test_ab_reconcile_corrupt_states_fail_closed, test_ab_gpt_ixfs_slot_a, test_ab_gpt_ixfs_slot_b, test_ab_gpt_ixfs_slot_non_ixfs, test_ab_write_target_overwrites_invalid_first, test_ab_write_target_overwrites_older_when_both_valid, test_ab_next_generation_strictly_greater, test_ab_next_generation_ceiling, test_ab_write_compose_at_ceiling_wins
test_acpi_ec.c 42 168 test_ec_ecdt_valid_parses, test_ec_ecdt_null_args_rejected, test_ec_ecdt_length_boundary, test_ec_ecdt_rejects_memory_space, test_ec_ecdt_rejects_bad_register_geometry, test_ec_ecdt_accepts_undefined_access_width, test_ec_ecdt_rejects_bad_addresses, test_ec_i8042_conflict_depends_on_the_platform, test_ec_block_read_bounded_when_the_clock_is_frozen, test_ec_block_read_has_a_whole_operation_budget, test_ec_ecdt_accepts_port_extremes, test_ec_ecdt_high_address_bytes_honoured, test_ec_rejects_incomplete_backend, test_ec_rejects_invalid_arguments, test_ec_read_round_trip, test_ec_write_changes_the_addressed_register, test_ec_intermediate_handshake_waits_exist, test_ec_post_issue_failure_marks_desync, test_ec_desync_blocks_until_recovered, test_ec_desync_is_terminal_even_when_idle, test_ec_late_response_is_not_returned_to_the_next_caller, test_ec_read_times_out_on_missing_output, test_ec_frozen_clock_cannot_remove_the_bound, test_ec_backward_clock_does_not_fake_a_timeout, test_ec_stale_output_is_flushed, test_ec_flush_clears_a_single_stale_byte, test_ec_flush_gives_up_on_wedged_controller, test_ec_block_read_returns_consecutive_registers, test_ec_block_read_survives_bad_burst_ack, test_ec_block_read_handles_ack_without_burst_bit, test_ec_block_read_fails_closed_on_late_burst_ack, test_ec_block_read_fails_closed_when_burst_is_ignored, test_ec_block_read_fails_closed_when_burst_will_not_clear, test_ec_block_read_survives_dropped_burst, test_ec_block_read_reports_transaction_error, test_ec_block_read_rejects_bad_counts, test_ec_block_read_address_extremes, test_ec_public_api_gated_on_readiness, test_ec_readiness_implies_discovery, test_ec_argument_checks_precede_readiness, test_ec_get_ports_matches_discovery, test_ec_port_quirk_swaps_only_when_asked
test_acpi_global_lock.c 7 20 test_acpi_glock_acquire_uncontended, test_acpi_glock_acquire_contended, test_acpi_glock_release_uncontended, test_acpi_glock_release_contended, test_acpi_glock_preserves_upper_bits, test_acpi_glock_null_is_not_a_fault, test_acpi_glock_round_trip
test_acpi_power.c 52 135 test_acpi_discovery_extent_guard, test_acpi_btn_resolve_in_range_preserved, test_acpi_btn_resolve_absent_uses_default, test_acpi_btn_resolve_out_of_range_uses_default, test_acpi_btn_availability, test_acpi_btn_power_default_is_actionable, test_acpi_btn_drain_edges, test_acpi_btn_drain_full_width, test_acpi_btn_plan_burst_collapses, test_acpi_btn_plan_idle_pass, test_acpi_btn_plan_press_during_action, test_acpi_btn_plan_drains_both, test_acpi_btn_plan_null_outputs, test_acpi_btn_none_is_not_an_action, test_acpi_btn_policy_key_exists, test_acpi_btn_dispatch_count_monotonic, test_acpi_btn_cached_matches_registry, test_acpi_btn_drain_wrap, test_acpi_btn_drain_null_seen, test_acpi_btn_gate_single_entry, test_acpi_btn_cached_actions_in_range, test_acpi_s5_always_supported, test_acpi_s5_slp_typa_valid, test_acpi_invalid_state_not_supported, test_acpi_invalid_state_slp_typa, test_acpi_sleep_states_consistent, test_acpi_enter_unsupported_fails, test_acpi_enter_invalid_fails, test_acpi_enter_s5_rejected, test_acpi_parse_byteprefix, test_acpi_parse_wordprefix, test_acpi_parse_zero_one_ops, test_acpi_parse_independent_typb, test_acpi_parse_wide_value_truncated_not_rejected, test_acpi_parse_truncated_package, test_acpi_parse_absent_object, test_acpi_parse_packed_single_element, test_acpi_parse_pkglength_overrun_rejected, test_acpi_parse_pkglength_past_table_rejected, test_acpi_parse_packed_reserved_bytes_ignored, test_acpi_parse_second_element_undecodable, test_acpi_table_valid_accepts_good, test_acpi_table_valid_rejects_bad_checksum, test_acpi_table_valid_rejects_oversized_length, test_acpi_table_valid_rejects_short_length, test_acpi_table_valid_rejects_wrong_signature, test_acpi_enter_s3_refused, test_acpi_enter_s4_refused, test_acpi_s5_query_self_consistent, test_acpi_s0ix_null_and_short_refuse, test_acpi_s0ix_reads_bit21, test_acpi_s0ix_wrapper_matches_pure
test_alpc.c 65 270 test_alpc_port_message_layout, test_alpc_msg_types_unique, test_alpc_portflg_nonoverlap, test_alpc_msgflg_nonoverlap, test_alpc_sqos_layout, test_alpc_port_attributes_layout, test_alpc_port_type_registered, test_alpc_rpc_control_directory, test_alpc_create_unnamed_port, test_alpc_create_named_port, test_alpc_duplicate_name_rejected, test_alpc_null_handle_table_rejected, test_alpc_embedded_backslash_rejected, test_alpc_privileged_flag_rejected, test_alpc_reserved_pad_rejected, test_alpc_syscall_full_path, test_alpc_syscall_bad_prefix_rejected, test_alpc_connect_nonexistent, test_alpc_connect_type_mismatch, test_alpc_accept_handshake, test_alpc_reject_handshake, test_alpc_disconnect_queues_close_msg, test_alpc_connect_timeout, test_alpc_accept_timeout, test_alpc_disconnect_unconnected, test_alpc_datagram_delivery, test_alpc_sync_request_reply, test_alpc_reply_mismatch, test_alpc_send_too_large, test_alpc_receive_empty_no_wait, test_alpc_sync_wait_disconnect, test_alpc_pool_quota_exceeded, test_alpc_receive_fifo_truncation, test_alpc_sync_timeout_late_reply, test_alpc_disconnect_then_send, test_alpc_port_closed_marker_uncharged, test_alpc_message_quota_roundtrip, test_alpc_message_quota_returned_on_teardown, test_alpc_message_quota_refusal_status, test_alpc_quota_refused_send_allocates_nothing, test_alpc_quota_returned_when_entry_alloc_fails, test_alpc_allocate_message_bad_args, test_alpc_remote_disconnect_then_send, test_alpc_sync_no_peer, test_alpc_syscall_validation, test_alpc_kmalloc_fail_rollback, test_alpc_reply_body_cap_clamped, test_alpc_two_port_lock_order_stress, test_alpc_completion_list_item_layout, test_alpc_waitable_port_signal, test_alpc_nonwaitable_rejects, test_alpc_associate_completion_port, test_alpc_associate_bad_iocp, test_alpc_setinfo_unknown_class, test_alpc_owner_sid_snapshot, test_alpc_required_sid_mismatch, test_alpc_required_sid_match, test_alpc_capture_and_impersonate, test_alpc_impersonate_identification_rejected, test_alpc_impersonate_no_token, test_alpc_impersonate_wrong_port_type, test_alpc_impersonate_repeated, test_alpc_impersonate_user_mode_same_identity, test_alpc_client_qos_caps_listener, test_alpc_impersonate_user_mode_no_amplification
test_bare_metal.c 29 194 test_bm_mmio_uc_maps_lapic, test_bm_ist_stacks_allocated, test_bm_ist_index_maps_to_the_right_field, test_bm_acpi_capability_gates_are_boolean, test_bm_acpi_wrappers_delegate_to_their_own_evaluator, test_bm_acpi_no_fadt_defaults_to_legacy_present, test_bm_acpi_hw_reduced_overrides_legacy_bits, test_bm_acpi_unrelated_flags_are_not_hw_reduced, test_bm_acpi_legacy_table_honors_boot_arch_bits, test_bm_acpi_short_table_is_not_read_past, test_bm_degraded_mask_is_well_formed, test_bm_cpu_hardening_verified_by_smoke, test_bm_bsp_entry_stack_is_page_aligned, test_bm_bsp_entry_stack_guard_is_registered, test_bm_bsp_entry_stack_peak_is_bounded, test_bm_df_classifier_names_the_guard, test_bm_df_classifier_uses_the_guard_registry, test_bm_kstack_accepts_a_well_formed_handoff, test_bm_kstack_refuses_each_malformed_shape, test_bm_kstack_refusal_leaves_the_output_untouched, test_bm_kstack_contains_bounds_the_usable_span, test_bm_kstack_scan_first_poison_is_the_mirror_scan, test_bm_kstack_image_envelope_covers_image_and_bitmap, test_bm_kstack_image_envelope_rejects_the_load_address, test_bm_kstack_contains_rejects_wrap_and_invalid, test_bm_kstack_live_run_is_reserved_and_measured, test_bm_kstack_accepts_at_the_exact_contract_bounds, test_bm_kstack_scan_finds_the_lowest_touched_qword, test_bm_pmm_frame_is_free_is_calibrated
test_blackbox.c 12 10 test_bb_mounted, test_bb_logs_dir, test_bb_boot_dir, test_bb_crash_dir, test_bb_crash_wer_dir, test_bb_perf_dir, test_bb_diag_dir, test_bb_tools_dir, test_bb_klog_dir, test_bb_volume_label, test_bb_free_space, test_bb_mkdir_idempotent
test_boot_audit.c 22 41 test_sticky_record_size, test_sticky_record_offsets, test_sticky_crc_roundtrip_valid, test_sticky_crc_detects_byte_flip, test_sticky_rejects_bad_magic, test_sticky_rejects_wrong_version, test_sticky_rejects_wrong_size, test_sticky_zeroed_record_invalid, test_audit_event_mapping, test_audit_event_mapping_out_of_range, test_audit_event_name_known, test_audit_event_name_unknown, test_rotate_threshold, test_audit_compose_line_worst_case, test_audit_compose_audit_degraded_override, test_audit_compose_first_boot_override, test_audit_compose_first_boot_gated_on_present, test_ack_classify_recovery_consumed, test_ack_classify_recovery_unconsumed_fallthrough, test_ack_classify_watchdog_consumed, test_ack_classify_watchdog_unconsumed_other_reason, test_ack_classify_both_set_neither_consumed
test_boot_caps.c 15 32 test_boot_caps_null_info, test_boot_caps_happy_path, test_boot_caps_happy_with_degraded, test_boot_caps_unknown_required_rejected, test_boot_caps_required_is_known, test_boot_caps_unclassified_known_rejected, test_boot_caps_required_and_degraded_rejected, test_boot_caps_present_and_degraded_rejected, test_boot_caps_unknown_present_tolerated, test_boot_caps_mask_known_is_stable, test_boot_caps_bit_name, test_boot_caps_mask_known_matches_list, test_boot_caps_require_basics, test_boot_caps_mark_present_promotes, test_boot_caps_mark_present_unknown_bits_masked
test_boot_decision.c 49 102 test_boot_decision_null_info, test_boot_decision_cold_boot_happy, test_boot_decision_recovery_boot_happy, test_boot_decision_network_boot_happy, test_boot_decision_rejected_resume_fallback_happy, test_boot_decision_bad_path_rejected, test_boot_decision_bad_reason_rejected, test_boot_decision_unknown_flag_rejected, test_boot_decision_fallback_depth_cap, test_boot_decision_fallback_depth_at_cap, test_boot_decision_all_known_flags_accepted, test_boot_decision_trigger_flag_without_reason_rejected, test_boot_decision_unset_path_rejected, test_boot_decision_reason_requires_path, test_boot_decision_reason_forbids_path, test_boot_decision_media_role_installer_happy, test_boot_decision_media_role_recovery_happy, test_boot_decision_media_role_normal_path_rejected, test_boot_media_role_layout, test_boot_media_role_name_canonical, test_boot_decision_media_role_range_normal_boot, test_boot_decision_media_role_unset_rejected, test_boot_decision_media_role_mismatch_nonboolean, test_boot_decision_media_role_mismatch_path_role_rejected, test_boot_decision_media_role_mismatch_flag_rejected, test_boot_decision_media_role_table_driven, test_boot_decision_fallback_requires_fallback_reason, test_boot_decision_reason_requires_flag, test_boot_decision_boot_current_mismatch_fixture, test_boot_decision_fallback_class_reasons_accepted, test_boot_decision_names, test_boot_decision_mask_known_stable, test_boot_trust_layout, test_boot_trust_bit_names, test_boot_trust_mask_known_stable, test_boot_decision_trust_flags_in_mask_accepted, test_boot_decision_trust_flags_zero_accepted, test_boot_decision_trust_flags_unknown_rejected, test_boot_decision_v19_unset_selection_reason_fatal, test_boot_decision_v19_oor_selection_reason_fatal, test_boot_decision_v19_non_nul_terminated_id_fatal, test_boot_decision_v19_empty_id_with_non_store_invalid_fatal, test_boot_decision_v19_store_invalid_with_empty_id_ok, test_boot_decision_v19_rejected_count_oor_fatal, test_boot_decision_v19_rejected_overflow_non_boolean_fatal, test_boot_decision_v19_rejected_none_sentinel_fatal, test_boot_decision_v19_rejected_empty_id_fatal, test_boot_decision_v19_rejected_id_not_nul_terminated_fatal, test_boot_decision_trust_unreadable_trio
test_boot_device.c 18 45 test_boot_media_classify, test_boot_media_is_usb_class, test_boot_device_type_valid, test_boot_device_path_nonempty, test_boot_device_type_known, test_partition_style_gpt, test_partition_guid_nonzero, test_removable_sata, test_media_present, test_boot_order_count_bounded, test_registry_boot_device_type, test_boot_option_support_reserved_bits_zero, test_boot_description_nul_terminated, test_boot_current_attrs_active_consistency, test_registry_boot_var_caps_match_boot_info, test_boot_pci_sentinel_or_valid, test_boot_nvme_consistency, test_registry_boot_path_detail
test_boot_diag.c 15 207 test_panic_evidence, test_panic_crc_table_matches_bitwise, test_panic_evidence_populate_derives_ctx_once, test_panic_evidence_populate_honours_ctx, test_panic_evidence_epoch, test_klog_panic_snapshot, test_loader_identity_format, test_kdate_iso8601_fmt, test_boot_load_status, test_cache_line_size_contract, test_cache_writeback_preserves_contents, test_evidence_record_survives_its_own_persist, test_cache_decode_line_size_rejections, test_cache_plan_range_boundaries, test_klog_crash_region_publishes_magic_last
test_boot_entry_kind.c 32 46 test_split_valid_minimal, test_split_full_payload, test_split_missing_kernel, test_split_no_payload_object, test_split_path_escape, test_split_disallowed_prefix, test_split_rejects_nested_bare_path, test_split_rejects_nested_vendor_path, test_split_accepts_single_segment_bare_path, test_split_unknown_key_skipped, test_uki_no_payload, test_uki_empty_payload_object, test_uki_payload_without_uki_path_rejected, test_uki_cmdline_smuggle_rejected, test_uki_kernel_override_rejected, test_uki_uki_path_accepted, test_uki_path_impossibleos_prefix_accepted, test_uki_path_bad_prefix_rejected, test_uki_path_bare_segment_rejected, test_uki_path_traversal_rejected, test_uki_path_empty_string_rejected, test_uki_uki_path_with_profile, test_uki_profile_negative_rejected, test_uki_profile_overflow_rejected, test_uki_profile_decimal_rejected, test_safe_valid, test_safe_with_custom_kernel_path, test_chainload_stub, test_network_stub, test_resume_stub, test_reject_name_table, test_decoded_zero_after_reject
test_boot_entry_parser.c 65 127 test_parser_valid_minimal, test_parser_bad_schema_version, test_parser_zeroes_output_before_validation, test_parser_no_entries, test_parser_missing_payload, test_parser_bad_crc, test_parser_unknown_string_kind_skipped, test_parser_stable_numeric_unknown_rejected, test_parser_duplicate_id, test_parser_id_not_kebab, test_parser_malformed_payload_rejected, test_parser_empty_machine_id_accepted, test_parser_chainload_passes_under_secure_boot, test_parser_depth_bomb, test_parser_trailing_garbage_rejected, test_parser_bad_string_escape_rejected, test_parser_flags_trailing_comma_rejected, test_parser_entry_object_trailing_comma_rejected, test_parser_top_level_trailing_comma_rejected, test_parser_fallback_uki, test_parser_fallback_split, test_bls_sort_by_sort_key_then_id, test_bls_sort_machine_id_tiebreak, test_parser_health_subset_valid, test_parser_health_subset_absent_accepted, test_parser_health_subset_rejects_non_array, test_parser_health_subset_rejects_overflow, test_parser_health_subset_rejects_empty_name, test_parser_health_subset_rejects_oversize_name, test_parser_health_subset_rejects_backslash_in_name, test_parser_health_subset_rejects_trailing_comma, test_parser_repeated_entries_key_rejected, test_parser_duplicate_id_across_entries_keys_rejected, test_parser_repeated_schema_version_rejected, test_parser_repeated_crc32_rejected, test_parser_repeated_unknown_top_level_key_rejected, test_parser_repeated_entry_object_key_rejected, test_parser_escaped_top_level_key_rejected, test_parser_escaped_entry_key_rejected, test_parser_many_distinct_keys_accepted, test_parser_prefix_sharing_keys_accepted, test_parser_repeated_entries_behind_nest6, test_parser_repeated_entries_behind_nest7, test_parser_repeated_entries_behind_nest8, test_parser_deep_extension_single_entries_accepted, test_parser_entry_ext_depth8_accepted, test_parser_entry_ext_depth9_rejected, test_parser_rescan_reports_failure_not_absence, test_parser_rescan_finds_and_misses_correctly, test_parser_skip_value_depth_budget, test_parser_entries_retain_bound, test_parser_crc_locate_control, test_parser_crc_decoy_string_value, test_parser_crc_decoy_nested_member, test_parser_crc_decoy_escaped_and_array, test_parser_crc_header_after_deep_value, test_parser_crc_header_after_over_budget_value, test_parser_crc_uppercase_prefix_rejected, test_parser_crc_value_shapes_rejected, test_parser_crc_malformed_before_header, test_parser_crc_broken_root_is_malformed, test_parser_crc_absent_root_member, test_reject_name_table_complete, test_reject_cause_table_complete, test_store_notice_gate
test_boot_health.c 5 15 test_secureboot_unknown_wins, test_secureboot_setup_beats_enabled, test_secureboot_enabled_disabled, test_secureboot_name_decoder, test_secureboot_full_truth_table
test_boot_health_check.c 35 46 test_mark_good_size, test_cur_boot_ctr_size, test_mark_good_offsets, test_subset_offsets, test_mark_good_valid, test_mark_good_rejects_bad_magic, test_mark_good_rejects_bad_version, test_mark_good_rejects_empty_id, test_mark_good_rejects_non_terminated_id, test_mark_good_rejects_nonzero_reserved, test_mark_good_rejects_byte_flip, test_cur_boot_ctr_distinct_magic, test_subset_valid, test_subset_empty_valid, test_subset_rejects_overflow_count, test_subset_rejects_empty_name, test_subset_rejects_unzeroed_unused_slot, test_subset_rejects_non_printable_name, test_subset_rejects_backslash_in_name, test_subset_boundary_max_count, test_aggregate_all_ok_passes, test_aggregate_hard_fail_blocks, test_aggregate_soft_fail_blocks, test_aggregate_skipped_blocks, test_aggregate_no_required_blocks, test_subset_filter_empty_runs_all, test_subset_filter_matches, test_subset_filter_rejects_null, test_registry_register_and_count, test_registry_rejects_duplicate, test_registry_rejects_bad_kind, test_registry_rejects_null_fn, test_registry_rejects_empty_name, test_registry_full_capacity, test_registry_defaults_idempotent
test_boot_history.c 13 28 test_boot_history_struct_size, test_boot_history_field_offsets, test_decode_sentinels, test_decode_bootloader_phases, test_decode_unknown_falls_back_to_hex, test_decode_handles_tiny_buffer, test_ring_wrap_overwrites_oldest, test_ring_wrap_guard_against_seq_zero, test_count_empty_ring_is_zero, test_count_full_ring, test_torn_append_filtered_out, test_committed_cookie_passes_all_entries, test_zero_cookie_filters_everything
test_boot_info.c 70 150 test_validate_addr_null, test_validate_addr_below_floor, test_validate_addr_misaligned, test_validate_addr_size_too_small, test_validate_addr_size_too_large, test_validate_addr_wraparound, test_validate_addr_over_max, test_validate_addr_bound_straddle, test_validate_addr_ok_early_map, test_validate_addr_ok_kernel_va, test_validate_addr_min_addr_ok, test_validate_addr_end_exactly_max_ok, test_validate_addr_size_uint16_max_ok, test_validate_header_null, test_validate_header_bad_magic, test_validate_header_bad_version, test_validate_header_bad_size, test_validate_header_ok, test_validate_combined_null, test_validate_combined_bad_magic, test_validate_combined_ok, test_validate_addr_fuzz_sweep, test_validate_header_fuzz_perturbations, test_validate_combined_misaligned_short_circuits, test_payload_empty_valid, test_payload_count_out_of_range, test_payload_prefix_violated, test_payload_range_wrap, test_payload_overlap_boot_info, test_payload_overlap_framebuffer, test_payload_overlap_rt_mmap, test_payload_overlap_usb_dma, test_payload_descriptor_overlap_exact_duplicate, test_payload_descriptor_overlap_partial, test_payload_descriptor_overlap_adjacent_ok, test_payload_warm_update_required_with_cont_accepted, test_payload_warm_update_required_with_unknown_rejected, test_payload_missing_valid_flag, test_payload_warm_update_cold_fallback_accepted, test_payload_warm_update_reserved_only_rejected, test_payload_warm_update_checksummed_only_rejected, test_payload_bad_alignment, test_payload_unknown_type_required_fatal, test_payload_unknown_type_optional_accepted, test_payload_unknown_flags_required_fatal, test_payload_total_mismatch, test_payload_two_descriptors_ok, test_payload_empty_slot_in_prefix, test_payload_none_with_length_rejected, test_payload_none_with_flags_rejected, test_payload_none_past_prefix_with_phys_start_rejected, test_payload_find_returns_nth_of_type, test_payload_find_skips_retired_descriptors, test_payload_find_rejects_null_info_and_none_type, test_payload_find_rejects_out_of_range_count, test_payload_desc_size_pin, test_payload_phys_unaligned_vs_required_alignment, test_payload_aggregate_total_wrap, test_payload_retained_rt_mmap_wrap_rejected, test_payload_retained_fb_wrap_rejected, test_payload_overflow_truncated_rejected, test_boot_loader_identity_layout_pinned, test_boot_info_v20_tail, test_boot_info_loader_identity_offset_stable, test_boot_loader_identity_zero_default, test_ab_status_published_gate, test_implicit_reservation_covers_every_publisher, test_implicit_claim_serves_both_in_either_order, test_implicit_claim_refusals, test_payload_table_exactly_full_with_both_implicit
test_boot_init.c 23 88 test_boot_result_values, test_subsys_set_ready_true, test_subsys_set_ready_false, test_subsys_out_of_range, test_boot_require_fails_when_not_ready, test_boot_require_passes_when_ready, test_boot_progress_null_step, test_post_codes_nonzero_and_unique, test_subsys_enum_layout, test_boot_step_readiness_mapping, test_kernel_subsystem_dump_emits, test_postcode_phase_constants, test_boot_defer_null_fn, test_boot_deferred_value, test_boot_defer_register, test_deferred_post_codes, test_boot_perf_record_size, test_bootperf_post_codes, test_async_post_codes, test_async_ipi_vector, test_cr_verify_ipi_vector, test_subsys_phase0_propagation_slots, test_subsys_apply_result_dual_channel
test_boot_perf_budget.c 15 22 test_budget_classify_zero_target, test_budget_classify_well_under, test_budget_classify_at_target, test_budget_classify_at_soft_boundary, test_budget_classify_just_above_soft, test_budget_classify_at_hard_boundary, test_budget_classify_just_above_hard, test_budget_classify_extreme_overrun, test_budget_lookup_known_step, test_budget_lookup_unknown_step, test_budget_lookup_null_step, test_budget_lookup_desktop_ready_excluded, test_budget_table_size, test_budget_table_all_have_step_and_reason, test_budget_get_oob_returns_null
test_boot_policy.c 52 199 test_counter_filename_roundtrip, test_counter_filename_two_digit_done, test_counter_filename_rejects_bad_grammar, test_counter_filename_boundary_caps, test_ladder_kind_skipped_recorded, test_ladder_hidden_filtered, test_ladder_empty_local_machine_id, test_ladder_ab_slot_picks_index, test_ladder_priority_watchdog_beats_recovery, test_ladder_empty_store_is_no_viable, test_ladder_watchdog_only_peak_is_no_viable, test_ladder_null_counters_with_count_safe, test_ladder_path_escape_demote_keeps_other_viable, test_ladder_zeroed_inputs_no_ab_default, test_parser_empty_machine_id_wildcard, test_counter_dedup_insert_raw_duplicates, test_counter_dedup_insert_cap_full, test_menu_should_show_store_default_two_entries, test_menu_should_show_forced_selection_skips, test_menu_should_show_soft_reasons_render, test_menu_collect_filters_hidden_and_skipped, test_menu_collect_rejected_store_offers_nothing, test_menu_collect_accepted_store_still_collects, test_menu_collect_demote_not_drop_on_tries_exhausted, test_menu_collect_filters_hard_hide_reasons, test_menu_helpers_null_and_zero_cap_guards, test_menu_collect_default_not_found_when_truncated, test_menu_collect_default_not_found_when_filtered, test_menu_collect_no_anchor_when_id_empty, test_menu_collect_cap_enforced, test_counter_torn_duplicate_resolution, test_ladder_supported_kinds_mask_filters_unavailable, test_ladder_supported_kinds_mask_rejects_kind_ge_32, test_kind_to_path_recovery, test_kind_to_path_diagnostics, test_kind_to_path_network, test_kind_to_path_resume, test_kind_to_path_split_is_no_op, test_ladder_uki_mode_rejects_split_entry, test_ladder_split_mode_rejects_uki_entry, test_ladder_counters_overflow_fails_closed, test_ladder_uki_mode_propagates_to_fallback, test_ladder_store_default_picks_lowest_sort_key, test_ladder_inactive_filtered_into_rejected, test_ladder_machine_id_filter, test_ladder_tries_exhausted, test_ladder_recovery_picks_recovery_kind, test_ladder_watchdog_skips_peak_done, test_ladder_invalid_store_falls_back, test_ladder_hotkey_overrides_store_default, test_ladder_bootnext_hint_promotes, test_ladder_path_escape_under_secure_boot
test_boot_reserved.c 37 163 test_boot_reserved_warm_update_order_independent, test_boot_reserved_warm_update_matches_consumer, test_boot_reserved_warm_update_duplicates_refused, test_boot_reserved_warm_update_identity_agrees, test_boot_reserved_warm_update_pinned_is_the_commit, test_boot_reserved_warm_update_seals_continuation_bits, test_boot_warm_update_selection_refusal_classes, test_boot_warm_update_selection_input_bounds, test_boot_reserved_seed_is_repeatable, test_boot_reserved_pinned_is_identity_bound, test_boot_reserved_payload_is_pinned_query, test_boot_reserved_singleton_across_passes, test_boot_reserved_singleton_after_budget_reject, test_boot_reserved_payload_length_contract, test_boot_reserved_payload_singleton, test_boot_reserved_payload_budget, test_boot_reserved_payload_required_first, test_boot_payload_length_contract_matrix, test_boot_payload_budget_admits_bounds, test_boot_reserved_populate_happy_path, test_boot_reserved_payload_reserved_flag, test_boot_reserved_overlap_rejected, test_boot_reserved_range_wrap_rejected, test_boot_reserved_rt_mmap_count_oor, test_boot_reserved_rt_mmap_num_pages_wrap, test_boot_reserved_xhci_scratchpad_no_self_overlap, test_boot_reserved_scratchpad_array_multi_page, test_boot_reserved_null_info, test_boot_reserved_rt_mmap_runtime_services_degraded_skipped, test_boot_reserved_warm_update_no_flag_skipped, test_boot_reserved_warm_update_with_flag_pinned, test_boot_reserved_tpm_log_degraded_skipped, test_boot_reserved_payload_count_oor_still_rejected_with_degraded_caps, test_boot_reserved_boot_stack_entry, test_boot_reserved_boot_stack_absent_when_unpublished, test_boot_reserved_boot_stack_overlap_rejected, test_boot_reserved_payload_vs_pmm_internal
test_boot_rollback.c 28 85 test_boot_rollback_null_info, test_boot_rollback_first_ever_boot, test_boot_rollback_equal_versions, test_boot_rollback_unknown_flag_rejected, test_boot_rollback_version_oor_rejected, test_boot_rollback_reserved_pad_nonzero_rejected, test_boot_rollback_refusal_flag_warning, test_boot_rollback_read_failed_flag_accepted, test_boot_rollback_should_raise_opt_out, test_boot_rollback_should_raise_opt_in, test_boot_rollback_should_raise_downgrade_impossible, test_boot_rollback_should_raise_null_safe, test_boot_rollback_raise_withheld_without_steady, test_boot_rollback_mark_steady_latches, test_boot_rollback_raise_one_shot_opt_out, test_boot_rollback_request_raise_sync_fallback, test_boot_rollback_request_raise_pre_steady_no_latch, test_boot_rollback_was_raised_reset_clears, test_boot_rollback_retry_transient_then_success, test_boot_rollback_retry_exhaustion_caps_attempts, test_boot_rollback_terminal_status_not_retried, test_boot_rollback_retry_excludes_concurrent_request, test_boot_rollback_out_of_resources_is_retried, test_boot_rollback_transient_then_terminal_stops, test_boot_rollback_unknown_status_is_terminal, test_boot_rollback_succeeds_on_final_attempt, test_boot_rollback_retry_scheduling_failure_is_terminal, test_boot_rollback_backoff_progression
test_boot_seed.c 1 5 test_boot_seed_record_sources_gate
test_boot_timing.c 10 13 test_fpdt_unreliable_when_unavailable, test_fpdt_unreliable_when_all_zero, test_fpdt_reliable_clean_record, test_fpdt_unreliable_non_monotonic, test_fpdt_unreliable_zero_after_nonzero, test_fpdt_reliable_leading_zero, test_fpdt_unreliable_implausible_large, test_fpdt_unreliable_zero_anchor, test_fpdt_get_entries_emits_fixed_set, test_fpdt_get_entries_cap_zero
test_boot_trend.c 5 12 test_median3_basic, test_growth_pct_zero_prior, test_growth_pct_no_growth, test_growth_pct_canonical_alarm_fixture, test_growth_pct_threshold_boundary
test_boot_version.c 14 55 test_boot_version_classify_happy, test_boot_version_classify_null_hdr, test_boot_version_classify_bad_magic, test_boot_version_classify_bad_version, test_boot_version_classify_bad_size, test_boot_version_record_size_pin, test_boot_version_fault_class_name_coverage, test_boot_version_hint_rollback_wording, test_boot_version_hint_abi_drift_wording, test_boot_version_hint_bad_sha_distinct, test_boot_version_hint_bad_parse_distinct, test_boot_version_hint_pairwise_distinct, test_boot_version_hint_abi_drift_mentions_reflash, test_boot_version_pt_load_forbidden_wording
test_boot_warm_update.c 14 30 test_boot_wu_length_contract, test_boot_wu_null_desc, test_boot_wu_wrong_type, test_boot_wu_empty_length, test_boot_wu_unaligned_phys, test_boot_wu_length_not_page_multiple, test_boot_wu_unknown_cont_flag, test_boot_wu_missing_valid_flag, test_boot_wu_missing_reserved_flag, test_boot_wu_all_known_cont_accepted, test_boot_wu_zero_cont_accepted, test_boot_wu_single_cont_accepted, test_boot_wu_cont_mask_stable, test_boot_wu_cont_name
test_bulletproof.c 7 20 test_bp_struct_layouts, test_bp_memory_constants, test_bp_assembly_offsets, test_bp_dispatch_tables, test_bp_xsave_alignment, test_bp_ixfs_layout, test_bp_security_abi
test_ci.c 14 81 test_ci_secureboot_pins_and_forces_off, test_ci_sb_unknown_failclosed, test_ci_relax_gating, test_ci_enforcement_ordered, test_ci_flags_orthogonal, test_ci_collections_empty, test_ci_preinit_failclosed, test_ci_published_null_and_scan, test_ci_image_enforce_vs_audit, test_ci_image_revoked_and_digest, test_ci_image_failclosed_and_disabled, test_ci_dynamic_code, test_ci_crypto_digest, test_ci_crypto_verify
test_cpu_security.c 110 236 test_nx_efer_set, test_smep_smap_state, test_cpu_security_log_state, test_kpti_percpu_kernel_cr3, test_kpti_percpu_user_cr3_eq_kernel, test_kpti_active_false, test_kpti_kernel_cr3_matches_hw, test_ap_msr_profile_populated, test_ap_msr_profile_entry_bounds, test_ap_msr_profile_pat_entry, test_ap_msr_profile_tsc_aux_per_cpu, test_ap_bsp_pat_baseline_matches_live, test_ap_bsp_snapshot_recorded, test_platform_hv_vendor_null_terminated, test_platform_hv_flags_in_range, test_platform_apic_freq_consistent_on_hyperv, test_platform_baremetal_clean, test_xcr0_active, test_xsave_size, test_xcr0_has_x87_sse, test_cr4_osxsave, test_cr4_pcide, test_cr3_pcid_zero, test_required_mask_subset_of_bsp, test_required_subset_of_probe, test_global_feature_mask_has_required, test_md_clear_feature_bit, test_mds_verw_gate_implies_capability, test_feature_mask_wordsplit, test_feature_mask_intersection_highword, test_cr0_wp_pinned, test_cr0_pins_held, test_cr4_pins_held, test_memcpy_avx_correctness, test_memcpy_avx_tail, test_memset_avx_correctness, test_memset_avx_tail, test_memcpy_fast_dispatch, test_memset_fast_dispatch, test_avx512_xcr0_bits, test_avx512_flag_consistent, test_memcpy_avx512_correctness, test_memcpy_avx512_tail, test_memset_avx512_correctness, test_memset_avx512_tail, test_memcpy_fast_avx512_dispatch, test_msr_read_efer_stable, test_msr_read_efer_lma_set, test_msr_try_read_valid, test_msr_try_read_no_crash, test_msr_try_read_null_out, test_msr_cpuid_gate_pattern, test_umip_cr4_set, test_pku_cr4_pke_set, test_pku_xcr0_bit9, test_cpu_slot_committed_online_states, test_pku_enabled_matches_online_intersection, test_pku_alloc_free, test_pku_read_pkru, test_pku_set_permissions, test_pku_pte_key_macros, test_pku_xsave_offset, test_1g_page_cpuid_feature, test_1g_page_pdpt_promoted, test_1g_page_pdpt0_not_promoted, test_vmm_map_huge_1g_alignment, test_wc_pat_entry, test_pat_index0_wb, test_pat_index2_uc_minus, test_pat_index3_uc_strong, test_mtrr_capture_deterministic, test_mtrr_var_count_bounded, test_mtrr_snapshot_equal_discriminates, test_mtrr_bsp_baseline_matches_live, test_cpu_audit_captured, test_cpu_audit_cr0_wp, test_cpu_audit_efer_nxe, test_cpu_audit_cr4_pae, test_cpu_audit_pat_matches_profile, test_ap_forceable_cr4_excludes_fsgsbase_cet, test_ap_forceable_cr4_gated_by_features, test_ap_forceable_cr4_live_preconditions, test_ap_probe_mask_covers_gated_features, test_topo_cpu0_logical_id, test_topo_cpu_count, test_topo_numa_nodes, test_topo_core_type_valid, test_topo_smt_siblings, test_virt_detect_flags, test_virt_detect_consistent, test_osvw_fields, test_rdtscp_cpu_id, test_rdtscp_null_cpuid, test_pmc_info_valid, test_pmc_start_stop, test_pmc_out_of_range, test_pmc_ipc, test_copy_user_fault_inject, test_copy_user_fault_inject_task_filter, test_copy_user_fault_inject_max_cap, test_hwprofile_stale_null, test_hwprofile_stale_brand, test_hwprofile_simd_decision, test_cc_kind_valid, test_future_silicon_bits, test_feature_adoption_bits, test_umwait_bounded, test_spectre_feature_bits, test_eibrs_active, test_ap_probe_covers_spec_ctrl
test_cpu_seq.c 7 13 test_cached_minimums_match_live_cpuid, test_hv_vendor_recognized, test_hv_vendor_implies_hypervisor, test_tsc_enlightenment_only_on_hyperv, test_cet_components_absent_from_xcr0, test_audit_arch_caps_respects_cpuid_gate, test_audit_ucode_rev_uniform
test_crashdump.c 32 112 test_bugcheck_name_known, test_bugcheck_name_unknown, test_bugcheck_name_exclusive, test_bugcheck_info_struct, test_bugcheck_constants, test_bugcheck_post_codes, test_context_size, test_context_offsets, test_xmm_save_area_size, test_context_flags, test_build_context_from_frame, test_build_context_null_frame, test_xsave_buffer_alignment, test_fpu_capture_post_code, test_kernel_module_registered, test_kernel_module_find_by_pc, test_kernel_module_base_and_size, test_iterate_modules_snapshot, test_iterate_modules_lockless, test_module_registry_post_code, test_mdmp_header_size, test_mdmp_header_offsets, test_mdmp_directory_size, test_mdmp_stream_types, test_mdmp_exception_stream_size, test_mdmp_module_size, test_mdmp_thread_size, test_mdmp_memory_descriptor_size, test_mdmp_system_info_size, test_impossible_os_info, test_mdmp_format_post_code, test_mdmp_type_flags
test_desktop.c 51 223 test_fb_snapshot_size_nonzero, test_fb_snapshot_null_args, test_fb_snapshot_roundtrip, test_input_inject_keypress_roundtrip, test_input_inject_keypress_enter, test_input_inject_mouse_click_delivered, test_input_inject_mouse_press_observable, test_input_inject_mouse_click_clamps_out_of_bounds, test_terminal_get_buffer_when_closed, test_terminal_get_buffer_null_or_small, test_terminal_buffer_contains_guards, test_terminal_dir_roundtrip_synthesized, test_wm_window_count_tracks_installs, test_wm_focused_window_tracks_focus, test_wm_window_rect_roundtrip, test_wm_alt_f4_closes_focused_window, test_wm_reset_clears_deferred_close, test_wm_frame_stats_reset_zeros_counters, test_wm_frame_stats_on_present_under_budget, test_wm_frame_stats_on_present_over_budget, test_wm_frame_stats_queue_and_drop, test_wm_frame_stats_counters_monotonic, test_wm_frame_stats_null_guard, test_wm_mark_dirty_bumps_queued, test_input_record_begin_stop_release, test_input_record_key_mouse_ime_capture, test_input_record_capacity_drops, test_input_record_serialize_roundtrip, test_input_record_ime_roundtrip_utf8, test_input_record_replay_rejects_malformed, test_compositor_headless_toggle, test_compositor_test_seed_roundtrip, test_compositor_step_frames_advances_stats, test_boot_config_compositor_field, test_fb_output_count_is_nonzero, test_fb_snapshot_monitor_rejects_oob, test_boot_config_test_monitors_count, test_test_monitors_parser_exact_mapping, test_wcag_rule_name_table, test_wcag_provider_ready_flag, test_wcag_sweep_pending_provider, test_wcag_sweep_null_buffer_safe, test_desktop_reset_clears_all_state, test_desktop_reset_is_idempotent, test_desktop_reset_closes_leaked_terminal, test_desktop_reset_action_wrapper_matches, test_icon_color_tint_normalized, test_icon_cache_eviction_borrowed_safe, test_ctrl_init_degrades_on_oom, test_ctrl_init_recovers_after_oom, test_ctrl_init_idempotent_when_ready
test_desktop_reset.c 0 0
test_entropy.c 15 197 test_entropy_source_mask, test_entropy_classify, test_entropy_policy, test_entropy_frame_source, test_entropy_record_clamp, test_entropy_staged_transcript, test_random_seed_format, test_random_seed_clone_rejected, test_random_seed_clone_degraded, test_random_seed_provenance_gate, test_boot_seed_payload_parse, test_boot_seed_carryover_routing, test_boot_seed_desc_classify, test_entropy_seed_zeroized, test_external_entropy_oneshot
test_env.c 171 737 test_env_expand_budget_refuses, test_env_expand_measure_refusal, test_env_buf_free_refusal_contract, test_env_buf_alloc_contract, test_env_drive_cwd_roundtrip, test_env_drive_cwd_default_root, test_env_drive_cwd_case_and_invalid, test_env_drive_cwd_name_validation, test_env_drive_cwd_sorts_first, test_env_drive_cwd_parse_block_preserved, test_env_drive_cwd_adapter_boundaries, test_env_drive_cwd_resolve_matrix, test_argv_set_and_free, test_argv_set_replace_and_clear, test_argv_to_cmdline_quoting, test_argv_frame_bytes_and_cap, test_env_adopt_block, test_env_set_get_roundtrip, test_env_set_replace, test_env_unset, test_env_get_absent, test_env_case_insensitive, test_env_invalid_name, test_env_value_too_long, test_env_name_length_boundary, test_env_get_truncation, test_env_copy_independent, test_env_copy_empty, test_env_peek_locked, test_env_free_clears, test_env_large_value_pmm_path, test_env_set_oom_preserves_old, test_env_defaults_synth_base, test_env_defaults_derived, test_env_defaults_registry_overlay, test_env_defaults_user_path_append, test_env_defaults_user_override, test_env_defaults_skips_non_string, test_env_defaults_unterminated_value, test_env_expand_basic, test_env_expand_double_percent, test_env_expand_unknown_literal, test_env_expand_unmatched_percent, test_env_expand_single_pass, test_env_expand_truncation, test_env_build_block_utf16, test_rtl_expand_basic, test_rtl_expand_buffer_too_small, test_rtl_expand_escape_and_case, test_rtl_expand_invalid_args, test_rtl_expand_empty_source, test_rtl_expand_multi_entry, test_env_build_block_over_cap, test_rtl_expand_null_dest_buffer, test_rtl_expand_overlap_rejected, test_rtl_expand_public_refuses_explicit_block, test_rtl_expand_extent_too_small, test_rtl_expand_malformed_empty_block, test_rtl_expand_unterminated_within_extent, test_rtl_expand_work_budget, test_rtl_expand_budget_final_miss_boundary, test_rtl_expand_budget_final_hit_boundary, test_rtl_expand_single_miss_within_budget, test_env_expand_at_cap_boundary, test_env_build_block_empty, test_env_build_block_utf8, test_env_expand_overlap_rejected, test_rtl_expand_overlap_block_terminator, test_rtl_expand_overlap_empty_block, test_rtl_expand_name_over_limit, test_rtl_expand_self_referential_dest, test_rtl_expand_returnedlength_alias, test_rtl_expand_returnedlength_aliases_source, test_rtl_expand_empty_block_second_nul, test_env_expand_overlap_preserves_source, test_ntenv_live_env_hwm, test_ntenv_set_query_roundtrip, test_ntenv_query_not_found, test_ntenv_delete, test_ntenv_buffer_too_small, test_ntenv_exact_fit, test_ntenv_embedded_nul_rejected, test_ntenv_overlap_and_null, test_ntenv_empty_value_null_buffer, test_rtlenv_set_query_roundtrip, test_rtlenv_query_not_found, test_rtlenv_query_length_convention, test_rtlexp_counted_expand, test_rtlexp_counted_too_small, test_rtlexp_counted_foreign, test_rtlqry_counted_roundtrip, test_rtlqry_counted_too_small, test_rtlqry_counted_errors, test_rtlexp_counted_boundaries, test_rtlqry_counted_boundaries, test_rtlenv_foreign_block_refused, test_rtlenv_set_delete, test_rtlenv_name_equals_rule, test_rtlenv_empty_value, test_rtlenv_create_empty, test_rtlenv_create_clone, test_rtlenv_create_destroy_nulls, test_rtlenv_malformed_descriptors, test_rtlenv_query_descriptor_alias_refused, test_rtlenv_alloc_size_class_boundary, test_rtlenv_status_mappings, test_rtlenv_create_environment_ex, test_env_exchange_secure_snapshot_exact, test_rtlenv_set_current_environment, test_rtlenv_set_environment_strings, test_rtlenv_exports_not_user_reachable, test_env_sorted_block_ansi, test_env_sorted_block_case_insensitive, test_env_build_block_too_small, test_env_build_block_unicode, test_env_build_block_empty_caller, test_env_parse_block_ansi, test_env_parse_block_dedup, test_env_parse_block_skips_malformed, test_env_parse_block_unicode, test_env_block_size_cap, test_env_parse_block_over_value_skipped, test_env_parse_block_oversize_rejected, test_env_adopt_block_sorts_dedups, test_env_bytes_unset_reclaims, test_env_adopt_empty_resets_quota, test_env_create_block_roundtrip, test_env_create_block_empty, test_env_create_block_deferred_branches, test_env_destroy_block_defensive, test_env_expand_for_user_null_token, test_env_expand_for_user_refusals, test_env_expand_for_user_large_env, test_env_searchpath_finds_system32, test_env_searchpath_missing, test_env_searchpath_explicit_ext, test_env_searchpath_qualified, test_env_searchpath_relative_subpath, test_env_searchpath_mode_precedence, test_env_setsearchpathmode, test_env_need_current_dir, test_env_searchpath_cwd_not_gated_by_exe_var, test_env_searchpath_a_sizing, test_env_searchpath_w_filepart, test_env_searchpath_w_ignored_bad_ext, test_env_searchpath_ext_containment, test_env_searchpath_oom, test_env_searchpath_path_oom, test_env_cmdline_basic_quotes, test_env_cmdline_backslash_quote, test_env_cmdline_roundtrip, test_env_cmdline_empty_module_path, test_env_cmdline_null, test_env_cmdline_wide_verbatim, test_env_cmdline_wide_quotes, test_env_cmdline_quote_runs, test_env_cmdline_large_alloc_crossover, test_env_privilege_sensitive_names, test_env_secure_context, test_env_secure_read_gate, test_env_sanitize_for_elevation, test_env_secure_block_excludes, test_env_copy_secure_source_excludes, test_app_paths_lookup_roundtrip, test_app_paths_arg_validation, test_app_paths_register_hklm_auth, test_app_paths_lookup_elevation_moredata, test_rtl_expand_hidden_drive_var, test_rtl_expand_normal_entry_unshifted, test_rtl_expand_result_unrepresentable, test_app_paths_malformed_value
test_error_screen_tier.c 22 53 test_absent_framebuffer_is_none, test_zero_dimensions_are_none, test_bitmask_format_is_none, test_both_packable_formats_reach_full, test_stride_below_width_is_none, test_stride_above_width_is_fine, test_full_floor_exact, test_one_pixel_below_full_width_is_compact, test_one_pixel_below_full_height_is_compact, test_compact_floor_exact, test_one_pixel_below_compact_width_is_none, test_one_pixel_below_compact_height_is_none, test_floors_are_the_literal_measured_values, test_common_low_modes_are_compact, test_rejected_400x200_is_none, test_tier_names, test_qr_extent_scale_ladder, test_qr_fits_at_its_own_boundary, test_qr_survives_below_every_text_floor, test_compact_tier_does_not_imply_a_qr, test_compact_action_follows_the_qr_not_the_tier, test_qr_requires_a_framebuffer
test_error_screen_wrap.c 29 94 test_break_never_exceeds_budget, test_exact_fit_takes_the_whole_string, test_breaks_at_the_last_space, test_word_longer_than_the_budget_splits, test_single_glyph_wider_than_budget_still_advances, test_byte_bound_wraps_rather_than_dropping, test_unbroken_string_past_the_copy_buffer, test_byte_bound_loses_no_bytes, test_zero_byte_bound_still_advances, test_full_layout_subtitle_clips_at_800, test_would_clip_boundary_and_degenerates, test_wrap_plan_reports_needed_beyond_the_cap, test_wrap_plan_zero_exact_and_overflow_caps, test_wrap_plan_counts_spans_past_the_byte_bound, test_full_layout_last_hint_bottom_is_522, test_wrap_plan_separator_path_exact_on_real_text, test_wrap_plan_exact_counts_on_spaced_text, test_wrap_plan_exact_counts_across_the_byte_bound, test_wrap_plan_exact_counts_across_the_pixel_bound, test_cause_cap_absorbs_the_slack, test_cause_cap_never_underflows_or_reaches_zero, test_real_diagnosis_fits_at_the_compact_floor, test_compact_text_right_reserves_only_when_they_overlap, test_compact_text_right_at_larger_qr_scales, test_compact_text_right_transition_is_at_the_band_edge, test_compact_text_right_when_no_qr_fits, test_empty_and_null_inputs, test_start_offset_is_honoured, test_non_printable_bytes_measure_as_question_mark
test_ex.c 42 246 test_ex_slist_init_empty, test_ex_slist_push_pop_lifo, test_ex_slist_flush_detaches_chain, test_ex_slist_reuse_after_drain, test_ex_slist_smp_stress, test_ex_rundown_acquire_release, test_ex_rundown_completed_rejects, test_ex_rundown_wait_no_refs, test_ex_rundown_concurrent_drain, test_ex_callback_register_notify, test_ex_callback_allow_multiple_false, test_ex_callback_multiple_and_enumerate, test_ex_callback_slot_reuse, test_ex_callback_stale_cookie_noop, test_ex_callback_builtin_named, test_ex_lookaside_cache_hit, test_ex_lookaside_depth_cap, test_ex_lookaside_paged_rejects_dispatch, test_ex_lookaside_ex_custom_backing, test_ex_lookaside_nonpaged_dispatch, test_ex_lookaside_paged_free_rejects_dispatch, test_ex_lookaside_ex_badargs_and_flush, test_ex_lookaside_depth_clamp, test_ex_lookaside_failed_init_inert, test_ex_lookaside_delete_at_dispatch_recovers, test_ex_lookaside_verifier_uaf, test_ex_fastref_pack_unpack_roundtrip, test_ex_fastref_init_acquire_empty_slowpath, test_ex_fastref_release_saturation_then_drain, test_ex_fastref_release_object_mismatch, test_ex_fastref_release_null_rejected, test_ex_fastref_compare_swap, test_ex_fastref_smp_stress, test_ex_bitmap_basic_and_padding, test_ex_bitmap_runs, test_ex_bitmap_oob_and_large, test_ex_avl_thousand_keys, test_ex_hashtable_resize_and_lookup, test_ex_hashtable_drain_chain, test_ex_s7_overflow_guards, test_ex_workitem_run_and_requeue, test_ex_workitem_cancel_before_dispatch
test_except.c 63 269 test_context_size, test_context_offsets, test_exception_record_size, test_exception_pointers_size, test_context_group_mask_not_confused_by_amd64_bit, test_context_from_frame_integer, test_context_from_frame_control, test_context_from_frame_clears_unsupported_groups, test_context_from_frame_honours_partial_request, test_context_from_frame_null, test_frame_from_context_round_trip, test_frame_from_context_honours_flags, test_frame_from_context_null, test_exception_record_access_violation, test_exception_record_divide_by_zero, test_exception_flt_codes, test_exception_pointers_pairing, test_pf_build_access_violation_write, test_pf_build_access_violation_read_and_fetch, test_pf_build_access_violation_zeroes_context, test_dispatch_user_no_debugger_declines, test_dbgk_forward_exception_stub, test_dispatch_kernel_debugger_first_chance, test_kernel_bugcheck_code_selection, test_kernel_bugcheck_param_layout, test_context_from_frame_kernel_cpl, test_except_vector_status_map, test_except_vector_kernel_fatal, test_except_build_record_divide_by_zero, test_except_build_record_breakpoint_address_adjust, test_except_build_record_control_protection, test_except_build_record_null, test_probe_for_write_kernel_addr_fails, test_probe_for_write_null_and_zero, test_uaccess_copy_success, test_uaccess_touch_writable, test_try_copy_from_user_probe_gate, test_try_copy_to_user_probe_gate, test_pf_handler_registered, test_uaccess_copy_from_recovers_live_fault, test_veh_node_layout, test_veh_handler_abi, test_wer_format_fault_line, test_ki_seh_setjmp_initial_return, test_ki_seh_chain_lifo, test_ki_raise_decline_paths, test_ki_raise_matches_and_rewrites, test_ki_raise_filter_dispositions, test_ki_fault_address_memory_codes, test_ki_fault_address_zero_is_a_real_address, test_ki_fault_address_rejects_non_addresses, test_ki_try_recovers_live_kernel_fault, test_ki_try_nonlocal_exit_pops, test_ki_seh_register_rejects_offstack_node, test_ki_seh_deregister_uses_owner, test_telem_json_shape, test_telem_json_disposition_map, test_telem_json_escape, test_telem_json_truncation, test_telem_rate_gate_window, test_telem_rate_gate_null, test_telem_rate_gate_zero_time, test_telem_rate_gate_wrap
test_exec.c 60 111 test_exec_bad_magic, test_exec_null_data, test_exec_errno, test_elf_reject_bad_phentsize, test_elf_reject_phoff_overflow, test_elf_reject_offset_overflow, test_elf_reject_filesz_gt_memsz, test_elf_reject_vaddr_overflow, test_elf_reject_entry_outside_segment, test_elf_reject_entry_non_exec, test_elf_reject_excessive_phnum, test_elf_reject_overlapping_segments, test_module_struct_size, test_module_register_and_find, test_module_register_null, test_module_register_invalid, test_module_find_null_out, test_module_count, test_pe_struct_sizes, test_pe_constants, test_pe_validate_valid, test_pe_validate_32bit, test_pe_validate_truncated, test_pe_validate_bad_magic, test_pe_validate_null, test_pe_load_maps_and_returns_entry, test_pe_load_registers_module, test_pe_load_rejects_low_imagebase, test_pe_import_struct_sizes, test_eif_bad_magic, test_eif_too_small, test_eif_struct_sizes, test_eif_constants, test_eif_reject_too_many_segments, test_eif_reject_too_many_imports, test_eif_reject_metadata_out_of_bounds, test_eif_reject_unsorted_segments, test_eif_reject_bad_entry_valid_segments, test_eif_reject_bad_import_valid_segments, test_eif_reject_unsigned_with_signature, test_eif_reject_entry_not_in_exec_segment, test_eif_reject_unregistered_import, test_eif_reject_out_of_order_sections, test_eif_reject_segment_data_over_table, test_eif_reject_absent_table_nonzero_offset, test_eif_reject_segment_reserved_nonzero, test_eif_reject_api_version_too_new, test_eif_decompress_roundtrip, test_eif_decompress_reject_corrupt, test_eif_decompress_reject_size_mismatch, test_eif_decompress_pure_bss, test_eif_decompress_reject_small_cap, test_eif_flags_cet_known, test_eif_flags_unknown_rejected, test_eif_reject_unknown_flag, test_eif_metadata_parsed, test_eif_metadata_reject_truncated, test_eif_metadata_absent_ok, test_eif_metadata_reject_over_cap, test_eif_metadata_build_id
test_fastpath_hardening.c 6 15 test_abi_hash_nonzero, test_abi_hash_generator_format, test_kusd_abi_header_present, test_kusd_abi_hash_matches_kernel, test_kusd_abi_header_offsets, test_transition_ring_initialized
test_firmware_advisor.c 5 17 test_advisor_status_names, test_advisor_severity_names, test_advisor_cache_state_names, test_advisor_oracle_bounds, test_capsule_refusal_sentinel_present
test_firmware_platform.c 15 35 test_dtb_invalid_when_phys_addr_zero, test_dtb_invalid_on_bad_magic, test_dtb_minimal_blob_valid, test_dtb_invalid_on_oversized_totalsize, test_dtb_invalid_on_unsupported_version, test_dtb_invalid_on_truncated_struct, test_dtb_rejects_addr_outside_firmware_mmap, test_dtb_empty_root_has_zero_memory_and_cpu, test_dtb_memorytest_not_counted_as_memory, test_dtb_unbalanced_structure_rejects, test_dtb_misnested_memory_cpu_not_counted, test_dtb_multi_root_rejects, test_firmware_platform_name_strings, test_firmware_platform_acpi_on_pc, test_firmware_platform_acpi_version_consistent
test_firmware_tables.c 41 70 test_firmware_table_count_nonzero_when_cfg_table_present, test_firmware_table_guid_lookup, test_firmware_table_unknown_guid_returns_null, test_firmware_table_null_guid_returns_null, test_firmware_table_name_lookup, test_firmware_table_unknown_name_returns_null, test_firmware_table_owner_count_only, test_firmware_table_owner_array_capped, test_firmware_table_index_oob_returns_null, test_firmware_table_unknown_guid_marked_unknown_profile, test_firmware_table_acpi_duplicates_preserved, test_firmware_table_source_within_known_range, test_validate_acpi_sdt_clean, test_validate_acpi_sdt_checksum_fail, test_validate_acpi_sdt_length_below_header, test_validate_acpi_sdt_length_mismatch, test_validate_range_unmapped, test_validate_null_phys_addr, test_validate_one_way_downgrade, test_validate_promotes_unknown_to_validated, test_validate_oversized_length_capped_sdt, test_validate_oversized_length_capped_fpdt, test_validate_all_clean_ovmf_zero_degraded, test_firmware_table_promote_unknown_to_validated, test_firmware_table_promote_unknown_name_returns_zero, test_firmware_table_promote_null_returns_zero, test_conformance_has_profile_oor_id_returns_zero, test_conformance_name_returns_nonempty, test_conformance_pc_contradiction_arch_gate, test_conformance_omit_policy_default_deny, test_conformance_level_consistent_with_presence, test_conformance_name_no_match_text_known, test_quirks_parse_disable_single, test_quirks_parse_disable_multi, test_quirks_parse_disable_unknown, test_quirks_parse_disable_null_empty, test_quirks_parse_disable_whitespace, test_quirks_name_each_bit, test_quirks_parse_round_trip_all_bits, test_quirks_name_invalid, test_quirks_is_active_polarity
test_harness.c 48 191 test_harness_register_lifo_actions, test_harness_verify_lifo_drain, test_harness_register_overflow, test_harness_verify_overflow_drain, test_harness_null_fn_rejected, test_harness_register_reentrant, test_harness_verify_reentrant_rejected, test_harness_leak_irql, test_harness_verify_irql_recovery, test_harness_register_action_leak, test_harness_verify_action_leak_recovery, test_harness_scratch_kmalloc_route, test_harness_scratch_kmalloc_verify, test_harness_scratch_pmm_route, test_harness_scratch_pmm_verify, test_harness_scratch_non_lifo_free, test_harness_scratch_table_exhaustion, test_harness_scratch_route_boundary, test_harness_scratch_foreign_free, test_harness_scratch_rollback, test_harness_klog_suppress_begin, test_harness_klog_suppress_restored, test_harness_klog_suppress_no_override_leak, test_harness_klog_suppress_no_override_leak_verify, test_harness_leak_detect_kmalloc, test_harness_leak_detect_kmalloc_verify, test_harness_leak_detect_scratch_clean, test_harness_leak_detect_scratch_verify, test_harness_leak_detect_ignore, test_harness_leak_detect_ignore_verify, test_harness_count_record_format, test_harness_count_record_overflow, test_harness_count_trailer_format, test_harness_count_name_is_safe, test_harness_fail_record_format, test_harness_fail_record_overflow, test_harness_fail_record_suffix_ladder, test_harness_fail_detail_format, test_harness_poison_placement, test_harness_poison_detects_overread, test_harness_poison_bounded_is_clean, test_harness_poison_other_fault_not_overread, test_harness_poison_refuses_misuse, test_harness_poison_single_owner, test_harness_poison_arm_is_transactional, test_harness_poison_recovers_after_rollback, test_harness_poison_reentrant_disarm, test_harness_poison_nested_probe_defers_to_last_pin
test_heap.c 16 42 test_heap_alignment, test_heap_init_on_alloc, test_heap_zeroed_alloc, test_heap_tagged_roundtrip, test_heap_redzone_exact_fit, test_heap_alloc_free, test_heap_zero_alloc, test_heap_no_overlap, test_heap_realloc, test_heap_fault_inject_next, test_heap_fault_inject_countdown, test_heap_fault_inject_clear, test_heap_fault_inject_no_state_change, test_heap_fault_inject_irql_gate, test_heap_fault_inject_task_filter, test_heap_fault_inject_max_cap
test_hibernate_image.c 22 191 test_hiber_encoded_bound, test_hiber_roundtrip_compressible, test_hiber_roundtrip_incompressible, test_hiber_byte_layout, test_hiber_header_rejections, test_hiber_header_field_rejections, test_hiber_payload_corruption, test_hiber_descriptor_rejections, test_hiber_destination_map, test_hiber_completion_gate, test_hiber_encoder_arguments, test_hiber_empty_image_roundtrip, test_hiber_identity_guard, test_hiber_pfn_ceiling, test_hiber_hostile_decompression, test_hiber_truncation_frontiers, test_hiber_trailing_bytes, test_hiber_oversized_buffer, test_hiber_full_chunk, test_hiber_null_arguments, test_hiber_aead_block_under_none, test_hiber_cpu_topology_guard
test_idt.c 4 19 test_nmi_vector_is_wired_to_the_dedicated_stub, test_nmi_stub_raises_before_shared_prologue, test_nmi_stub_leaves_shared_stub_uncharged, test_nmi_stub_lowers_immediately_before_return
test_ipc.c 7 27 test_kernel_threads, test_mutex_counter, test_semaphore_prodcons, test_pipe_roundtrip, test_shmem_counter, test_pipe_pool_degrades_on_oom, test_pipe_repeat_init_preserves_live_pipe
test_irq_timer.c 21 83 test_madt_info_populated, test_madt_info_matches_legacy, test_pcat_compat_is_boolean, test_isa_irq_to_vector_mapping, test_vector_to_isa_mapping, test_alloc_never_returns_isa_window, test_request_gsi_invalid, test_request_gsi_ex_validation, test_gsi_range_guards, test_reserve_vector_collisions, test_set_affinity_validation, test_gsi_reverse_map, test_system_timer_selected, test_uptime_ns_monotonic, test_hpet_consistency, test_uts_clocksource_contract, test_uts_oneshot_surface, test_oneshot_conversion_helpers, test_mono_lapic_scaling, test_oneshot_delegation, test_lapic_calibration_state
test_ixfs.c 15 25 test_ixfs_superblock_size, test_ixfs_superblock_offsets, test_ixfs_inode_size, test_fat32_bpb_constants, test_fat32_fsinfo_signatures, test_fat32_dirty_bit, test_fat32_bpb_rejects_bad_jmp, test_fat32_bpb_rejects_bad_bps, test_fat32_bpb_rejects_non_pow2_spc, test_fat32_bpb_rejects_zero_reserved, test_fat32_bpb_rejects_zero_fat_size, test_fat32_bpb_rejects_first_data_overflow, test_fat32_bpb_rejects_first_data_u32_wrap, test_fat32_bpb_rejects_huge_root_cluster, test_fat32_bpb_accepts_valid
test_ixfs_fsck.c 26 34 test_fsck_sb_clean, test_fsck_sb_bad_magic, test_fsck_sb_bad_layout, test_fsck_sb_bad_crc, test_fsck_sb_data_past_end, test_fsck_sb_null, test_fsck_sb_version_zero, test_fsck_sb_version_too_new, test_fsck_sb_bad_block_size, test_fsck_sb_zero_total_blocks, test_fsck_sb_bad_root_inode, test_fsck_bitmap_null_inputs, test_fsck_bitmap_zero_nbits, test_fsck_bitmap_partial_byte_ignores_padding, test_fsck_bitmap_clean, test_fsck_bitmap_detect, test_fsck_bitmap_repair, test_fsck_journal_valid_data, test_fsck_journal_commit, test_fsck_journal_bad_target, test_fsck_journal_bad_checksum, test_fsck_journal_unknown_type, test_fsck_journal_null_payload, test_fsck_journal_zero_len, test_fsck_journal_zero_total_blocks, test_fsck_get_block_clamps_extent_count
test_json_builder.c 10 23 test_jb_empty_init, test_jb_putc_puts, test_jb_str_quotes, test_jb_str_escapes, test_jb_str_control_byte, test_jb_hex64, test_jb_u32_dec_zero, test_jb_u32_dec_max, test_jb_truncation_latches, test_jb_truncation_zero_cap
test_kernel_config.c 49 309 test_tunable_register_get, test_tunable_clamp, test_tunable_access, test_tunable_module_namespace, test_tunable_recursive_guard, test_tunable_callback_semantics, test_tunable_audit, test_tunable_reuse_name_hygiene, test_tunable_malformed_and_capacity, test_tunable_phase_seal, test_feature_namespace, test_feature_default, test_feature_cmdline_override, test_feature_cohort_deterministic, test_feature_audit, test_feature_locked, test_feature_cmdline_aliases, test_feature_cmdline_boundary, test_feature_secure_boot_guard, test_cfg_query_syscall, test_cfg_query_syscall_route, test_cfg_safe_mode_floor, test_cfg_safe_mode_gating, test_cfg_safe_mode_accessors, test_cfg_snapshot_published, test_cfg_snapshot_consistent, test_cfg_basic_parse, test_cfg_unknown_kernel_key_fatal, test_cfg_allow_unknown_downgrades, test_cfg_allow_unknown_never_masks_bad_value, test_cfg_non_kernel_unknown_ignored, test_cfg_alias_normalization, test_cfg_bool_word_forms, test_cfg_csv_value, test_cfg_bad_value_rejected, test_cfg_descriptor_lookup, test_cfg_empty_cmdline, test_cfg_unterminated_cmdline, test_policy_register_validation, test_policy_ratchet_seal, test_policy_hard_user_downgrade_no_panic, test_policy_nonratchet_locked, test_policy_phase_and_lockdown, test_policy_audit_ring, test_policy_preseal_writes, test_policy_capacity_boundary, test_boot_status_policy_resolve, test_boot_status_ledger_step, test_boot_status_record_crc
test_kimage.c 6 62 test_kimage_flags_nonoverlap, test_kimage_zero_init_unknown, test_kimage_lifetime_gate, test_kimage_field_roundtrip, test_kimage_format_conversion, test_kimage_array_alignment
test_klibs.c 24 311 test_string_lib_edges, test_lz4_block, test_sha3_kat, test_sha3_streaming, test_crypto_hash_dispatch, test_math_lib, test_json_lib, test_checksum_codec, test_blake2b_vector, test_aead_roundtrip, test_x25519_vector, test_ed25519_standard, test_eddsa_blake2b_roundtrip, test_argon2id_smoke, test_csprng_core, test_csprng_core_vectors, test_csprng_source_framed_vector, test_csprng_absorb_policy, test_csprng_add_entropy_global, test_csprng_crypto_gate, test_csprng_global, test_nt_get_random, test_nt_get_random_chunks, test_nt_get_random_dispatch
test_klog.c 44 182 test_klog_dispatch_slot, test_klog_disk_subsystem_passthrough, test_klog_flush_progress_due, test_klog_lz4_roundtrip, test_klog_flush_window, test_klog_lost_count, test_klog_defer_active, test_klog_ring_write, test_klog_overlong_shapes_truncate, test_klog_truncation_boundary, test_klog_int64_min_renders, test_klog_short_tag_classification, test_klog_short_tag_no_overread, test_klog_level_drop, test_klog_level_pass, test_klog_receipt_acknowledges_a_delivered_record, test_klog_receipt_acknowledges_a_declined_record, test_klog_receipt_null_ack_is_the_ordinary_path, test_klog_global_level, test_klog_rate_limit_api, test_klog_ring_wrap, test_klog_crash_header_size, test_klog_crash_post_codes, test_klog_crash_entry_layout, test_klog_crash_header_fields, test_klog_crash_region_allocated, test_klog_crash_capacity, test_klog_ctx_cpu_id, test_klog_ctx_pid_boot, test_klog_ctx_tid_populated, test_klog_ctx_subsystem_populated, test_klog_ctx_message_populated, test_klog_ctx_timestamp_advances, test_klog_ctx_post_codes, test_klog_recovered_at_null_pool, test_klog_recovered_at_bounds, test_klog_recovered_at_capacity_guard, test_klog_recovered_set_ok, test_etw_event_header_size, test_etw_basic_info_size, test_etw_ssdt_registered, test_etw_create_trace, test_etw_trace_event, test_etw_event_not_running
test_knf.c 30 234 test_knf_type_registered, test_knf_categories_exist, test_knf_create_and_lookup, test_knf_create_or_open, test_knf_create_bad_args, test_knf_kernel_mode_permanent_bypass, test_knf_header_flags, test_knf_name_boundary, test_knf_user_mode_permanent_denied, test_knf_permanent_privilege_name, test_knf_publish_sequence, test_knf_subscribe_poll, test_knf_multi_subscriber_coalesce, test_knf_open_state, test_knf_poll_invalid, test_knf_subscriber_cap, test_knf_cas_publish, test_knf_type_enforcement, test_knf_reserve_and_live_delete, test_knf_sequence_no_wrap, test_knf_trace_flags, test_knf_trace_category_identity, test_knf_coalesce_retention, test_knf_diag_query, test_knf_stress_no_leak, test_knf_create_ex_reports_distinct_statuses, test_knf_create_ex_create_or_open_is_success, test_knf_create_ex_propagates_transient_retry, test_knf_create_ex_privilege_refusal_is_distinct, test_knf_production_charges_are_tagged_notify
test_kworker.c 5 20 test_kworker_register_validation, test_kworker_stale_token, test_kworker_generation, test_kworker_slot_exhaustion, test_kworker_last_fire_invalid
test_mat_violation.c 6 15 test_mat_decode_writable_executable, test_mat_decode_code_section, test_mat_decode_data_section, test_mat_decode_rodata_section, test_mat_decode_guard_page, test_mat_violation_log_cap_bound
test_mmap.c 1 2 test_mmap_file
test_nls.c 96 331 test_nls_validate_rejects_odd_length, test_nls_validate_rejects_len_gt_max, test_nls_validate_rejects_null_buffer, test_nls_validate_accepts_valid, test_nls_decode_success, test_nls_decode_buffer_too_small, test_nls_decode_empty, test_nls_wchars_to_bytes_overflow, test_nls_encode_success, test_nls_encode_rejects_over_capacity, test_nls_ascii_narrow_success, test_nls_ascii_narrow_rejects_nonascii, test_nls_ascii_narrow_rejects_embedded_nul, test_nls_ascii_narrow_buffer_too_small, test_nls_encode_clears_pad, test_nls_user_mode_probe_rejects_kernel_ptr, test_nls_validate_probes_buffer_kernel_ptr, test_nls_upcase_char_ascii, test_nls_upcase_char_latin1, test_nls_upcase_char_above_latin1_unchanged, test_nls_upcase_string_success, test_nls_upcase_string_buffer_too_small, test_nls_upcase_string_rejects_allocate, test_nls_equal_case_insensitive, test_nls_equal_different_length, test_nls_compare_case_sensitive_distinguishes, test_nls_compare_prefix_sorts_first, test_nls_ordinal_compare, test_nls_ordinal_nul_terminated_length, test_nls_ordinal_rejects_bad_negative, test_nls_equal_rejects_malformed, test_nls_compare_malformed_is_total_order, test_nls_upcase_rejects_malformed, test_nls_parse_valid_upcase, test_nls_parse_rejects_bad_magic, test_nls_parse_rejects_bad_crc, test_nls_parse_rejects_size_mismatch, test_nls_parse_rejects_oob_chunk, test_nls_parse_rejects_dup_chunk, test_nls_upcase_table_path_and_guard, test_nls_ctype1_compiled_fallback, test_nls_missing_dir_fallback, test_nls_parse_rejects_null, test_nls_parse_rejects_short_header, test_nls_parse_rejects_bad_version, test_nls_parse_rejects_chunk_count_over_max, test_nls_parse_rejects_dir_overrun, test_nls_parse_rejects_bad_chunk_type, test_nls_parse_rejects_chunk_in_directory, test_nls_parse_rejects_odd_offset_and_size, test_nls_parse_fold_only_success, test_nls_parse_rejects_odd_fold_chunk, test_nls_ctype_table_paths, test_nls_cp_utf8_3byte_roundtrip, test_nls_cp_utf8_surrogate_roundtrip, test_nls_cp_utf8_invalid_lead, test_nls_cp_utf8_overlong_and_surrogate, test_nls_cp_utf8_truncated, test_nls_cp_invalid_mode_fails_closed, test_nls_cp1252_euro, test_nls_cp1252_undefined_byte, test_nls_cp_unknown_returns_null, test_nls_cp_encode_lone_surrogate, test_nls_cp_encode_astral_to_sbcs, test_nls_cp_bestfit, test_nls_cp_sizing_and_too_small, test_nls_cp_policy_and_info, test_nls_cp_get_info_zeroes_output, test_nls_cp_register_preserves_policy, test_nls_cp_register_rejects_malformed_acp, test_nls_cp_register_rejects_unsupported_acp, test_nls_locale_lookup, test_nls_locale_ui_fallback, test_nls_locale_policy, test_nls_locale_codepages_valid, test_nls_sort_case_insensitive_order, test_nls_sort_prefix_order, test_nls_sort_binary, test_nls_sort_binary_compare, test_nls_sort_sizing, test_nls_normalize_nfd_nfc, test_nls_normalize_unsupported, test_nls_no_silent_normalization, test_nls_fold_digits, test_nls_fold_width_and_flags, test_nls_fold_narrow_passthrough, test_nls_bad_length_rejected, test_nls_syscall_system_nls_info, test_nls_syscall_is_ui_committed, test_nls_syscall_flush_fail_closed, test_nls_syscall_mui_registry_info, test_nls_upcase_inline_matches_authority, test_nls_file_nonascii_fail_closed, test_nls_fuzz_counted_strings, test_nls_cp_roundtrip, test_nls_atom_syscall_roundtrip
test_nt_audit.c 8 27 test_nt_audit_register, test_nt_audit_bad_input, test_nt_audit_pre_block, test_nt_audit_post, test_nt_audit_pool_full, test_nt_audit_recursion_guard, test_nt_audit_reentry_guard, test_nt_audit_pre_deny_skips
test_nt_misc.c 10 40 test_nt_atom_roundtrip, test_nt_atom_refcount, test_nt_atom_case_insensitive, test_nt_atom_latin1_fold, test_nt_atom_integer, test_nt_atom_bad_input, test_nt_atom_table_full, test_nt_atom_query_boundary, test_nt_atom_usage_clamp, test_nt_locale
test_nt_sync.c 12 71 test_nt_sync_ssdt_registered, test_nt_sync_constants, test_nt_sem_release_overflow, test_nt_waitall_rollback, test_nt_waitall_rollback_sem_mutant, test_nt_waitall_duplicates, test_nt_waitall_alias_duplicates, test_nt_mutant_recursion, test_nt_signal_and_wait_mutant, test_nt_signal_and_wait_sem_limit, test_nt_wait_absolute_deadline_expired, test_nt_mutant_recursion_ceiling
test_nt_types.c 51 198 test_ntstatus_success, test_ntstatus_error, test_ntstatus_warning, test_ntstatus_information, test_nt_type_sizes, test_object_attributes_size, test_gdt_sysret_order, test_ssdt_unimplemented_returns_not_implemented, test_ssdt_invalid_table_returns_error, test_ssdt_main_count, test_ssdt_register_and_dispatch, test_per_cpu_offsets, test_boot_config_layout, test_user_elf_range, test_ap_trampoline_offsets, test_interrupt_frame_layout, test_vector_uniqueness, test_xsave_alignment, test_gs_self_pointer, test_filetime_epoch, test_filetime_roundtrip, test_filetime_dos_roundtrip, test_filetime_pre_epoch_guard, test_filetime_dos_clamp_low, test_filetime_days_year_guard, test_nt_syscall_ssdt_registered, test_nt_syscall_ssdt_alias_values, test_nt_create_file_ssdt_registered, test_nt_file_constants, test_nt_process_ssdt_registered, test_nt_thread_info_classes, test_nt_vm_ssdt_registered, test_nt_vm_constants, test_nt_sysinfo_classes, test_nt_procinfo_classes, test_dir_info_struct_sizes, test_dir_enum_extended_dispatch, test_nt_file_metadata_ssdt_registered, test_nt_iocp_roundtrip, test_rtl_status_to_dos_success, test_rtl_status_to_dos_known, test_rtl_status_to_dos_broad, test_rtl_status_to_dos_unknown, test_zw_close_kernel_dispatch, test_probe_for_read_user_range, test_probe_for_read_kernel_ptr, test_probe_for_read_alignment, test_probe_for_read_invalid_alignment, test_assert_kernel_caller, test_previous_mode_default, test_zw_nested_in_usermode
test_nvme.c 1 2 test_nvme_count_and_geometry
test_ob.c 53 291 test_ob_insert_ex_classifies_failures, test_ob_insert_ex_capacity_is_transient, test_ob_namespace_case_insensitive, test_ob_alloc_header_roundtrip, test_ob_refcount_lifecycle, test_ob_handle_table, test_ob_handle_table_destroy_forces_protected_close, test_ob_namespace_lookup, test_ob_handle_low_bits_rejected, test_ob_duplicate_handle, test_ob_duplicate_access_cap, test_ob_duplicate_close_protected, test_ob_duplicate_cap_callback_proof, test_ob_duplicate_close_no_premature_onclose, test_ob_handle_inherit, test_ob_inherit_none, test_ob_query_directory, test_ob_type_stats, test_ob_stat_export_clamp, test_ob_callbacks, test_ob_callbacks_hardening, test_ob_callbacks_dup_create_only_unaffected, test_ob_callbacks_zero_access_noop_allowed, test_ob_handle_quota, test_ob_handle_quota_grows_past_old_cap, test_ob_trace, test_ob_trace_wrap_and_tags, test_ob_trace_mistag_lifetime, test_nt_create_open_directory, test_nt_open_directory_not_found, test_nt_symlink_roundtrip, test_nt_query_symlink_wrong_type, test_ob_symlink_cycle_bounded, test_nt_namespace_ssdt_registered, test_nt_section_anon_roundtrip, test_nt_section_file_backed, test_nt_section_named_open_query_extend, test_nt_section_unmap_bad_base, test_nt_section_ssdt_registered, test_nt_timer_create_and_query, test_nt_timer_set_cancel, test_nt_timer_open_existing, test_nt_timer_wrong_type, test_nt_timer_ssdt_registered, test_nt_lpc_slots_registered, test_nt_lpc_pending_features, test_nt_alpc_slots_registered, test_nt_alpc_pending_features, test_pe_ntdll_exports_sorted, test_pe_ntdll_export_privcheck, test_ob_ns_locking_stress, test_ob_info_file_register_and_read, test_ob_framestats_pseudo_file
test_panic.c 39 98 test_park_publication_owed_before_it_is_recorded, test_park_publication_not_owed_once_recorded, test_park_claim_is_at_most_once, test_park_claim_never_moves_backwards, test_park_second_pass_claims_nothing, test_park_claim_interrupted_at_every_stage, test_park_publication_settles_after_its_stores, test_guarded_append_never_walks_in_a_forbidden_context, test_guarded_append_placeholder_for_a_readable_pointer, test_guarded_append_holds_its_buffer_contract, test_park_claim_rejects_a_step_outside_the_ladder, test_retract_mask_gate_is_panic_safe_domain, test_park_slot_resolves_without_gs, test_park_claim_rejects_null_slot, test_panic_snap_copies_normal, test_panic_snap_null_uses_fallback, test_panic_snap_nmi_never_walks, test_panic_snap_unknown_never_walks, test_panic_snap_unreadable_first_byte, test_panic_snap_null_src_null_fallback, test_panic_snap_truncates_bounded, test_panic_snap_exact_fit, test_panic_snap_cap_one, test_panic_snap_zero_cap_writes_nothing, test_panic_frames_walks_chain, test_panic_frames_nmi_returns_zero, test_kstr_read_guarded_mid_copy_fault, test_panic_snap_recovers_real_fault, test_panic_frames_recovers_real_fault, test_panic_frames_clamps_count, test_panic_frames_honours_small_count, test_panic_frames_zero_count, test_panic_frames_rejects_span_wrap, test_panic_frames_rejects_above_span, test_panic_frames_rejects_misaligned, test_panic_frames_rejects_below_sp, test_panic_frames_breaks_on_cycle, test_panic_frames_null_frame_walks_live, test_panic_frames_null_out
test_pci_pm.c 54 172 test_pci_pm_cap_ptr_by_header_type, test_pci_pm_cap_ptr_ignores_multifunction_bit, test_pci_pm_cap_ptr_unknown_type_refused, test_pci_pm_cap_offset_bounds, test_pci_pm_cap_offset_alignment, test_pci_pm_footprint_is_stricter_than_node_bound, test_pci_pm_cap_offset_cardbus_fixed_fields, test_pci_pm_delay_from_d0, test_pci_pm_delay_from_d1_d2, test_pci_pm_delay_d3hot_exit, test_pci_pm_delay_identity_and_shallower, test_pci_pm_transition_deeper_and_d0_legal, test_pci_pm_transition_wake_to_d0_legal, test_pci_pm_plan_d2_carries_its_delay, test_pci_pm_transition_partial_wake_illegal, test_pci_pm_transition_out_of_range, test_pci_pm_d0_d3hot_always_supported, test_pci_pm_d1_d2_require_advertisement, test_pci_pm_state_supported_rejects_out_of_range, test_pci_pmcsr_write_never_acks_pme, test_pci_pmcsr_write_replaces_state_only, test_pci_pmcsr_write_masks_state_argument, test_pci_pm_no_soft_reset_reported, test_pci_pmcsr_write_all_ones_input, test_pci_pm_status_codes_distinct, test_pci_pm_plan_normal_entry, test_pci_pm_plan_noop_needs_no_write, test_pci_pm_plan_refuses_unsupported_state, test_pci_pm_plan_refuses_partial_wake, test_pci_pm_plan_refuses_out_of_range_target, test_pci_pm_plan_refuses_without_timebase, test_pci_pm_plan_refusal_clears_both_outputs, test_pci_pm_plan_no_delay_needs_no_timebase, test_pci_pm_plan_preserves_pme_state, test_pci_pmcap_read_null_refused, test_pci_set_d_state_out_of_range_refused, test_pci_pm_bdf_range, test_pci_pm_public_apis_refuse_bad_bdf, test_pci_pm_plan_flags_reinit_after_d3hot, test_pci_pm_plan_no_reinit_when_soft_reset_free, test_pci_pm_plan_reinit_only_leaving_d3hot, test_pci_pm_status_codes_are_ok_or_negative, test_pci_pm_all_ones_pmcsr_is_not_a_state, test_pci_pm_partial_response_pmcsr_rejected, test_pci_pm_rrs_is_distinct_from_no_response, test_pci_pm_readiness_allowance_covers_a_reset, test_pci_pm_capability_ttl_matches_node_positions, test_pci_pm_irql_status_is_distinct, test_pci_pm_plan_d0_noop_on_reset_prone_device, test_pci_pm_poison_refuses_every_entry_point, test_pci_pm_poison_is_global_and_clearable, test_pci_pm_pmc_version_range, test_pci_pm_stall_status_is_distinct, test_pci_set_d_state_requires_obligation_pointer
test_peb_teb.c 25 97 test_teb_offsets, test_peb_offsets, test_peb_os_version, test_peb_populated, test_rtlpp_content, test_tls_static_alloc_free, test_tls_expansion_alloc, test_tls_expansion_reuse, test_tls_expansion_boundary, test_tls_constants, test_tls_expansion_post_codes, test_auxv_constants, test_rdrand_bytes_smoke, test_rdrand_bytes_boundaries, test_elf_extract_phdr_info_pt_phdr, test_elf_extract_phdr_info_pt_load_fallback, test_elf_extract_phdr_info_pt_phdr_zero_fallback, test_elf_extract_phdr_info_no_coverage, test_elf_extract_phdr_info_invalid, test_user_auxv_populated, test_kthread_create_smoke, test_uthread_stack_layout, test_uthread_rejects_kernel_task, test_per_thread_teb_kernel_null, test_per_thread_teb_va_stride
test_pm_callback.c 9 121 test_pm_registration, test_pm_walk_ordering, test_pm_transaction_span, test_pm_sleep_abort_unwinds, test_pm_unwind_failure_degrades, test_pm_resume_failure_policy, test_pm_half_registered_slots, test_pm_overrun_accounting, test_pm_degenerate_inputs
test_pm_idle.c 17 50 test_pm_deep_idle_allowed_default, test_pm_deep_idle_allowed_policy_off, test_pm_idle_c1_halts_even_when_not_ready, test_pm_deep_idle_allowed_pending_dpc, test_pm_idle_c1_refuses_irqs_disabled, test_pm_idle_c1_accounts_cycles, test_pm_idle_c1_emits_sti_hlt, test_pm_idle_delta_rejects_backwards_tsc, test_pm_idle_cycles_offline_slot_zero, test_pm_mwait_hint_encode_sdm, test_pm_mwait_hint_encode_rejects_out_of_range, test_pm_mwait_deepest_picks_deepest_class, test_pm_mwait_deepest_skips_empty_classes, test_pm_mwait_deepest_ignores_c0, test_pm_mwait_deepest_refuses_all_zero, test_pm_mwait_deepest_substate_within_count, test_pm_mwait_idle_allowed_rules
test_pmm.c 16 56 test_pmm_alloc_free, test_pmm_contiguous, test_pmm_free_contiguous_frees_all, test_pmm_free_contiguous_degenerate, test_pmm_alloc_pages_hhdm, test_pmm_alloc_pages_hhdm_zero, test_pmm_alloc_pages_hhdm_null_outputs, test_pmm_alloc_pages_hhdm_rounding, test_pmm_alloc_pages_hhdm_overflow, test_pmm_alloc_pages_hhdm_oom, test_mm_phys_extent_in_hhdm, test_pmm_fault_inject_next, test_pmm_fault_inject_countdown, test_pmm_fault_inject_irql_gate, test_pmm_fault_inject_task_filter, test_pmm_fault_inject_max_cap
test_proc_ext.c 83 191 test_resolve_absolute_passthrough, test_resolve_relative_join, test_resolve_relative_from_root, test_resolve_dot_collapse, test_resolve_dotdot_pop, test_resolve_dotdot_at_root_stays_root, test_resolve_dotdot_cannot_escape, test_resolve_forward_slash_normalized, test_resolve_root_relative, test_resolve_multi_separator_collapse, test_resolve_overflow_rejected, test_resolve_invalid_inputs, test_task_cwd_set_get_roundtrip, test_task_cwd_overflow_leaves_unchanged, test_task_cwd_get_null_task, test_resolve_component_255_ok, test_resolve_component_256_rejected, test_ntcreatefile_zero_length_name, test_rlimit_get_set_roundtrip, test_rlimit_cur_gt_max_rejected, test_rlimit_raise_hard_needs_priv, test_rlimit_lower_hard_unprivileged, test_rlimit_bad_resource_rejected, test_rlimit_pid0_defaults, test_rlimit_inherit_copies_full_array, test_rlimit_memlock_hard_ceiling_default, test_mit_fresh_is_zero, test_mit_apply_sets_bit, test_mit_apply_is_monotonic, test_mit_child_set_enables, test_mit_child_set_noop_when_unset, test_mit_child_set_clear_denied, test_pledge_parse_valid, test_pledge_parse_unknown_rejected, test_pledge_parse_empty, test_pledge_tighten_first, test_pledge_tighten_intersect_narrows, test_pledge_tighten_cannot_widen, test_pledge_classify_core_and_deny, test_pledge_file_categories, test_pledge_is_allowed, test_unveil_perms_for_vfs, test_unveil_covers_exact_and_boundary, test_unveil_covers_deny_and_perms, test_unveil_longest_match_wins, test_pledge_legacy_gate, test_unveil_lock_empty_denies, test_unveil_perms_tighten_only, test_job_limits_reject_unsupported, test_job_limits_accept_active_process, test_job_limits_active_zero_rejected, test_job_limits_kill_on_close_ok, test_job_is_member_scan, test_job_pid_list_partial, test_job_accounting_counts, test_job_collect_retries_within_bound, test_job_collect_falls_back_past_bound, test_job_gen_still_across_accounting_read, test_job_gen_moves_on_assign_and_detach, test_job_collect_mixed_membership_compaction, test_job_collect_at_member_cap, test_job_collect_null_inputs, test_pgrp_setpgid_self_own_group, test_pgrp_setpgid_child_join_same_session, test_pgrp_setpgid_not_child_esrch, test_pgrp_setpgid_execed_child_eacces, test_pgrp_setpgid_cross_session_eperm, test_pgrp_setpgid_session_leader_eperm, test_pgrp_setpgid_dest_absent_eperm, test_pgrp_setpgid_dest_other_session_eperm, test_pgrp_setsid_leader_denied, test_pgrp_setsid_nonleader_ok, test_pgrp_setsid_nonleader_group_members_denied, test_pgrp_setpgid_negative_pgid_einval, test_pgrp_orphan_link_alive, test_pgrp_orphan_link_not_alive, test_pgrp_getpgid_unknown_esrch, test_pgrp_setpgid_self_after_exec_ok, test_pgrp_genconsolectrl_bad_event, test_pgrp_genconsolectrl_empty_group, test_pgrp_genconsole_auth_ok, test_pgrp_genconsole_auth_foreign_target, test_pgrp_genconsole_auth_no_owner
test_quota.c 80 566 test_quota_registry_ready, test_quota_type_count, test_quota_all_types_valid, test_quota_out_of_range_safe, test_quota_units_all_rows, test_quota_default_limits_unlimited, test_quota_override_privilege_all_rows, test_quota_names_unique, test_quota_dump_smoke, test_quota_block_create_zeroed, test_quota_charge_return_roundtrip, test_quota_charge_over_limit_refused, test_quota_unlimited_allows_large_charge, test_quota_overflow_domain_guarded, test_quota_return_underflow_refused, test_quota_stale_return_cannot_erase_newer_charge, test_quota_lowering_limit_keeps_committed, test_quota_transfer_moves_and_refuses, test_quota_transfer_self_is_noop, test_quota_charge_api_bad_args, test_quota_block_refcount, test_quota_block_owner_sid, test_quota_block_owner_sid_truncated, test_quota_transfer_cannot_duplicate, test_quota_transfer_refusal_compensates, test_quota_charge_refusal_is_exact, test_quota_concurrent_charges_sum_exactly, test_quota_concurrent_charge_return_balances, test_quota_concurrent_limit_is_exact, test_quota_transfer_corrupt_source, test_quota_negative_usage_fails_closed, test_quota_failure_counter_saturates, test_quota_overflow_counts_failure, test_quota_block_create_failure_paths, test_quota_boundary_matrix, test_quota_principal_recorded, test_quota_user_block_canonical, test_quota_try_ref_live_block, test_quota_rollup_counts_user_layer_once, test_quota_rollup_bad_args, test_quota_task_has_blocks, test_quota_chain_charge_roundtrip, test_quota_chain_all_or_nothing, test_quota_chain_return_idempotent, test_quota_chain_bad_args, test_quota_chain_receipt_reuse_refused, test_quota_chain_no_process_block_fails_closed, test_quota_job_absorb_and_unabsorb, test_quota_job_departure_withdraws_only_absorbed, test_quota_prejoin_release_holds_job_until_detach, test_quota_task_init_teardown_contract, test_quota_unabsorb_refusal_counted, test_quota_cpu_split_monotonic, test_quota_io_split_by_op, test_quota_control_io_zero_byte_counts_op, test_quota_wakeup_only_from_blocked, test_quota_sample_stamped, test_quota_membership_delta_excludes_prejoin, test_quota_delta_saturates_on_reset, test_quota_rate_record_roundtrip, test_quota_rate_ops_and_bytes_coexist, test_quota_rate_unflagged_fields_canonicalized, test_quota_delta_covers_every_field, test_quota_rate_get_retry_preserves_output, test_quota_rate_boundary_matrix, test_quota_rate_record_rejects_bad, test_quota_rate_generation_advances, test_quota_rate_unset_reports_no_policy, test_quota_rate_separate_from_usage, test_quota_object_rows_aggregate_without_aliasing, test_ob_type_counters_are_per_type_authoritative, test_quota_attribution_splits_by_source, test_quota_attribution_follows_adjust, test_quota_attribution_unattributed_is_visible, test_quota_attribution_rejects_undefined_source, test_quota_source_names_and_bounds, test_quota_source_snapshot_matches_scalars, test_quota_attribution_matrix_sums_per_type, test_quota_attribution_mismatch_and_clamp, test_quota_charge_current_from_contract
test_quota_config.c 20 95 test_quota_config_names_complete_and_unique, test_quota_config_name_out_of_range, test_quota_config_tunables_are_registered, test_quota_config_tunable_set_drives_relimit, test_quota_config_relimit_crosses_batches, test_quota_config_relimit_completes_via_tunable, test_quota_config_tunable_requires_privilege, test_quota_config_scoped_to_user_principal, test_quota_config_seeds_user_block, test_quota_config_relimit_reaches_live_blocks, test_quota_config_relimit_respects_explicit, test_quota_config_relimit_bad_args, test_quota_charge_current_charges_after_boot, test_quota_charge_current_zero_amount, test_quota_charge_current_bad_args, test_quota_charge_current_forwards_failures, test_quota_knf_state_charge_symmetry, test_quota_knf_subscription_charge_symmetry, test_quota_knf_subscription_refused_at_cap, test_quota_knf_create_refusal_strands_nothing
test_quota_dashboard.c 19 116 test_quota_generation_moves_on_link, test_quota_generation_stable_on_reacquire, test_quota_snapshot_tracks_outstanding_usage, test_quota_snapshot_isolates_types, test_quota_snapshot_contract, test_quota_dump_does_not_mutate, test_quota_dump_crash_uncontended, test_quota_dump_crash_falls_back_when_locked, test_quota_spin_tryunlock_releases_only_flag, test_quota_dump_renders_usage_row, test_quota_snapshot_crosses_batch_boundary, test_quota_snapshot_overflow_is_indeterminate, test_quota_sweep_classification, test_quota_mutation_epoch_sees_all_mutations, test_quota_lock_count_excludes_foreign_thread, test_quota_charge_requires_type_and_owner, test_quota_refused_charge_moves_nothing, test_quota_lock_count_invocation_scoped, test_quota_lock_count_empty_window_is_zero
test_quota_ledger.c 44 351 test_quota_ledger_return_at_raised_irql_defers, test_quota_ledger_deferred_drain_credits_once, test_quota_ledger_double_return_at_raised_irql, test_quota_ledger_deferred_survives_task_release, test_quota_ledger_destroy_at_raised_irql_defers, test_quota_ledger_deferrals_past_the_slot_budget_complete, test_quota_ledger_charge_current_refuses_raised_irql, test_quota_ledger_charge_current_zero_owes_nothing, test_quota_ledger_drain_now_refuses_raised_irql, test_quota_ledger_deferred_batch_completes, test_quota_gate_enter_exit_balances, test_quota_gate_closed_refuses_charge, test_quota_gate_seal_outranks_closed, test_quota_gate_drain_timeout_restores_open, test_quota_ledger_charge_return_roundtrip, test_quota_ledger_double_return_is_noop, test_quota_ledger_stale_handle_cannot_return_later_charge, test_quota_ledger_zero_charge_holds_nothing, test_quota_ledger_capacity_grows_then_reuses, test_quota_ledger_claim_resumes_at_its_hint, test_quota_ledger_obligation_outlives_task_claim, test_quota_ledger_orphan_reclaimed_and_counted, test_quota_charge_adjust_both_directions, test_quota_charge_adjust_refused_changes_nothing, test_quota_charge_adjust_requires_the_token, test_quota_ledger_migrate_adopts_absorb_record, test_quota_ledger_unmigrate_restores_absorb_record, test_quota_charge_adjust_refusal_spans_every_block, test_quota_ledger_adjust_refused_during_quiesce, test_quota_gate_inflight_ceiling_refuses, test_quota_ledger_migrate_skips_and_is_idempotent, test_quota_charge_adjust_decrease_underflow_fails_closed, test_quota_ledger_charge_handles_allocation_failure, test_quota_ledger_ceiling_refuses_and_reserves_per_type, test_quota_ledger_ceiling_restored_on_failure_paths, test_quota_ledger_ceiling_survives_duplicate_return, test_quota_ledger_ceiling_released_by_deferred_drain, test_quota_ledger_negative_count_fails_closed, test_quota_ledger_ceiling_yields_to_the_gate, test_quota_ledger_charge_from_attributes_the_source, test_ob_job_assign_refusal_unwinds_completely
test_quota_owner.c 5 32 test_quota_receipt_token_blocks_stale_return, test_quota_zero_charge_reports_no_obligation_token, test_quota_receipt_generation_exhaustion, test_quota_failed_charge_clears_predicted_token, test_quota_zero_charge_refused_on_sealed_gate
test_quota_perf.c 7 58 test_quota_charge_lock_budget, test_quota_transfer_lock_budget, test_quota_chain_lock_budget, test_quota_chain_rollback_lock_budget, test_quota_counter_record_locality, test_quota_charge_cycles_advisory, test_quota_chain_cycles_advisory
test_quota_pressure.c 47 287 test_pressure_permille_boundaries, test_pressure_permille_unlimited_is_invalid, test_pressure_permille_no_overflow, test_pressure_rise_needs_debounce, test_pressure_one_step_per_debounce, test_pressure_no_flap_inside_band, test_pressure_falls_with_debounce, test_pressure_debounce_is_asymmetric, test_pressure_invalid_sample_does_not_deescalate, test_pressure_sustained_unknown_resets_level, test_pressure_unsampled_domain_reports_none, test_pressure_stall_seam_tags_its_source, test_pressure_system_level_skips_invalid, test_pressure_system_level_unknown_when_unmeasured, test_pressure_retry_policy_schedule, test_pressure_transition_record_contract, test_pressure_transition_seq_monotonic, test_pressure_failure_record_contract, test_pressure_charge_refusal_emits_event, test_pressure_ceiling_refusal_emits_event, test_pressure_ceiling_refusal_of_a_detached_ledger_is_silent, test_pressure_success_emits_no_event, test_pressure_rate_limit_counts_drops, test_pressure_dropped_event_still_advances_seq, test_pressure_ring_overflow_counted_separately, test_pressure_nomination_clear_when_nobody_qualifies, test_pressure_nominates_saturated_user, test_pressure_nomination_skips_uncapped, test_pressure_dump_is_read_only, test_pressure_records_without_transport, test_pressure_permille_large_no_false_threshold, test_pressure_threshold_boundaries_exact, test_pressure_domain_tracks_worst_principal, test_pressure_worst_user_none_when_uncapped, test_pressure_set_limit_drives_a_sample, test_pressure_transition_survives_full_ring, test_pressure_ring_wraps_after_partial_drain, test_pressure_drain_consumes_every_record, test_pressure_digest_ownerless_block, test_pressure_digest_multi_subauthority_sid, test_pressure_overflow_refusal_emits_event, test_pressure_critical_publishes_nomination, test_pressure_stable_load_still_escalates, test_pressure_idle_domain_is_not_sampled, test_pressure_pending_transitions_keep_order, test_pressure_live_create_backoff, test_pressure_release_transport
test_quota_stall.c 34 168 test_stall_domain_isolation, test_stall_overlapping_waits_not_double_counted, test_stall_unbalanced_leave_clamps, test_stall_exact_permille_is_published_exactly, test_stall_exact_threshold_crosses, test_stall_sub_permille_is_not_erased, test_stall_double_consume_cannot_cancel_another_waiter, test_stall_uninstrumented_reports_unknown, test_stall_validity_needs_a_closed_window, test_stall_cpu_full_is_undefined, test_stall_full_requires_nothing_runnable, test_stall_averages_decay_to_exactly_zero, test_stall_averages_saturate_at_full_scale, test_stall_missed_periods_decay, test_stall_over_long_stalled_gap_keeps_its_measurement, test_stall_missed_periods_counts_reconstructed_spans, test_stall_missed_periods_track_wall_interval, test_stall_over_long_quiet_gap_decays, test_stall_runnable_tracking_does_not_backfill_full, test_stall_absurd_interval_is_discarded, test_stall_dump_runs_clean, test_stall_non_advancing_clock_closes_no_window, test_stall_backwards_clock_reanchors, test_stall_last_update_is_zero_until_a_window_closes, test_stall_rejects_bad_arguments, test_stall_level_rises_and_falls, test_stall_lane_independent_of_budget_lane, test_stall_info_abi_pinned, test_stall_info_class_roundtrip, test_stall_info_class_rejects_short_buffer, test_stall_fold_due_is_mutation_free, test_stall_fold_due_reports_service_needed, test_stall_deferred_folds_recover, test_stall_release_clock_and_transport
test_quota_syscall.c 16 106 test_quota_syscall_job_set_always_privileged, test_quota_syscall_job_wire_size_frozen, test_quota_syscall_suffix_widening_needs_privilege, test_quota_syscall_abi_pinned, test_quota_syscall_time_conversion, test_quota_syscall_projection_reads_real_state, test_quota_syscall_raise_needs_privilege, test_quota_syscall_set_is_all_or_nothing, test_quota_syscall_set_preserves_hard_limit, test_quota_syscall_set_rejects_malformed, test_quota_syscall_non_ex_ignores_suffix, test_quota_syscall_handle_limit_reconcile, test_quota_syscall_reset_clears_policy, test_quota_syscall_generation_advances_on_commit, test_quota_syscall_job_report_shape, test_quota_syscall_job_set_rejects_malformed
test_registry.c 41 133 test_registry_copytree, test_registry_rename, test_registry_rename_separator, test_nt_rename_key_collision, test_registry_volatile, test_registry_save_restore_failclosed, test_registry_kcb_hitrate, test_registry_notify_basic, test_registry_notify_subtree, test_registry_notify_coalesce, test_registry_notify_name, test_registry_notify_cleanup_on_delete, test_registry_notify_deep_path, test_registry_notify_reentrant, test_registry_notify_multicomponent, test_registry_notify_deletetree, test_registry_notify_rename, test_registry_notify_callback_mutation, test_registry_notify_deletetree_values, test_registry_access_enforcement, test_registry_api_limits, test_reg_check_access_basic, test_registry_latin1_casefold, test_registry_dword, test_registry_string, test_nt_create_key, test_nt_open_key, test_nt_open_key_not_found, test_nt_set_query_value, test_nt_enumerate_key, test_nt_query_key, test_nt_registry_ssdt_registered, test_nt_flush_key, test_nt_rename_key, test_nt_notify_change_key_pending, test_nt_unload_key_invalid, test_nt_registry_advanced_registered, test_registry_hive_payload_validation, test_registry_hive_payload_oversized_value, test_registry_hive_payload_depth_limit, test_registry_hive_payload_max_name
test_sched.c 68 272 test_acct_filetime_conversion, test_acct_tick_quantum, test_acct_ring_classification, test_acct_current_task_create_time, test_dpc_init_fields, test_dpc_worker_started, test_dpc_init_threaded, test_dpc_drain_executes, test_dpc_flush_runs_at_dispatch, test_dpc_insert_remove, test_dpc_drain_depth_accounting, test_dpc_threaded_handoff_depth, test_dpc_sample_queue_contract, test_dpc_high_importance_head, test_dpc_importance_abi_values, test_ktimer_init_fields, test_ktimer_set_cancel, test_ktimer_single_shot_fires, test_ktimer_periodic_rearm, test_ktimer_null_dpc_fires, test_ktimer_future_no_fire, test_ktimer_rearm_replaces_dpc, test_ktimer_overdue_periodic_bounded, test_ktimer_dpc_target_normalized, test_kinterrupt_init_fields, test_kinterrupt_synchronize_runs, test_kinterrupt_self_isr_rejected, test_kerequestdpc_enqueues, test_kinterrupt_bind_exclusive, test_apc_init_fields, test_apc_insert_remove, test_apc_insert_to_dead_rejected, test_apc_regions, test_apc_deliver_kernel_normal, test_apc_deliver_special_via_lower_in_critical, test_apc_deliver_special_kernel, test_apc_deliver_critical_suppressed, test_apc_deliver_guarded_suppresses_special, test_apc_leave_critical_delivers, test_apc_leave_guarded_delivers_special, test_apc_rundown_runs, test_irql_require_at_most, test_irql_require_at_least, test_irql_forced_lower, test_irql_forced_lower_rejects_raise, test_irql_monotonic_violation_counted, test_apc_kernel_depth, test_dpc_watchdog_strict_toggle, test_dpc_threaded_remove, test_dpc_flush_threaded, test_irql_to_tpr_mapping, test_irql_tpr_skip_invariant, test_vector_to_irql_boundaries, test_sched_create_thread, test_exec_pending_state, test_exec_take_pending_frame_passthrough, test_exec_stack_pending_free_clear, test_exec_stack_pointers_never_alias, test_exec_kernel_stack_reclaim_leak_free, test_exec_staging_release_is_idempotent, test_exec_staging_release_empty_is_safe, test_exec_staging_kfree_shape, test_per_thread_kernel_rsp_mirror, test_sched_cooperative_yield_fairness, test_sched_kthread_slot_reuse, test_sched_race_barrier_a_first, test_sched_race_barrier_b_first, test_sched_race_barrier_init_clears_state
test_security.c 29 201 test_canary_massage_invariants, test_canary_guard_seeded, test_canary_seed_desc_bounds, test_sid_equal, test_sid_to_string, test_acl_roundtrip, test_system_token, test_privilege_name, test_security_struct_sizes, test_sid_binary_format, test_acl_3ace_walk, test_service_sid, test_luid_allocator, test_sid_valid_reject, test_sid_length_bounded, test_acl_valid_bounded, test_sd_selfrel_import_bounded, test_mic, test_token_assignment, test_privilege_check, test_se_privilege_check_token, test_se_assign_security, test_privilege_set_to_string, test_nt_allocate_luid, test_nt_open_process_token, test_nt_query_token_invalid_handle, test_nt_set_token_readonly, test_nt_adjust_privileges_invalid, test_nt_token_ssdt_registered
test_serial_emergency.c 69 369 test_serial_first_probe_ready_always_sends, test_serial_probe_absent_retires_on_first_liveness, test_serial_first_probe_absent_never_waits, test_serial_first_probe_present_may_wait, test_serial_select_port_adopts_a_positive_probe, test_serial_select_port_keeps_default_on_no_uart, test_serial_select_port_is_an_allowlist, test_serial_select_port_refuses_a_non_legacy_base, test_serial_select_port_keeps_default_on_a_contradiction, test_serial_select_port_never_returns_zero, test_serial_lock_handoff_releases_for_owner, test_serial_lock_handoff_refuses_foreign_owner, test_serial_lock_handoff_inert_when_unowned, test_panic_declared_ctx_vector_and_depth, test_panic_nested_nmi_denies_guarded_read, test_nmi_depth_nests_and_unwinds, test_nmi_depth_exit_saturates_at_zero, test_serial_emergency_acquire_free_lock, test_serial_emergency_acquire_held_lock_does_not_block, test_serial_emergency_release_without_acquire_is_noop, test_serial_emergency_null_lock_is_inert, test_serial_lock_release_wrong_owner_leaves_holder, test_serial_lock_free_is_not_an_identity, test_serial_lock_owner_encoding_is_injective, test_serial_lock_same_owner_reentry_is_refused, test_serial_lock_release_if_owner_for_encodes_raw_id, test_serial_emergency_latch_not_armed_during_boot, test_serial_emergency_budget_saturates, test_serial_emergency_budget_drain_returns_reservation, test_serial_emergency_budget_drain_does_not_erase_timeout, test_serial_emergency_routing_owner_vs_other, test_serial_emergency_routing_fails_open, test_serial_emergency_stale_return_does_not_corrupt_budget, test_serial_emergency_stale_token_cannot_spend_new_epoch, test_serial_emergency_no_token_return_is_inert, test_serial_emergency_charges_are_attributed_per_cpu, test_serial_emergency_charges_reset_across_epoch, test_serial_emergency_reclaim_self_is_bounded, test_serial_emergency_reclaim_returns_an_untouched_reservation, test_serial_emergency_reclaim_preserves_a_charged_timeout, test_serial_emergency_mark_timeout_is_idempotent_and_owned, test_serial_emergency_mark_timeout_cannot_reach_a_new_epoch, test_serial_emergency_kread_u8_reads_valid_bytes, test_serial_emergency_kread_u8_rejects_bad_operands, test_serial_emergency_non_canonical_token_is_refused, test_serial_emergency_return_cannot_erase_a_charged_timeout, test_serial_emergency_reclaim_sweeps_the_whole_budget, test_serial_emergency_reclaim_covers_a_nested_invocation, test_serial_emergency_reclaim_isolated_between_cpu_ids, test_serial_emergency_guarded_read_context_is_opt_in, test_serial_emergency_kread_u8_fixup_routing, test_kstr_read_guarded_copies_and_terminates, test_kstr_read_guarded_bounds_the_copy, test_kstr_read_guarded_reports_unreadable, test_kstr_read_budget_clips_at_the_canonical_half, test_kstr_read_fixup_lookup_routes_reads_only, test_serial_emergency_slot_reuse_picks_the_freed_slot, test_serial_emergency_malformed_token_is_rejected, test_serial_emergency_latch_transitions_preserve_generation, test_serial_emergency_ledger_override_restores, test_serial_emergency_claim_is_exact, test_serial_emergency_epoch_bump_releases_every_allowance, test_serial_emergency_reserve_sweeps_past_a_held_slot, test_serial_emergency_return_rejects_a_foreign_owner, test_serial_emergency_walk_cuts_records_at_the_chunk_edge, test_serial_emergency_walk_stops_at_the_character_ceiling, test_serial_emergency_walk_marks_an_unreadable_source, test_serial_emergency_walk_chunks_alike_in_nmi_context, test_serial_emergency_walk_refuses_null_operands
test_sha1.c 3 7 test_sha1_kat_vectors, test_sha1_million_a_streaming, test_sha1_streaming_equals_oneshot
test_sha256.c 3 7 test_sha256_kat_vectors, test_sha256_million_a_streaming, test_sha256_streaming_equals_oneshot
test_sha384.c 2 6 test_sha384_kat_vectors, test_sha384_streaming_equals_oneshot
test_smbios.c 4 13 test_smbios_rank3_typical, test_smbios_rank3_empty, test_smbios_rank3_single_entry, test_smbios_copy_cap_bound
test_smbios_parse.c 11 20 test_uuid_format_basic, test_uuid_format_all_zero_sentinel, test_uuid_format_all_ff_sentinel, test_uuid_format_dash_positions, test_walker_finds_type1, test_walker_absent_type1, test_walker_rejects_null, test_walker_rejects_zero_length, test_walker_rejects_short_header, test_walker_stops_at_eot_marker, test_walker_caps_oversize_len
test_smp_lifecycle.c 35 138 test_claim_zero_word_is_offline, test_claim_encoding_round_trips, test_claim_dispatch_then_complete, test_claim_busy_slot_refuses_second_dispatch, test_claim_complete_is_generation_exact, test_claim_park_preserves_generation_and_blocks_completion, test_claim_park_is_idempotent, test_claim_publish_idle_preserves_generation, test_claim_publish_idle_refuses_in_flight_slots, test_claim_complete_refuses_idle_at_matching_generation, test_claim_arm_is_generation_exact_and_refuses_parked, test_claim_helpers_tolerate_null_and_optional_output, test_claim_is_busy_reports_owning_generation, test_claim_generation_wraps_without_aliasing_offline, test_mask_set_clear_test_count, test_mask_rejects_out_of_range_cpu, test_mask_count_matches_every_populated_bit, test_live_count_floor_and_bsp_membership, test_present_count_bounds_live_count, test_online_mask_bits_are_within_present_slots, test_bringup_ap_ready_from_starting, test_bringup_abandoned_slot_refuses_late_ap, test_bringup_ready_slot_is_accepted_not_abandoned, test_bringup_arbitration_is_idempotent, test_bringup_terminality_predicate, test_bringup_helpers_tolerate_null, test_fallback_keeps_completed_success, test_fallback_runs_completed_failure, test_fallback_skips_step_whose_worker_still_owns_it, test_fallback_credits_late_worker_by_its_claim, test_fallback_skips_poisoned_step, test_fallback_generation_is_masked, test_fallback_release_predicate, test_release_attribution_requires_the_witness, test_release_attribution_masks_generation
test_smp_rendezvous.c 28 131 test_rv_zeroed_is_idle, test_rv_arm_opens_a_round, test_rv_arm_refuses_while_open, test_rv_arm_refuses_owner_in_target_mask, test_rv_arm_refuses_out_of_range_owner, test_rv_empty_target_set_completes_immediately, test_rv_completes_only_when_every_target_acks, test_rv_untargeted_ack_does_not_complete, test_rv_stale_ack_cannot_complete_the_next_round, test_rv_release_refuses_non_owner, test_rv_release_refuses_when_idle, test_rv_timeout_release_leaves_nobody_parked, test_rv_park_step_acks_and_parks, test_rv_park_step_is_inert_when_no_round_is_open, test_rv_park_step_reacks_after_rearm, test_rv_ack_is_idempotent, test_rv_out_of_range_slot_is_refused, test_rv_mask_width_covers_every_cpu_slot, test_rv_null_is_inert_everywhere, test_rv_release_out_of_range_owner_leaves_round_open, test_rv_target_mask_endpoints_round_trip, test_rv_late_stale_ack_after_rearm_is_ignored, test_rv_park_step_does_not_resume_on_split_snapshot, test_rv_generation_does_not_wrap_at_32_bits, test_rv_set_targets_after_arming, test_rv_set_targets_refuses_non_owner_and_closed_round, test_rv_park_step_does_not_rewrite_the_same_generation, test_rv_live_begin_end_round_trip
test_storage.c 2 2 test_ahci_read, test_virtio_read
test_swap.c 1 4 test_swap_roundtrip
test_syscall_filter.c 8 42 test_sf_custom_bitmap, test_sf_disallow_win32k, test_sf_disallow_fsctl, test_sf_locked_tighten_only, test_sf_clone_isolation, test_sf_bad_input, test_sf_generation_cap, test_sf_dead_then_teardown
test_time.c 21 101 test_pmtmr_delta_basic, test_pmtmr_delta_wrap, test_lapic_ticks_to_ns, test_rtc_time_plausible_valid, test_rtc_time_plausible_rejects, test_rtc_resolve_year, test_ke_delay_interval_to_ms, test_timezone_bias, test_filetime_leap_second_policy, test_coarse_time, test_mono_tsc_raw_advances, test_ntp_tick_adjust, test_ntp_step_target_valid, test_ntp_adjtime_reject_preserves, test_ntp_source_for_correction, test_set_system_time_invalidates_ntp, test_mono_drift_ppm, test_wall_floor_clamp, test_set_system_time_rejects_absurd, test_timer_res_release_noop, test_timer_res_release_roundtrip
test_timer_tick_cb.c 2 3 test_tick_cb_divisor_counting, test_tick_cb_divisor_zero_guard
test_tpm_attest.c 16 140 test_attest_provision_one_budget, test_attest_ek_capture_one_budget_and_teardown, test_attest_teardown_requires_proof, test_attest_build_ek, test_attest_build_policy_secret, test_attest_build_ak, test_attest_build_quote, test_attest_parse_quote, test_attest_parse_quote_sig_reject, test_attest_build_evict, test_attest_no_tpm, test_attest_quote_lifecycle, test_attest_quote_bind_reject, test_attest_ek_cert_oversize, test_attest_cpp_valid, test_attest_cpp_malformed
test_tpm_attest_report.c 3 63 test_attest_handoff_capture, test_attest_report_build, test_attest_report_json
test_tpm_authz.c 50 479 test_authz_record_roundtrip, test_authz_record_digest_covers_everything, test_authz_record_malformed, test_authz_record_kind_substitution, test_authz_transition_rules, test_authz_first_record_generation, test_authz_counter_commit_window, test_authz_pairing_direction, test_baseline_pairing_status_map, test_authz_e2e_lost_commit_anchor, test_baseline_nv_status_map, test_boot_budget_lifecycle_and_clock, test_boot_budget_indivisible_sequence, test_authz_boot_budget_single_deadline, test_authz_e2e_torn_pairing_detected, test_authz_floor_read_plan_matches_sequence, test_authz_baseline_relabel_refused, test_authz_cphash, test_authz_build_policy_cphash, test_authz_build_policy_nv, test_authz_build_policy_authorize, test_authz_build_load_external, test_authz_build_verify_signature, test_authz_parse_bounds, test_authz_unprovisioned_fails_closed, test_authz_authority_name, test_authz_manifest, test_authz_owner_increment_refused, test_authz_e2e_contract_derivation, test_authz_e2e_authorized_advance, test_authz_e2e_write_then_increment_order, test_authz_e2e_stale_generation_refused, test_authz_e2e_uncommitted_record_not_current, test_authz_e2e_forged_record_refused, test_authz_e2e_wrong_index_identity_refused, test_authz_e2e_recreated_anchor_refused, test_authz_e2e_no_handle_leak_on_failure, test_authz_e2e_bind_verify, test_authz_e2e_boot_budget_bounds_verified_read, test_authz_contract_cache, test_authz_grant_wellformed, test_authz_builder_rejections, test_authz_parser_bounds, test_authz_record_parser_bounds, test_authz_write_record_input_guards, test_authz_alloc_refusal_no_handles, test_authz_unknown_alloc_accounted, test_authz_outcome_classification, test_baseline_enroll_auth_refusals, test_baseline_pairing_repair
test_tpm_baseline.c 38 402 test_baseline_finalize_validate, test_baseline_compare, test_baseline_rotation, test_abi_manifest_digest, test_abi_manifest_digest_corruption, test_baseline_abi_manifest_compare, test_baseline_validate_manifest_shape, test_baseline_compare_pcrs, test_baseline_verify_no_transport, test_baseline_compare_cause, test_baseline_cause_label, test_baseline_status_repair, test_baseline_verify_detail_no_transport, test_integrity_publication, test_integrity_build_report, test_baseline_verify_match, test_baseline_verify_pcr_mismatch, test_baseline_verify_scalar_mismatch, test_baseline_verify_abi_mismatch, test_baseline_verify_no_baseline, test_baseline_verify_corrupt, test_baseline_verify_snapshot_fail, test_baseline_verify_undersized_detail, test_baseline_verify_wrapper_forwards, test_baseline_enroll_first, test_baseline_enroll_rotates, test_baseline_enroll_corrupt_no_rollback, test_baseline_fake_tis_malformed, test_baseline_fake_tis_nv_public, test_baseline_fake_tis_injection_disable, test_baseline_headless_first_enroll, test_baseline_headless_transition_mismatch, test_baseline_headless_predecessor_moved, test_baseline_headless_generation_ceiling, test_baseline_predecessor_boundaries, test_baseline_headless_refuses_malformed_candidate, test_baseline_headless_refuses_when_authority_provisioned, test_baseline_enroll_dispatch_routes_by_authority
test_tpm_enroll_gate.c 17 78 test_enroll_gate_admits_confirmed_recovery, test_enroll_gate_refuses_esp_spoofed_recovery, test_enroll_gate_refuses_recovery_selection_without_sticky, test_enroll_gate_replay_must_be_whitelisted, test_enroll_gate_admits_when_loader_cannot_honor_trigger, test_enroll_gate_refuses_degraded_sticky_audit, test_enroll_gate_requires_verified_kernel, test_enroll_gate_refuses_untrusted_boot_chain, test_enroll_gate_refuses_replay_tamper, test_enroll_gate_refuses_without_config_optin, test_enroll_gate_requests_confirmation_once_eligible, test_enroll_gate_confirmation_outcomes_are_distinct, test_enroll_gate_refuses_incoherent_decision_record, test_enroll_gate_null_inputs_fail_closed, test_enroll_gate_refusal_precedence_is_pinned, test_enroll_gate_labels_map_exactly, test_enroll_gate_labels_are_total
test_tpm_event_log.c 9 29 test_tpm_evlog_tpm12_two_events, test_tpm_evlog_tpm20_event2, test_tpm_evlog_truncated, test_tpm_evlog_cap_exceeded, test_tpm_evlog_unsupported_alg, test_tpm_evlog_bad_header, test_tpm_evlog_partial_tail_tpm12, test_tpm_evlog_partial_tail_tpm20, test_tpm_evlog_count_only_null_out
test_tpm_headless_authz.c 35 185 test_ha_accept, test_ha_wrong_device, test_ha_wrong_transition, test_ha_wrong_operation, test_ha_stale_or_spent, test_ha_not_yet_valid, test_ha_bad_signature, test_ha_wrong_authority, test_ha_bad_format, test_ha_fail_closed, test_ha_canon_covers_non_pcr_fields, test_ha_canon_excludes_derived_fields, test_ha_transition_binds_predecessor, test_ha_non_pcr_change_refused, test_ha_digest_known_answers, test_ha_digest_every_field_covered, test_ha_authorize_spends_no_tpm_on_refusal, test_ha_precheck_installed_matches, test_ha_prepare_spends_no_tpm_on_refusal, test_ha_take_refuses_without_capability, test_ha_take_accepts_negotiated_handoff, test_ha_take_refuses_bad_length_untouched, test_ha_take_refuses_corrupt_payload, test_ha_prepare_refuses_before_spending_on_provisioned, test_ha_class_labels, test_ha_payload_classification, test_ha_enroll_headless_arg_guards, test_ha_unknown_facts, test_ha_authority_install, test_ha_gate_admits_and_reports, test_ha_gate_never_substitutes, test_ha_gate_console_untouched, test_ha_labels, test_ha_precheck_ordering, test_ha_wire_offsets
test_tpm_nv.c 42 509 test_nv_classify_rc, test_nv_build_define, test_nv_build_rw, test_nv_parse_read_both_tags, test_nv_parse_misc, test_nv_baseline_policy_selection, test_nv_session_lifecycle, test_nv_sas_parse_malformed, test_nv_wrapper_status, test_nv_flush_busy_wait, test_nv_attr_spec_oracle, test_nv_attrs_validation, test_nv_attr_table_oracle, test_nv_parse_public_policy_bound, test_nv_build_increment_writelock, test_nv_classify_attributes, test_nv_counter_ops, test_nv_increment_writelock_status, test_nv_define_mismatch, test_nv_sequence_budget, test_nv_session_unknown_outcome, test_seq_last_submit_dispatched, test_nv_teardown_and_bounds, test_nv_name_compute, test_nv_identity_contract, test_nv_lifecycle_classify, test_nv_two_index_separation, test_nv_platform_define_attrs, test_nv_undefine_special_marshal, test_nv_policy_command_code_marshal, test_nv_auth_response_sessions, test_nv_live_identity, test_nv_delete_policy_digest, test_nv_undefine_special_exec, test_nv_verify_then_atomicity, test_nv_lifecycle_precedence, test_nv_lifecycle_incomplete_counter, test_nv_platform_validator_inheritance, test_nv_name_boundaries, test_nv_verify_and_read, test_nv_identity_persisted_bounds, test_nv_review_hardening
test_tpm_pcr_alloc.c 4 20 test_pcr_owner_layers, test_pcr11_multiple_events, test_pcr_masks, test_pcr_baseline_list
test_tpm_replay.c 12 92 test_pcr_extend_banks, test_pcr_extend_chain, test_pcr_extend_badargs, test_replay_known_vector, test_replay_legacy_sha1, test_replay_bank_digest_extract, test_replay_verify_report, test_replay_finalize, test_integrity_status_label, test_integrity_status_scope, test_integrity_baseline_verified, test_render_mismatched_pcrs
test_tpm_sb_reconcile.c 2 30 test_uefi_var_data_parse, test_sb_reconcile_classify
test_tpm_seal.c 11 122 test_seal_one_budget_per_operation, test_unseal_one_budget_per_operation, test_seal_teardown_requires_proof, test_seal_build_create_primary, test_seal_build_create_sealed, test_seal_build_load_unseal, test_seal_parse, test_seal_mask_excludes_pcr11, test_seal_lifecycle, test_seal_forged_responses, test_seal_no_tpm
test_tpm_transport.c 8 131 test_tpm2_marshal, test_tpm_t_restore_full_state, test_tpm_crb_submit_fake, test_tpm_transport_no_tpm, test_tpm2_submit_fake, test_tpm2_get_random, test_tpm2_pcr_read, test_entropy_tpm_collect
test_uefi_advanced.c 13 42 test_chassis_mobile_true, test_chassis_mobile_false, test_kb_to_bytes_basic, test_kb_to_bytes_no_wrap_above_4gib, test_type16_capacity_normal_kb, test_type16_capacity_zero_unknown, test_type16_capacity_extended_sentinel, test_type16_extended_sentinel_short_record, test_type19_kb_inclusive_end, test_type19_extended_sentinel, test_type19_mixed_field_resolution, test_type19_sentinel_short_record_rejected, test_type19_reversed_range_rejected
test_uefi_boot.c 54 123 test_uefi_rt_available, test_uefi_var_get_secureboot, test_uefi_var_u32_roundtrip, test_boot_info_framebuffer, test_boot_info_hidpi, test_smbios_uuid, test_secureboot_state_consistency, test_registry_bios_vendor, test_secureboot_db_registry_mirror, test_secureboot_drift_detection, test_uki_initrd_section_size_consistent, test_boot_flag_uki_implies_no_disk_initrd, test_uki_cmdline_rejects_initrd_token, test_serial_source_valid, test_serial_source_matches_port, test_serial_baud_valid, test_serial_port_standard, test_esrt_decode_status_known, test_esrt_decode_status_reserved, test_esrt_decode_type_table, test_esrt_capsule_helpers_oor_idx_returns_zero, test_uki_flag_in_known_mask, test_uki_flag_distinct_position, test_uki_flag_implies_v10_abi, test_esp_integrity_v11_abi, test_esp_size_mb_consistency, test_esp_registry_uuid_format, test_kernel32_exports_sorted, test_vars_registry_validity_contract, test_nt_query_system_information_acpi_enum, test_mat_classify_guard, test_mat_classify_code, test_mat_classify_data, test_mat_classify_rodata, test_mat_classify_wx_violation, test_mat_get_entry_null_guard, test_mat_get_entry_range_guard, test_mat_count_consistent, test_rt_property_mismatches_nonneg, test_rt_supported_implies_pointer_callable, test_media_role_uki_cmdline, test_media_role_uki_cmdline_rejections, test_sha256_boot_matches_kernel, test_sha256_boot_selftest_vectors, test_sha256_boot_streaming_equals_oneshot, test_dpfp_single_node_path, test_dpfp_accepts_missing_terminator, test_dpfp_joins_multiple_nodes, test_dpfp_separator_combinations, test_dpfp_rejects_embedded_nul, test_dpfp_rejects_malformed_lengths, test_dpfp_rejects_ambiguous_shapes, test_dpfp_bounds_output_buffer, test_dpfp_rejects_bad_arguments
test_unwind.c 46 191 test_unwind_abi, test_unwind_add_lookup_delete, test_unwind_add_validation, test_unwind_indirect_entry, test_unwind_virtual_prolog, test_unwind_three_frame_chain, test_unwind_epilog, test_unwind_epilog_ret_imm16, test_unwind_epilog_straddle, test_unwind_set_fpreg_no_framereg, test_unwind_frame_register, test_unwind_callback, test_unwind_callback_self_delete, test_unwind_chained_handler, test_unwind_prolog_no_handler, test_unwind_tailcall_epilog, test_unwind_epilog_import_tailcall, test_unwind_epilog_rexb_not_rsp, test_unwind_epilog_r12_lea, test_unwind_epilog_rbp_sib, test_unwind_version2_rejected, test_unwind_add_arithmetic_bounds, test_unwind_malformed, test_unwind_malformed_transactional, test_unwind_pctofileheader_null, test_stackwalk_capture_depth, test_stackwalk_skip, test_stackwalk_from_context, test_stackwalk_no_runaway, test_stackwalk_noncanonical, test_stackwalk_degenerate, test_stackwalk_frame_chain, test_stackwalk_kstack_read, test_rtlunwind_finally_chain, test_rtlunwind_unreachable_target, test_rtlunwind_stale_flags_normalized, test_rtlunwind_invalid_disposition, test_rtlunwind_fail_after_cleanup, test_rtlunwind_collided, test_rtlunwind_target_collision, test_rtlunwind_collided_wildrsp, test_rtlunwind_collided_repoint, test_rtlunwind_continue_execution_invalid, test_rtlunwind_exit_rejected, test_rtlunwind_dispatcher_abi, test_rtlrestorecontext
test_usb_boot.c 10 98 test_usb_boot_report_fields, test_usb_legacy_classify, test_usb_count_and_geometry, test_usb_boot_sense_classify, test_usb_boot_sense_key_name, test_usb_boot_tur_decide, test_usb_boot_cc_is_halt, test_usb_boot_residue_short, test_usb_boot_host_short, test_usb_boot_scsi_retry_decide
test_usb_hid.c 5 68 test_usb_hid_interval_encode, test_usb_hid_keyboard_inject, test_usb_hid_mouse_decode, test_usb_hid_mouse_coexist, test_usb_input_diag_format
test_usermode.c 0 0
test_usermode_launcher.c 209 889 test_glob_null_pattern_matches_everything, test_glob_literal_match, test_glob_wildcard_prefix, test_glob_wildcard_at_start, test_glob_wildcard_at_end, test_glob_suffix_longer_than_remaining, test_glob_empty_name, test_report_reconcile_passthrough_states, test_report_reconcile_agrees_with_exit, test_report_reconcile_rejects_contradictions, test_report_reconcile_timeout_keeps_counts, test_reason_exit_renders_reserved_block_status, test_timeout_stamp_leaves_the_signal_range, test_stall_stamp_is_distinct_from_a_timeout, test_run_latches_clear_at_the_run_boundary, test_exit_status_classes_partition_the_space, test_report_dispatch_rejects_null_task, test_report_dispatch_accepts_first_submission, test_report_dispatch_accepts_all_zero, test_report_dispatch_accepts_exact_ceilings, test_report_dispatch_rejects_over_ceiling, test_report_dispatch_refuses_second_submission, test_report_dispatch_invalid_is_sticky, test_invalid_escalates_pass_to_fail, test_invalid_escalates_skip_to_fail, test_invalid_leaves_existing_fail_alone, test_skip_budget_allows_normal_runs, test_skip_budget_boundary, test_skip_budget_never_underflows, test_skip_record_name_shape, test_skip_record_name_capacity_boundary, test_json_summary_zero_run, test_skip_record_name_refuses_overflow, test_xml_summary_counts_records, test_xml_summary_reports_errors_as_failure_subset, test_never_ran_records_carry_the_error_classification, test_overflow_fallbacks_preserve_the_verdict, test_record_verdict_maps_never_ran_onto_the_artifacts, test_xml_summary_refuses_truncation, test_xml_summary_carries_abort_state, test_json_summary_separates_dimensions, test_json_records_fit_klog_transport, test_json_run_report_refuses_truncation, test_tap_point_shapes_and_refusals, test_json_run_meta_record, test_json_run_meta_refuses_truncation, test_json_summary_refuses_truncation, test_report_summary_line_shape, test_report_summary_refuses_truncation, test_setter_api_no_crash, test_manifest_accepts_well_formed, test_manifest_rejects_path_traversal, test_manifest_rejects_drive_letters, test_manifest_rejects_non_test_binaries, test_manifest_rejects_control_bytes, test_fault_inject_gate_denies_when_test_is_off, test_fault_inject_clear_works_under_test_mode, test_fault_inject_rejects_unknown_kind, test_fault_inject_kmalloc_countdown_requires_nonzero, test_fault_inject_pmm_countdown_requires_nonzero, test_fault_site_rejects_invalid_site_id, test_fault_site_arm_fails_closed, test_fault_site_claim_fires_exactly_once, test_fault_site_ignores_other_sites_and_allocators, test_fault_site_outside_any_site_never_fires, test_fault_site_arms_are_per_allocator, test_fault_site_cleared_by_clear_all, test_fault_site_fork_pml4_is_pmm_owned, test_fault_site_pmm_replacement_is_two_way, test_fork_pml4_partial_alloc_is_net_zero, test_derive_test_name_happy_path, test_derive_test_name_rejects_bad_input, test_path_join_adds_separator, test_path_join_overflow, test_manifest_hklm_guard_rejects_empty, test_path_has_traversal_catches_variants, test_xml_escape_specials, test_json_escape_specials, test_type_for_name_prefix_inference, test_type_for_name_prefix_boundaries, test_type_from_attr_known_values, test_type_from_attr_unknown_values, test_type_label_matches_enum, test_type_enum_values_stable, test_stress_iters_boot_config_has_nonzero_room, test_frame_tag_exact_bytes, test_frame_tag_fits_klog_subsystem, test_frame_tag_refuses_short_buffer, test_frame_nonce_fold_never_zero, test_name_bound_is_the_minimum_across_formatters, test_name_at_bound_accepted_over_bound_refused, test_charset_refusals_are_distinct_from_not_test_shaped, test_embedded_nul_is_refused_not_truncated, test_name_digest_covers_bytes_past_a_nul, test_refusal_id_is_bound_conforming_and_unique, test_every_aggregate_identity_conforms, test_aggregate_unknown_value_is_not_zero, test_time_ms_clamp_makes_the_digit_width_provable, test_taxonomy_edge_names, test_name_identity_matches_the_filesystem, test_refusal_dedup_is_the_only_net_for_double_publication, test_worst_case_record_fits_at_the_derived_bound, test_refusal_id_survives_ordinal_digit_growth, test_capture_escape_marker_and_control_classes_only, test_capture_escape_refuses_short_buffer, test_capture_escape_empty_input, test_capture_chunk_max_is_positive_and_bounded, test_capture_budget_permits_up_to_the_owner_limit, test_capture_budget_never_reopens_past_the_limit, test_capture_budget_latched_owner_drops_everything, test_capture_budget_owner_scope_wins_over_run, test_capture_claim_charges_the_run_only_for_a_chunk, test_capture_claim_latches_and_then_consumes_nothing, test_capture_claim_run_stop_latches_both, test_capture_seal_outranks_every_other_verdict, test_capture_seal_consumes_nothing_and_latches_nothing, test_capture_claim_reserves_exactly_when_it_draws, test_capture_pending_counts_records_still_owed, test_capture_pending_never_underflows, test_capture_stale_emitter_leaves_the_next_run_untouched, test_capture_close_writes_off_and_ends_the_epoch, test_capture_close_reports_an_unsettled_claim_fail_closed, test_capture_receipt_settles_a_delivered_record_without_its_emitter, test_capture_receipt_counts_a_declined_record_apart, test_capture_receipt_refuses_a_claim_from_a_closed_epoch, test_capture_write_offs_do_not_leak_across_three_runs, test_capture_admission_survives_past_the_uint32_ceiling, test_capture_late_completion_cannot_cancel_a_live_reservation, test_capture_reap_selects_only_this_owners_descendants, test_capture_unlink_keeps_the_fence_the_reap_set, test_capture_emits_exactly_one_owner_marker_then_stops, test_capture_owner_budget_covers_its_raw_allowance, test_capture_run_budget_covers_owner_and_run_allowance, test_capture_wire_model_bounds_both_allowances, test_capture_byte_uncaptured_task_returns_zero, test_capture_emission_settles_through_the_live_receipt, test_capture_byte_and_flush_produce_the_wire_record, test_capture_exact_chunk_boundary_emits_one_final_record, test_capture_chunk_boundary_plus_one_emits_two_records, test_capture_window_is_exact_under_a_saturated_ring, test_ring_window_fails_closed_at_the_overrun_boundary, test_ring_window_indexes_across_the_wrap, test_capture_write_identity_spans_one_write_only, test_capture_begin_announces_the_enforced_chunk_bound, test_capture_arming_postcondition_covers_every_branch, test_capture_inherit_copies_active_and_owner_unchanged, test_loader_evidence_cannot_outlive_its_own_invocation, test_loader_evidence_reset_clears_every_field, test_loader_evidence_snapshot_copies_every_field, test_loader_entry_evidence_requires_ring3_selector, test_capture_inherit_uncaptured_parent_stays_uncaptured, test_filter_folds_case_like_the_filesystem, test_plan_folds_an_identical_duplicate, test_plan_refuses_a_conflicting_duplicate, test_plan_overflow_runs_nothing, test_unbuildable_path_is_not_present, test_manifest_parses_past_the_old_runnable_cap, test_manifest_refusal_is_terminal_for_its_identity, test_lossy_refusal_name_is_not_an_identity, test_refused_attribute_vetoes_a_later_case_variant, test_fully_filtered_manifest_stays_authoritative, test_attribute_refused_smoke_aborts_the_suite, test_smoke_provenance_survives_every_refusal_route, test_deduplicated_refusal_keeps_smoke_provenance, test_filtered_out_smoke_refusal_does_not_abort, test_overlength_refusals_are_not_deduplicated, test_plan_alloc_failure_is_a_distinct_state, test_plan_intern_exhaustion_and_compaction, test_identity_digest_is_stable_and_content_bound, test_identity_freeze_refuses_unloadable_sizes, test_identity_verifier_is_fail_closed, test_unfreezable_entry_becomes_a_counted_refusal, test_capture_open_write_reset_clears_every_field, test_capture_death_snapshot_ignores_unarmed_thread, test_capture_death_snapshot_defaults_to_killed, test_capture_death_snapshot_is_not_overwritten, test_capture_death_snapshot_covers_every_thread, test_capture_budget_cut_only_for_a_later_stop, test_capture_settlement_is_claimed_exactly_once, test_fork_admission_admits_the_ordinary_case, test_fork_admission_refuses_a_reaping_tree, test_fork_admission_fails_closed_on_an_impossible_owner, test_fork_admission_refuses_a_saturated_count, test_reap_empty_tree_is_exact_and_touches_nothing, test_reap_fences_and_latches_before_it_kills, test_reap_census_is_exact_once_the_drain_settles, test_reap_reports_an_inexact_census_when_the_drain_expires, test_reap_is_inexact_when_a_forker_died_mid_constructor, test_reap_ignores_another_owners_stranded_registration, test_reap_grace_stops_when_its_descendants_die, test_reap_catches_a_descendant_published_in_the_grace_window, test_reap_reports_a_producer_that_outlasts_the_round_cap, test_reap_cleans_children_first_and_never_twice, test_reap_never_touches_the_owner, test_reap_ignores_another_binarys_descendants, test_wait_returns_ready_without_yielding_when_already_true, test_wait_reports_timeout_on_a_live_clock, test_wait_escapes_a_frozen_millisecond_clock, test_wait_escapes_when_both_clocks_are_frozen, test_wait_does_not_call_a_coarse_clock_a_stall, test_wait_terminates_without_a_watchdog_source, test_wait_escapes_a_clock_that_stops_mid_wait, test_wait_rate_bound_covers_the_fastest_qualified_clock, test_wait_watchdog_budget_arithmetic, test_wait_long_supported_timeout_outlives_the_watchdog, test_wait_rate_mismatch_is_why_a_demoted_tsc_falls_back, test_reap_escapes_a_frozen_clock_and_refuses_exactness, test_reap_over_a_frozen_clock_still_reaps_a_healthy_tree, test_reap_retry_drain_does_not_erase_an_earlier_stall
test_vfs.c 12 40 test_vfs_file_roundtrip, test_vfs_open_nonexistent, test_vfs_mkdir_rmdir, test_vfs_drive_constants, test_vfs_o_trunc_ixfs_shrinks, test_vfs_o_trunc_no_write_rejected, test_vfs_o_trunc_directory_silently_masked, test_vfs_o_trunc_directory_read_only_masked, test_vfs_o_trunc_fat32_lowercase_lfn, test_vfs_rename_replace_ixfs_rejects, test_vfs_rename_legacy_no_flag_ixfs, test_vfs_rename_replace_flag_bit
test_vmm.c 23 122 test_wx_text_ro, test_wx_rodata_ro, test_wx_rodata_str_covered, test_wx_immutable_alloc_covered, test_vmm_map_roundtrip, test_vmm_map_mmio_wc, test_vmm_map_mmio_reject, test_vmm_split_huge_page, test_vmm_set_ro, test_vmm_set_nx, test_vmm_guard_page_install, test_vmm_guard_page_saturation, test_vmm_guard_page_alias_refused, test_vmm_guard_page_flags_normalized, test_vmm_guard_page_unregistered_ro_refused, test_vmm_guard_page_install_alias_refused, test_vmm_guard_page_unregistered_absent_refused, test_vmm_map_user_page_roundtrip, test_vmm_map_fault_inject, test_vmm_map_fault_inject_task_filter, test_vmm_map_fault_inject_max_cap, test_vmm_user_pml4_create_destroy, test_vmm_set_user_page_sets_bit
test_vpd.c 2 19 test_vpd_post16_name_known, test_vpd_post16_name_unmapped
test_watchdog.c 16 17 test_wdat_valid, test_wdat_null, test_wdat_size_too_small, test_wdat_bad_header_length, test_wdat_zero_timer_period, test_wdat_bad_counts, test_wdat_entry_overflow, test_wdat_zero_entries, test_wdat_bad_gas, test_wdat_missing_action, test_wdat_unknown_instruction, test_wdat_get_running_wrong_class, test_wdat_set_countdown_wrong_class, test_wdat_reset_wrong_class, test_wdat_mixed_class_rejected, test_wdat_kind_none_before_init
TOTAL 3517 15535
Impossible OS is free software under the GPL-3.0-only license. Last updated Edit this page on GitHub