MCPcopy Create free account
hub / github.com/DLTcollab/sse2neon / LLVMFuzzerTestOneInput

Function LLVMFuzzerTestOneInput

tests/fuzz.cpp:1628–1670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1626
1627/* libFuzzer Entry Point */
1628extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
1629{
1630 /* Run all test strategies */
1631 test_shuffle_indices(data, size);
1632 test_alignment(data, size);
1633 test_integer_overflow(data, size);
1634 test_common_instructions(data, size);
1635 test_float_edge_cases(data, size);
1636 test_extract_insert(data, size);
1637 test_crc32(data, size);
1638 test_abs_sign(data, size);
1639
1640 /* Scalar and NaN handling */
1641 test_scalar_float(data, size);
1642 test_nan_operand_order(data, size);
1643 test_ordered_unordered_cmp(data, size);
1644 test_dot_product(data, size);
1645 test_double_precision(data, size);
1646 test_conversion_edge_cases(data, size);
1647
1648 /* SSE3, SSE4.2, AES, CLMUL extensions */
1649 test_sse3_ops(data, size);
1650 test_sse42_string(data, size);
1651 test_aes_ops(data, size);
1652 test_clmul_ops(data, size);
1653
1654 /* Fuzz-controlled parameters */
1655 test_fuzz_controlled(data, size);
1656
1657 /* Memory and advanced operations */
1658 test_streaming_stores(data, size);
1659 test_rounding_ops(data, size);
1660 test_masked_moves(data, size);
1661 test_advanced_integer(data, size);
1662
1663 /* Invariant checks */
1664 test_scalar_lane_preservation(data, size);
1665
1666 /* System intrinsics */
1667 test_system_intrinsics(data, size);
1668
1669 return 0;
1670}

Callers

nothing calls this directly

Calls 15

test_shuffle_indicesFunction · 0.85
test_alignmentFunction · 0.85
test_integer_overflowFunction · 0.85
test_common_instructionsFunction · 0.85
test_float_edge_casesFunction · 0.85
test_extract_insertFunction · 0.85
test_crc32Function · 0.85
test_abs_signFunction · 0.85
test_scalar_floatFunction · 0.85
test_nan_operand_orderFunction · 0.85
test_dot_productFunction · 0.85

Tested by

no test coverage detected