Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
filterfuzz.cpp
Go to the documentation of this file.
1// Copyright 2021 Google LLC.
2// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
4
7
8static DEFINE_int_2(option, o, 0, "An option");
9
10static void exitf(const char* format, ...) SK_PRINTF_LIKE(1, 2);
11
12static void exitf(const char* format, ...) {
13 va_list args;
14 va_start(args, format);
15 vfprintf(stderr, format, args);
16 va_end(args);
17
18 exit(1);
19}
20
21int main(int argc, char** argv) {
23
24 if (FLAGS_option) {
25 exitf("Invalid option\n");
26 }
27
29
30 return 0;
31}
#define DEFINE_int_2(name, shortName, defaultValue, helpString)
#define SK_PRINTF_LIKE(A, B)
static void Parse(int argc, const char *const *argv)
static void Init()
static void exitf(const char *format,...) SK_PRINTF_LIKE(1
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t uint32_t * format
char ** argv
Definition library.h:9
Definition main.py:1