static void test_qemu_strtoull_full_max(void)

{

    char *str = g_strdup_printf("%lld", ULLONG_MAX);

    uint64_t res = 999;

    int err;



    err = qemu_strtoull(str, NULL, 0, &res);



    g_assert_cmpint(err, ==, 0);

    g_assert_cmpint(res, ==, ULLONG_MAX);

    g_free(str);

}

static void test_qemu_strtoull_full_max(void)

{

    char *str = g_strdup_printf("%lld", ULLONG_MAX);

    uint64_t res = 999;

    int err;



    err = qemu_strtoull(str, NULL, 0, &res);



    g_assert_cmpint(err, ==, 0);

    g_assert_cmpint(res, ==, ULLONG_MAX);

    g_free(str);

}

static void FUNC_0(void)

{

    char *VAR_0 = g_strdup_printf("%lld", ULLONG_MAX);

    uint64_t res = 999;

    int VAR_1;



    VAR_1 = qemu_strtoull(VAR_0, NULL, 0, &res);



    g_assert_cmpint(VAR_1, ==, 0);

    g_assert_cmpint(res, ==, ULLONG_MAX);

    g_free(VAR_0);

}

static void FUNC_0(void)
{ char *VAR_0 = g_strdup_printf("%lld", ULLONG_MAX); uint64_t res = 999; int VAR_1; VAR_1 = qemu_strtoull(VAR_0, NULL, 0, &res); g_assert_cmpint(VAR_1, ==, 0); g_assert_cmpint(res, ==, ULLONG_MAX); g_free(VAR_0); }