Go to the source code of this file.
|
static const struct Legal | gLegal [] |
|
static bool | gEasy = false |
|
static const char | gWhiteSpace [] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A } |
|
◆ add_comma()
Definition at line 62 of file FuzzParsePath.cpp.
62 {
65 return;
66 }
72 }
74}
static void add_some_white(Fuzz *fuzz, SkString *atom)
static void add_white(Fuzz *fuzz, SkString *atom)
void append(const char text[])
◆ add_some_white()
◆ add_white()
Definition at line 38 of file FuzzParsePath.cpp.
38 {
41 return;
42 }
43
44
45 uint8_t reps;
47 for (uint8_t rep = 0; rep < reps; ++rep) {
48 uint8_t index;
52 }
53 }
54}
static const char gWhiteSpace[]
void nextRange(T *, Min, Max)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ DEF_FUZZ()
DEF_FUZZ |
( |
ParsePath |
, |
|
|
fuzz |
|
|
) |
| |
Definition at line 116 of file FuzzParsePath.cpp.
116 {
120 fuzz->nextRange(&
count, 0, 40);
121 for (uint8_t
i = 0;
i <
count; ++
i) {
123 }
124 SkDebugf(
"SkParsePath::FromSVGString(%s, &path);\n",spec.
c_str());
126 SkDebugf(
"Could not decode path\n");
127 }
128}
SkString MakeRandomParsePathPiece(Fuzz *fuzz)
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static bool FromSVGString(const char str[], SkPath *)
const char * c_str() const
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
◆ MakeRandomParsePathPiece()
Definition at line 76 of file FuzzParsePath.cpp.
76 {
78 uint8_t legalIndex;
84 char symbol = legal.
fSymbol | (
b ? 0x20 : 0);
86 uint8_t reps;
88 for (int rep = 0; rep < reps; ++rep) {
89 for (
int index = 0; index < legal.
fScalars; ++index) {
94 if (rep < reps - 1 && index < legal.
fScalars - 1) {
96 } else {
98 }
99 if (
'A' == legal.
fSymbol && 1 == index) {
110 }
111 }
112 }
113 return atom;
114}
static void add_comma(Fuzz *fuzz, SkString *atom)
static const struct Legal gLegal[]
void appendScalar(SkScalar value)
void appendU32(uint32_t value)
◆ gEasy
◆ gLegal
const struct Legal gLegal[] |
|
static |
Initial value:= {
{ 'M', 2 },
{ 'H', 1 },
{ 'V', 1 },
{ 'L', 2 },
{ 'Q', 4 },
{ 'T', 2 },
{ 'C', 6 },
{ 'S', 4 },
{ 'A', 4 },
{ 'Z', 0 },
}
◆ gWhiteSpace
const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A } |
|
static |