static void test_visitor_in_fuzz(TestInputVisitorData *data,

                                 const void *unused)

{

    int64_t ires;

    bool bres;

    double nres;

    char *sres;

    EnumOne eres;

    Error *errp = NULL;

    Visitor *v;

    unsigned int i;

    char buf[10000];



    for (i = 0; i < 100; i++) {

        unsigned int j;



        j = g_test_rand_int_range(0, sizeof(buf) - 1);



        buf[j] = '\0';



        if (j != 0) {

            for (j--; j != 0; j--) {

                buf[j - 1] = (char)g_test_rand_int_range(0, 256);

            }

        }



        v = visitor_input_test_init(data, buf);

        visit_type_int(v, &ires, NULL, &errp);



        v = visitor_input_test_init(data, buf);

        visit_type_bool(v, &bres, NULL, &errp);

        visitor_input_teardown(data, NULL);



        v = visitor_input_test_init(data, buf);

        visit_type_number(v, &nres, NULL, &errp);



        v = visitor_input_test_init(data, buf);

        visit_type_str(v, &sres, NULL, &errp);

        g_free(sres);



        v = visitor_input_test_init(data, buf);

        visit_type_EnumOne(v, &eres, NULL, &errp);

        visitor_input_teardown(data, NULL);

    }

}

static void test_visitor_in_fuzz(TestInputVisitorData *data,

                                 const void *unused)

{

    int64_t ires;

    bool bres;

    double nres;

    char *sres;

    EnumOne eres;

    Error *errp = NULL;

    Visitor *v;

    unsigned int i;

    char buf[10000];



    for (i = 0; i < 100; i++) {

        unsigned int j;



        j = g_test_rand_int_range(0, sizeof(buf) - 1);



        buf[j] = '\0';



        if (j != 0) {

            for (j--; j != 0; j--) {

                buf[j - 1] = (char)g_test_rand_int_range(0, 256);

            }

        }



        v = visitor_input_test_init(data, buf);

        visit_type_int(v, &ires, NULL, &errp);



        v = visitor_input_test_init(data, buf);

        visit_type_bool(v, &bres, NULL, &errp);

        visitor_input_teardown(data, NULL);



        v = visitor_input_test_init(data, buf);

        visit_type_number(v, &nres, NULL, &errp);



        v = visitor_input_test_init(data, buf);

        visit_type_str(v, &sres, NULL, &errp);

        g_free(sres);



        v = visitor_input_test_init(data, buf);

        visit_type_EnumOne(v, &eres, NULL, &errp);

        visitor_input_teardown(data, NULL);

    }

}

    Error *errp = NULL;         visit_type_int(v, &ires, NULL, &errp);         visit_type_bool(v, &bres, NULL, &errp);         visit_type_number(v, &nres, NULL, &errp);         visit_type_str(v, &sres, NULL, &errp);         visit_type_EnumOne(v, &eres, NULL, &errp);
static void FUNC_0(TestInputVisitorData *VAR_0,

                                 const void *VAR_1)

{

    int64_t ires;

    bool bres;

    double VAR_2;

    char *VAR_3;

    EnumOne eres;

    Error *errp = NULL;

    Visitor *v;

    unsigned int VAR_4;

    char VAR_5[10000];



    for (VAR_4 = 0; VAR_4 < 100; VAR_4++) {

        unsigned int VAR_6;



        VAR_6 = g_test_rand_int_range(0, sizeof(VAR_5) - 1);



        VAR_5[VAR_6] = '\0';



        if (VAR_6 != 0) {

            for (VAR_6--; VAR_6 != 0; VAR_6--) {

                VAR_5[VAR_6 - 1] = (char)g_test_rand_int_range(0, 256);

            }

        }



        v = visitor_input_test_init(VAR_0, VAR_5);

        visit_type_int(v, &ires, NULL, &errp);



        v = visitor_input_test_init(VAR_0, VAR_5);

        visit_type_bool(v, &bres, NULL, &errp);

        visitor_input_teardown(VAR_0, NULL);



        v = visitor_input_test_init(VAR_0, VAR_5);

        visit_type_number(v, &VAR_2, NULL, &errp);



        v = visitor_input_test_init(VAR_0, VAR_5);

        visit_type_str(v, &VAR_3, NULL, &errp);

        g_free(VAR_3);



        v = visitor_input_test_init(VAR_0, VAR_5);

        visit_type_EnumOne(v, &eres, NULL, &errp);

        visitor_input_teardown(VAR_0, NULL);

    }

}

static void FUNC_0(TestInputVisitorData *VAR_0,
const void *VAR_1)
{ int64_t ires; bool bres; double VAR_2; char *VAR_3; EnumOne eres; Error *errp = NULL; Visitor *v; unsigned int VAR_4; char VAR_5[10000]; for (VAR_4 = 0; VAR_4 < 100; VAR_4++) { unsigned int VAR_6; VAR_6 = g_test_rand_int_range(0, sizeof(VAR_5) - 1); VAR_5[VAR_6] = '\0'; if (VAR_6 != 0) { for (VAR_6--; VAR_6 != 0; VAR_6--) { VAR_5[VAR_6 - 1] = (char)g_test_rand_int_range(0, 256); } } v = visitor_input_test_init(VAR_0, VAR_5); visit_type_int(v, &ires, NULL, &errp); v = visitor_input_test_init(VAR_0, VAR_5); visit_type_bool(v, &bres, NULL, &errp); visitor_input_teardown(VAR_0, NULL); v = visitor_input_test_init(VAR_0, VAR_5); visit_type_number(v, &VAR_2, NULL, &errp); v = visitor_input_test_init(VAR_0, VAR_5); visit_type_str(v, &VAR_3, NULL, &errp); g_free(VAR_3); v = visitor_input_test_init(VAR_0, VAR_5); visit_type_EnumOne(v, &eres, NULL, &errp); visitor_input_teardown(VAR_0, NULL); } }