mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-24 14:43:22 +00:00
Compare commits
1076 Commits
Author | SHA1 | Date | |
---|---|---|---|
ee206da389 | |||
fac108476c | |||
4f7a8a4c70 | |||
976ee9022c | |||
0625eb0a05 | |||
77b824d101 | |||
b7b38205d8 | |||
6c715f1a69 | |||
fc19aa96f7 | |||
50f61b64b1 | |||
809a7cffe2 | |||
6399f84ba2 | |||
8459bcdf85 | |||
6adaacbb3a | |||
6c846bcf2c | |||
e45ae8e5da | |||
cea2fadbf4 | |||
4c48d3a3ad | |||
020b8a4964 | |||
08f6e1d66a | |||
28e457e8d8 | |||
c7255f2e26 | |||
6340674a23 | |||
4538f689ed | |||
e4a86b40a5 | |||
75c38d6243 | |||
6f75100602 | |||
07cee6b750 | |||
651ad18e21 | |||
664daa2f3c | |||
ed6243df5a | |||
bd57784664 | |||
7f621509ee | |||
4261e17b3e | |||
8ca4414d70 | |||
6090bb1bca | |||
a552631d3b | |||
c552229c4d | |||
2dffed1cff | |||
e93f78eca5 | |||
9bbbec3fa8 | |||
338638b124 | |||
17e1a72b3b | |||
3e6471b949 | |||
e4de4e3500 | |||
bea76b346c | |||
53e63e9ded | |||
b1b5e21600 | |||
d765740707 | |||
192cadee34 | |||
d7d8afa512 | |||
01fcee1190 | |||
0805437222 | |||
4398b9b517 | |||
909262f6c5 | |||
155ef8875a | |||
58cf030546 | |||
18ea9a8447 | |||
ebd1e6bc4b | |||
45d866d548 | |||
8087cf7988 | |||
9e8b3f13e1 | |||
ce4700ca6e | |||
8253f90134 | |||
86421f3469 | |||
811ef13b20 | |||
7fb72f1038 | |||
d2c9e4baa7 | |||
81767287c3 | |||
6c980e2a02 | |||
e7db4d4fe0 | |||
567042d146 | |||
4697e4a5a5 | |||
92b1f9cf36 | |||
bbf00204ea | |||
a42b74b624 | |||
7ee255cbcf | |||
961ddfd7f8 | |||
4566bcf122 | |||
ca0105ddf6 | |||
41bb359428 | |||
146ede0f29 | |||
c0fd7ba6d1 | |||
b0b2a15891 | |||
ff3c9cbd73 | |||
6e839f0f6a | |||
a3cd523250 | |||
b44620f0b0 | |||
9a6a32775f | |||
3e8beaafc8 | |||
33e58c1d4e | |||
4be0ea596b | |||
96ef7083c8 | |||
78eaa6b203 | |||
1efc6e59b7 | |||
19eddbb0c7 | |||
6a34c5aa3e | |||
c7f0d30668 | |||
a7c3f252d5 | |||
b9b6f06429 | |||
a1442bd1ac | |||
4d9d52e3d9 | |||
6184832ea9 | |||
e2b54bfa05 | |||
425908a00c | |||
1301552101 | |||
c4f71ab201 | |||
42ef1968a5 | |||
5ec91fce23 | |||
47878f6974 | |||
d5c77a9e96 | |||
4d2694c114 | |||
017c8a6940 | |||
b0a783e86f | |||
714e4d2b46 | |||
85a4c5e724 | |||
182b8b3e14 | |||
4ce5ed370a | |||
f7bac482e9 | |||
bd074e9150 | |||
d52ea44c27 | |||
9c1b6cfb99 | |||
631d3f274a | |||
3cdaf4dcf2 | |||
572944d726 | |||
779d8f6b7e | |||
322847755a | |||
f9f28b9c7c | |||
c3bc0145e7 | |||
17d403b8f8 | |||
9faf7b6fc8 | |||
5c759953f4 | |||
1c64048d0f | |||
b504b9313a | |||
1a94cfe2af | |||
7470b475a9 | |||
0a6084f361 | |||
f92607cff1 | |||
9532499ef5 | |||
1d56de6c1d | |||
266b51a842 | |||
cc1fe2f2d2 | |||
43214d6b46 | |||
2f28ecd3a5 | |||
73a629d6f2 | |||
0a251f93e0 | |||
1cf4738487 | |||
af14acf2c1 | |||
a7537b5511 | |||
15e799f7ae | |||
5f0a9c90c8 | |||
9ff9ff2ad2 | |||
d86b13384f | |||
17a4e9fadf | |||
ce513c4f3e | |||
ce92adcb9b | |||
e94cc1fae0 | |||
32fe047894 | |||
d1bc0207cc | |||
69f8c62955 | |||
83df65a66b | |||
c3a6e7e870 | |||
d0ab83a202 | |||
b5d1a021ef | |||
e9fb5f4cbc | |||
212bb990b7 | |||
8e984c2aa0 | |||
7f435ec5f1 | |||
47faf3dd33 | |||
c4e52e20c9 | |||
2c5e103278 | |||
7a6867e2f8 | |||
8044ae28be | |||
b38837f4ff | |||
c25479264d | |||
e9b3da5d96 | |||
132b57cf03 | |||
ee548df05f | |||
052d74b16c | |||
83281503b3 | |||
b604f5eafc | |||
220dc4a43d | |||
457f627101 | |||
4f695b6f4c | |||
3ec1b23743 | |||
0ba09ee85a | |||
67dac15226 | |||
9cf8637fab | |||
50e76fce12 | |||
432638404f | |||
1e38c10efb | |||
701fb95d24 | |||
7b5a18428e | |||
7d7a8c7c39 | |||
a422fcaa40 | |||
fee58a4d1b | |||
3ecafde29d | |||
8428b18d2a | |||
9c953ab51f | |||
f181a8307b | |||
84b9d551fd | |||
8f8555dfdf | |||
464c27082a | |||
3aa7d8081d | |||
fb84103ffb | |||
c270646722 | |||
87da1e7af6 | |||
9b71f7e5e4 | |||
9945c1648b | |||
e5d24827de | |||
a6521e89fc | |||
5e36fb32a8 | |||
fb0181f5bc | |||
6fa2c213ef | |||
9ec223c844 | |||
558a82891a | |||
4fc16b542e | |||
ff40359a60 | |||
e99d7e9730 | |||
b60663c031 | |||
32db31b555 | |||
a1129b67c2 | |||
8a1cf3f0f9 | |||
0bb59ba116 | |||
e4a0237cbc | |||
d8f5502d83 | |||
45d0e4765e | |||
9a1d526ed4 | |||
ebc6f52868 | |||
a19b31bf82 | |||
28251a495a | |||
f4592a8fb4 | |||
b29d91edf5 | |||
986af28df2 | |||
27abecbff5 | |||
33141cf8a3 | |||
8551d8e48e | |||
32558bc807 | |||
934cdc32f4 | |||
699ebaa8e2 | |||
44ad516edd | |||
fd9a7e719d | |||
e51f1ea5a5 | |||
22d3a5e90a | |||
673ace2a4b | |||
4a6d66d8c5 | |||
1978629d87 | |||
6b1ad311da | |||
5b06166144 | |||
a0fab35bbf | |||
420b202124 | |||
fb14e55cc9 | |||
e2434cf8c6 | |||
d94681186d | |||
58a710d192 | |||
716eb226b2 | |||
cb3631a322 | |||
bd1d148f83 | |||
7e0c9a36ef | |||
bbfff7d472 | |||
e048d95660 | |||
970d75d681 | |||
51f3a81037 | |||
8190436f8f | |||
08bcaa135f | |||
c4e5f75728 | |||
1064c7114e | |||
0281872ddf | |||
c6bf23377d | |||
2d650f8c22 | |||
19631851f6 | |||
f30ca1476c | |||
0712d44cbc | |||
15f3210d93 | |||
9864d9c189 | |||
bd36aac60a | |||
4a859aff70 | |||
8fc727e597 | |||
585ec04503 | |||
a1c93f24d4 | |||
f6c89ec3a9 | |||
3d8f054580 | |||
6d364dd2cb | |||
8ed6207b5c | |||
c8354d7516 | |||
79f873a597 | |||
8850e1a5bf | |||
194188fe56 | |||
cc74efa35e | |||
e7f2770275 | |||
af277a0b56 | |||
4163f47e09 | |||
b2aa8b03d9 | |||
e1d20706ca | |||
76888fdf59 | |||
e6e38d1703 | |||
44060590b4 | |||
38bed607d1 | |||
ed63364a77 | |||
55bd24b0c7 | |||
f18c2eb8ae | |||
898353c87a | |||
d5d8d664d0 | |||
409e4ae945 | |||
f335c48686 | |||
9d82c3cf5e | |||
491cee669f | |||
e0d1529061 | |||
1cddd51662 | |||
6041b1c486 | |||
349fed3fcd | |||
b708cf7d45 | |||
a267ff1ab5 | |||
8e0c776137 | |||
4512377fa1 | |||
9439ba1dac | |||
9c9c4a6b2b | |||
6efe51a8a7 | |||
593940c39a | |||
8ea19d4266 | |||
b7bcc50c61 | |||
e939677726 | |||
ca17ec3fe9 | |||
54d9668580 | |||
16b674c652 | |||
25ad992c62 | |||
37f1b7cddb | |||
729445b64f | |||
185f443659 | |||
c101a3f5ab | |||
cf9cb73afe | |||
071fcac430 | |||
a74ec89461 | |||
630d2a934b | |||
d5758c138b | |||
149b0021b7 | |||
68f46f6178 | |||
cd576fa59d | |||
320f26d26f | |||
c661587128 | |||
486e5365d9 | |||
8e809d8593 | |||
ea9ba53cdb | |||
1ba48a5ba0 | |||
7cb00b69f0 | |||
cbe8f0a9d0 | |||
da8b464e67 | |||
13350bf22f | |||
5ce55d87ec | |||
fc401f1acc | |||
fe39e4dfdf | |||
49b77207dd | |||
35a448ee92 | |||
3f9f00a798 | |||
ffe5619a9d | |||
3b194e1690 | |||
45b6508339 | |||
22921c493f | |||
f32811922e | |||
6cfa27d78a | |||
8e3ca8eaa9 | |||
4550613f58 | |||
015fde3703 | |||
827ecd61f6 | |||
565da10a8f | |||
d64c0e8887 | |||
0b8c44cbb1 | |||
a22f4dd1ac | |||
952e5b47eb | |||
b3f5b566b0 | |||
0b3332d579 | |||
a76e375d5c | |||
8b21c2e472 | |||
23718e5198 | |||
031aa240bc | |||
7944009a65 | |||
4eb06bb54b | |||
bd5308d839 | |||
b508532c78 | |||
fb9888a068 | |||
11f25747a9 | |||
8ebed3471f | |||
85684cd8b7 | |||
2585a33005 | |||
1bbeef48e1 | |||
7f3317110e | |||
298ff5c7d0 | |||
c3f65bff5b | |||
2323c30b5b | |||
80f4b32f0b | |||
16e362d2b9 | |||
23da490f26 | |||
ff107714f1 | |||
7e4703c328 | |||
ae41cedafe | |||
a879f72131 | |||
131df8bec9 | |||
89557d1607 | |||
7959808384 | |||
ecb0601bc1 | |||
30c0991543 | |||
9cddbc0420 | |||
2fa31dab60 | |||
4898db80cb | |||
aa3856261d | |||
3e04dbd5a1 | |||
72b46a07d6 | |||
2ba88dcd8a | |||
1ddb70e0d9 | |||
024a88a6bb | |||
af10c05ac3 | |||
a46a733dbe | |||
b015e4f07a | |||
44928a0265 | |||
d90328f6be | |||
ce9b4698fe | |||
9a33a29b4a | |||
b6e65f9882 | |||
6c163910ee | |||
9151cb9ba2 | |||
204ae75d7b | |||
f2d9b0096e | |||
67d2e6319b | |||
5e10f660e8 | |||
0da0b5cba0 | |||
67d7c364f6 | |||
67d58e2437 | |||
c2b04bdf6c | |||
6513bca07e | |||
0b0366d9b4 | |||
f465a75b65 | |||
4314e59af9 | |||
a84c958647 | |||
1ec2615a3e | |||
2077309c8d | |||
08d3169df4 | |||
3cc0445e27 | |||
ee77fe4094 | |||
133dfc8b69 | |||
a8726b8254 | |||
c5963f707c | |||
383b280531 | |||
95276f7da6 | |||
e1d4621796 | |||
e137b40eb5 | |||
4d929f80fb | |||
6b79e1f76d | |||
5a26656ea1 | |||
abb0d47985 | |||
b126a5d5a8 | |||
571031a467 | |||
2981f2025f | |||
c3a6065a21 | |||
60bb1afc72 | |||
84a320f834 | |||
88bd460100 | |||
90adc2cb85 | |||
7c8d823396 | |||
83790d65af | |||
70bd0f799d | |||
cbe029664e | |||
cade0214db | |||
2f5cdb72c8 | |||
0aed549df1 | |||
75fa1ac3b0 | |||
b5a00312e0 | |||
37697127dc | |||
8acc8b5389 | |||
8644c42482 | |||
20e63078f0 | |||
95fd080ca1 | |||
7d0af01d8b | |||
0f0230b068 | |||
869c602b99 | |||
3144f72e1c | |||
147b0a151c | |||
29102d6bf1 | |||
4fd145c52e | |||
e6d4d29af5 | |||
139665c01d | |||
509b991607 | |||
c671ecb511 | |||
1aa7c87ea8 | |||
00abb999e3 | |||
4a51cb71fb | |||
f2efea4b46 | |||
e15a013696 | |||
857046ede5 | |||
4515e06ca8 | |||
97cef46b62 | |||
4ec29928bf | |||
ba79777bc5 | |||
b67905c40f | |||
6b98157c1a | |||
4d2ccd18f6 | |||
52a0410d92 | |||
d898418037 | |||
2aaa60e4fc | |||
e9dce31496 | |||
b201279ae5 | |||
be83f06b2f | |||
9d5007b18e | |||
7527c76c74 | |||
06264df168 | |||
878b27af76 | |||
4b99ebbf22 | |||
fc5cfc6cb3 | |||
6d9b29daca | |||
3f1288e2f9 | |||
8f1b78f49e | |||
07648f75ea | |||
3a0c91b862 | |||
e5e485fcdb | |||
16f3df7cc6 | |||
6d0f086d9c | |||
c25a602a03 | |||
81974c4d5e | |||
5f3b7e6cdf | |||
910b9f3f25 | |||
4fd2cb2ce0 | |||
e234a6ae4e | |||
ee17782e61 | |||
cd6954e3c1 | |||
29e41a09d5 | |||
4103687f76 | |||
976e99b1d4 | |||
da7c548452 | |||
1ecfd78418 | |||
07fead0466 | |||
8bd8442bcc | |||
5904083231 | |||
171b1923e9 | |||
8d5eb9487d | |||
633a3feab9 | |||
c8f60a7fbf | |||
3a62bb68e0 | |||
8178f4dfdd | |||
4a3305c007 | |||
9858bc81a3 | |||
b5573b3adb | |||
15dd4ad177 | |||
d540971443 | |||
1d7c76d141 | |||
224a49341a | |||
fce010f051 | |||
bdc8e3b79e | |||
9289af040c | |||
49a769ac06 | |||
2b450aeb20 | |||
5f1c0111a6 | |||
89f0dc2d14 | |||
cffb0e9a25 | |||
2b26e3867f | |||
aad433e11e | |||
59e1a18197 | |||
8f98044d69 | |||
6c414409d4 | |||
7119bf5d86 | |||
ea1222b33f | |||
37edfe2de9 | |||
76a2d9b59b | |||
87f127722c | |||
a49b5ef072 | |||
5cad92e57e | |||
f6ef1fe65e | |||
048e429356 | |||
eb3cb4bbf8 | |||
b0866f59cc | |||
b3b016a4a3 | |||
341e17bf53 | |||
eb4561e3a6 | |||
990b234067 | |||
07a4e6370a | |||
1381e96d8c | |||
5ca303393f | |||
de2c565953 | |||
2a254fce8f | |||
758f136d3e | |||
5d3d86c680 | |||
d8d5adeb61 | |||
003456f770 | |||
25c3a29004 | |||
394d8ade15 | |||
118cc88429 | |||
61107c59cf | |||
0dc9967984 | |||
889e54eab8 | |||
a14f3c90a8 | |||
e05ed58bf8 | |||
d6824d540b | |||
2e35326040 | |||
e5dcaa818e | |||
bac2da8669 | |||
9c293b5b7b | |||
6804065a8d | |||
246444dd57 | |||
6a216b5708 | |||
f6d2da27e3 | |||
ada59feda8 | |||
af8d4d49ed | |||
dc002b4b35 | |||
acb0a2f027 | |||
43bbbbf4e0 | |||
05da66b5e9 | |||
b8cea84195 | |||
741dce3ca6 | |||
67d87dd2a9 | |||
ab142282a3 | |||
bfe5b88e78 | |||
fc26001b50 | |||
1542c7f49c | |||
615ab1a7b8 | |||
ce1af1bc9c | |||
ab0e3fdd82 | |||
40aca0b6b3 | |||
a632c00b0d | |||
db2e04361d | |||
7d19b108c4 | |||
818afe6232 | |||
e8da5f9e28 | |||
b3fee6cab2 | |||
da7a8ce60a | |||
a6386bd640 | |||
b3feda052d | |||
c1eb2bccaa | |||
5cb6dc7795 | |||
af66d8027b | |||
4ee4495120 | |||
c02721775a | |||
cbdcd32959 | |||
12bdefe00e | |||
81829d132b | |||
5fa0f8f55b | |||
7e818e877a | |||
32a40ab5c5 | |||
c2087b7c13 | |||
feffae60dd | |||
8e3f6fe2dc | |||
92b8c5bb60 | |||
646237e234 | |||
b4f71c7cc7 | |||
73334207ce | |||
e8a6b1cfb5 | |||
748238d6ab | |||
5fcd4bb082 | |||
a1aef91e39 | |||
c2c128dd67 | |||
372206e159 | |||
c036108b59 | |||
b5c77cf4f6 | |||
2b33be939a | |||
e01cad2f7d | |||
a1beb72cad | |||
a9348e0acc | |||
9a1e22afab | |||
855ee06247 | |||
f1ad9bdaea | |||
2f73215d4f | |||
155405e0d0 | |||
88e83c7322 | |||
35ddec7aeb | |||
e11922e5cc | |||
a79c002145 | |||
ea91cfdf9a | |||
031e4300a5 | |||
dd0ca7335f | |||
686d8823eb | |||
a5d554c3ef | |||
177db9cf79 | |||
2d8c3d2934 | |||
f1192b2d16 | |||
fc164e4709 | |||
1c95e2e8e0 | |||
9962de1a4c | |||
304a72c1ff | |||
83112ed5e0 | |||
fbd781fc83 | |||
62306f5ce8 | |||
1d15048f2f | |||
adcffce0a0 | |||
9a65fe904d | |||
ac998e9222 | |||
15c0ad60c5 | |||
0de25f08ba | |||
bca7ce8043 | |||
ee14785f68 | |||
c0ed118ba5 | |||
0adb664a31 | |||
4a54328901 | |||
24508194c2 | |||
95b46b4278 | |||
b16ccb4811 | |||
4119752f83 | |||
b7b5fdf42a | |||
dbd9423fc0 | |||
8f19becb62 | |||
38e5c32a55 | |||
0c50945303 | |||
8726d7b0a3 | |||
408ef5298b | |||
2ce243bc6e | |||
255594ba3a | |||
8bb0232ace | |||
e3efacaae6 | |||
a550df4301 | |||
710dda5221 | |||
c3b864d8d4 | |||
6892018142 | |||
84df805ed3 | |||
9c286da29b | |||
92b7974f44 | |||
38860323de | |||
8316425375 | |||
0cedc8014b | |||
8aae1fc5d7 | |||
4ad3144f50 | |||
4b01d594c4 | |||
5e4cd05e04 | |||
7cf01b10b7 | |||
eb7d1e22e5 | |||
0555b26161 | |||
bb0a31158a | |||
bfd2b6298e | |||
b87d97aa2b | |||
48b2028af8 | |||
92be4ea871 | |||
8a2656681f | |||
5671cae225 | |||
ef8d252843 | |||
af670ca138 | |||
aace0d1192 | |||
cee4b4593b | |||
434ccf3df4 | |||
b81df11d8a | |||
dab498c3b7 | |||
d5bb9731fe | |||
9dd0b7c6de | |||
1cae68dde3 | |||
996e1515b3 | |||
f6808158c5 | |||
7e4c5b3636 | |||
0994972c07 | |||
a0da531170 | |||
46a0f812b1 | |||
de78f867a4 | |||
707145c491 | |||
1e597a64dc | |||
4c394a9d7b | |||
3eef1560a2 | |||
fc574086ec | |||
68e66fa920 | |||
38df6eb3a9 | |||
0245f8438d | |||
d7ea8356a7 | |||
c64ea49432 | |||
38fe1c6066 | |||
74f01881e3 | |||
0f8da71588 | |||
7d3cfcfd0b | |||
536397b22f | |||
6253bea73c | |||
a5ef93c83a | |||
5b9dfa0600 | |||
5d0bcf8152 | |||
83007f77f5 | |||
c456e20750 | |||
982017a2ab | |||
3b4cd98498 | |||
0ed767fac5 | |||
25fbec6638 | |||
ae6c30a711 | |||
c7b1ed2395 | |||
5d0f020648 | |||
74e6fbab82 | |||
30824bc58e | |||
d146965025 | |||
e1e155022f | |||
d37a8f72d6 | |||
9dd3e3e38a | |||
b927b80e10 | |||
af6736c356 | |||
6e98b3ebb2 | |||
afb81b8005 | |||
2b922e9e68 | |||
57637ba0b0 | |||
d536ddc240 | |||
564399bd75 | |||
87a693d1a9 | |||
49bd24144a | |||
182b8a4582 | |||
97bddc8cfa | |||
a55e26959b | |||
63e2222af1 | |||
9637fe8a74 | |||
c084458294 | |||
498e9f4298 | |||
13033034db | |||
749c63d3b3 | |||
73c2619c33 | |||
65f9553365 | |||
3f621c8ed4 | |||
11f3b487ee | |||
4c253aedae | |||
efdad526ee | |||
4081a8f7b6 | |||
867f948bb2 | |||
767ed8c5da | |||
f0aadc3d0b | |||
d95c4483fd | |||
00a147b244 | |||
74eae83b54 | |||
324b44872c | |||
94a1d4d3ac | |||
a3392007cd | |||
4ac06a4eef | |||
0495ded87d | |||
64b80b3201 | |||
fa20eb1de7 | |||
ae15803bf1 | |||
9e375179d8 | |||
460760d7b6 | |||
682b620922 | |||
6b69cd2e57 | |||
56a86bb9e2 | |||
00ad2ffc61 | |||
a16e92800d | |||
7c9ff4bfe7 | |||
d334093606 | |||
044bd3cb41 | |||
4e192db13c | |||
8cc5442401 | |||
bd94d5fce7 | |||
b6be906082 | |||
60a5df5262 | |||
c384a17b41 | |||
6fdd6004f2 | |||
c4fe6f5277 | |||
645e331559 | |||
45bddcd808 | |||
9627458ecc | |||
f8b3d34225 | |||
5273c61cd8 | |||
0c1c947aaf | |||
6224ae1c60 | |||
72f4a9f678 | |||
060f4ea320 | |||
6177954773 | |||
7b40d7b942 | |||
1317433a51 | |||
a578d719e1 | |||
8bb10c3bf1 | |||
b920cd2f23 | |||
38dac93f63 | |||
6f66be12f6 | |||
4ee93331dc | |||
30a675ab87 | |||
845522f59b | |||
f37be09a92 | |||
ed877f5e3e | |||
d916403927 | |||
41f6aa7940 | |||
50a63777ec | |||
26fe7a9d66 | |||
07a0e2caf7 | |||
30bfd44dfd | |||
26f8708fed | |||
3beec8d4fa | |||
2e553bcd69 | |||
0e5a5f1805 | |||
d02cfc54b6 | |||
7b9ac9d414 | |||
515de0d68d | |||
1eeb6785ad | |||
20392878f1 | |||
102067d43d | |||
6c88e21459 | |||
041f19494e | |||
8e9f507bbc | |||
c380819e02 | |||
fa84e52af0 | |||
cf9238e09d | |||
190f3024da | |||
768053b6f2 | |||
bdd2a412c4 | |||
d217c7df05 | |||
9484da57ed | |||
ef2ccc8117 | |||
02887dc164 | |||
d048af11cd | |||
0559d1d171 | |||
37b681ac11 | |||
f065ddbdb2 | |||
140053502b | |||
58fad91b0b | |||
01b5aa123d | |||
8cdf767bf5 | |||
e910882e32 | |||
a1c9c497d5 | |||
a63c838b10 | |||
b7e574607c | |||
10e6b4e454 | |||
ec5b1924c4 | |||
80ddb484de | |||
cafb2e540e | |||
b4e3f22259 | |||
df52157834 | |||
a13958b32b | |||
a31b58eeea | |||
e31b816aa0 | |||
0e5027d8d8 | |||
dc79533191 | |||
128e4d5565 | |||
ad3960580d | |||
00683d06c2 | |||
a38980c80b | |||
664a180d72 | |||
d6346561db | |||
d82ada89fe | |||
9d384b4e38 | |||
6e45e55d82 | |||
ecaccd9739 | |||
95a2d49232 | |||
16c16b3e6e | |||
945e00b73f | |||
e592b4bcf0 | |||
96ef2d3821 | |||
2d126dc750 | |||
13a32e9595 | |||
73f7164048 | |||
5b1b986c89 | |||
1c53bbea52 | |||
0c5c172a30 | |||
ff1643d81f | |||
378573ab8b | |||
33ddf6ea0e | |||
a2bc3538f7 | |||
636e98d151 | |||
9f01737fa7 | |||
be4e5d2617 | |||
cc78fb721b | |||
bb7d2a7347 | |||
9d03763d94 | |||
3cf4529f3c | |||
477fb58311 | |||
59043b24cc | |||
15547eb654 | |||
16f9cc7369 | |||
efa9df24c2 | |||
a37eca9df5 | |||
e68d2345d5 | |||
fced3e00ce | |||
c53663c7ac | |||
bc2e65e482 | |||
ce2814967d | |||
781725aeaf | |||
9276dc9e6c | |||
c7de368dc2 | |||
fbd9994f6f | |||
087c368242 | |||
a56354a893 | |||
a5d4c8d532 | |||
a46fe3ad43 | |||
4ffa5b0636 | |||
62ec52dd95 | |||
ea876e59a8 | |||
66eee34709 | |||
85627516a4 | |||
b26ee09f71 | |||
fb89b042f8 | |||
646aeb2b18 | |||
2a60ceb694 | |||
80916a3613 | |||
0c3d06c41e | |||
07db922024 | |||
fa610270ab | |||
cefefba244 | |||
42017bbeda | |||
a3ee281e2b | |||
232290108e | |||
5c017d7071 | |||
62aacf88ab | |||
b3e77d3d50 | |||
766085293d | |||
4a593d0405 | |||
82b6b8c87e | |||
b6f9f4c436 | |||
b120ca27f8 | |||
5eb1f3a4c6 | |||
8ada9d06e8 | |||
cce8c4dbae | |||
3502db1ac5 | |||
df8a0e8418 | |||
b8a25063f6 | |||
6df21f3489 | |||
dcba2c3642 | |||
059c963467 | |||
ce9c6df456 | |||
0aef3b4040 | |||
4cc0589440 | |||
96722083d8 | |||
ee238eb00d | |||
45ccc7d475 | |||
a32d2ad193 | |||
f25919ad56 | |||
ae524d856d | |||
9be4f9c055 | |||
40e5b285f2 | |||
3ca787ba76 | |||
137b9ecf5e | |||
2509624add | |||
8c6fcd98be | |||
7dc825dbe9 | |||
6b3336d107 | |||
ceeb266273 | |||
9bb0733eb5 | |||
22cdad2d20 | |||
8b3befea6d | |||
5b9928f1a9 | |||
856a59901e | |||
19d0961020 | |||
3bd5e65edc | |||
b520046ab6 | |||
d22550a520 | |||
6f994ec56b | |||
09c8e40363 | |||
8e44c06a13 | |||
358f17f615 | |||
b109e31722 | |||
b77458ae81 | |||
cfeb8e83f7 | |||
0fa9ad46ae | |||
cfb11177cd | |||
0a1979fd20 | |||
0dc64b93d8 | |||
f6c9acd518 | |||
68218dd31c | |||
441b64b467 | |||
8b319969f3 | |||
41b1787565 | |||
e6fccdd9c1 | |||
0ffef8c79d | |||
3d52079a7c | |||
e47c29e728 | |||
280374f739 | |||
ce15937717 | |||
c8f2ba5b49 | |||
3dbfd18f36 | |||
4be0ae2008 | |||
67b39050df | |||
4ccd8c1400 | |||
4f997665f1 | |||
b6a15d9719 | |||
e90194093e | |||
4c90293e44 | |||
8197e9b2e4 | |||
baec99079f | |||
16a5e6bf16 | |||
39f715982d | |||
724d4ec3de | |||
e4670d3abc | |||
8aa86d063a | |||
c1d9e00044 | |||
0827a447d3 | |||
2874565b36 | |||
8ed3126f28 | |||
b408fdffcc | |||
d9cd600c1b | |||
68f18923ab | |||
9e74a7dfe1 | |||
0b5b888f82 | |||
46854b439a | |||
8ffed4b859 | |||
3b8cd9652a | |||
269050aee3 | |||
6e753f8f0f | |||
9adcc73d61 |
@ -10,7 +10,7 @@ AlignOperands: true
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: true
|
||||
AllowShortBlocksOnASingleLine: true
|
||||
AllowShortCaseLabelsOnASingleLine: true
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: false
|
||||
AllowShortIfStatementsOnASingleLine: true
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
@ -72,7 +72,7 @@ IncludeCategories:
|
||||
Priority: 3
|
||||
IncludeIsMainRegex: '([-_](test|unittest))?$'
|
||||
IndentCaseLabels: true
|
||||
IndentPPDirectives: None
|
||||
IndentPPDirectives: BeforeHash
|
||||
IndentWidth: 2
|
||||
IndentWrappedFunctionNames: false
|
||||
JavaScriptQuotes: Leave
|
||||
|
@ -29,14 +29,15 @@ CLANG_FORMAT_BIN = os.getenv("CLANG_FORMAT_BIN")
|
||||
if CLANG_FORMAT_BIN is None:
|
||||
o = 0
|
||||
try:
|
||||
p = subprocess.Popen(["clang-format-8", "--version"], stdout=subprocess.PIPE)
|
||||
p = subprocess.Popen(["clang-format-10", "--version"], stdout=subprocess.PIPE)
|
||||
o, _ = p.communicate()
|
||||
o = str(o, "utf-8")
|
||||
o = o[len("clang-format version "):].strip()
|
||||
o = re.sub(r".*ersion ", "", o)
|
||||
#o = o[len("clang-format version "):].strip()
|
||||
o = o[:o.find(".")]
|
||||
o = int(o)
|
||||
except:
|
||||
print ("clang-format-8 is needed. Aborted.")
|
||||
print ("clang-format-10 is needed. Aborted.")
|
||||
exit(1)
|
||||
#if o < 7:
|
||||
# if subprocess.call(['which', 'clang-format-7'], stdout=subprocess.PIPE) == 0:
|
||||
@ -51,7 +52,7 @@ if CLANG_FORMAT_BIN is None:
|
||||
# print ("clang-format 7 or above is needed. Aborted.")
|
||||
# exit(1)
|
||||
else:
|
||||
CLANG_FORMAT_BIN = 'clang-format-8'
|
||||
CLANG_FORMAT_BIN = 'clang-format-10'
|
||||
|
||||
COLUMN_LIMIT = 80
|
||||
for line in fmt.split("\n"):
|
||||
@ -70,8 +71,8 @@ def custom_format(filename):
|
||||
out = ""
|
||||
|
||||
for line in src.split("\n"):
|
||||
if line.startswith("#"):
|
||||
if line.startswith("#define"):
|
||||
if line.lstrip().startswith("#"):
|
||||
if line[line.find("#")+1:].lstrip().startswith("define"):
|
||||
in_define = True
|
||||
|
||||
if "/*" in line and not line.strip().startswith("/*") and line.endswith("*/") and len(line) < (COLUMN_LIMIT-2):
|
||||
|
65
.dockerignore
Normal file
65
.dockerignore
Normal file
@ -0,0 +1,65 @@
|
||||
.test
|
||||
.test2
|
||||
.sync_tmp
|
||||
*.o
|
||||
*.so
|
||||
*.pyc
|
||||
*.dSYM
|
||||
as
|
||||
ld
|
||||
in
|
||||
out
|
||||
core*
|
||||
afl-analyze
|
||||
afl-as
|
||||
afl-clang
|
||||
afl-clang\+\+
|
||||
afl-clang-fast
|
||||
afl-clang-fast\+\+
|
||||
afl-clang-lto
|
||||
afl-clang-lto\+\+
|
||||
afl-fuzz
|
||||
afl-g\+\+
|
||||
afl-gcc
|
||||
afl-gcc-fast
|
||||
afl-g\+\+-fast
|
||||
afl-gotcpu
|
||||
afl-ld
|
||||
afl-ld-lto
|
||||
afl-qemu-trace
|
||||
afl-showmap
|
||||
afl-tmin
|
||||
afl-analyze.8
|
||||
afl-as.8
|
||||
afl-clang-fast\+\+.8
|
||||
afl-clang-fast.8
|
||||
afl-clang-lto.8
|
||||
afl-clang-lto\+\+.8
|
||||
afl-cmin.8
|
||||
afl-cmin.bash.8
|
||||
afl-fuzz.8
|
||||
afl-gcc.8
|
||||
afl-gcc-fast.8
|
||||
afl-g\+\+-fast.8
|
||||
afl-gotcpu.8
|
||||
afl-plot.8
|
||||
afl-showmap.8
|
||||
afl-system-config.8
|
||||
afl-tmin.8
|
||||
afl-whatsup.8
|
||||
qemu_mode/libcompcov/compcovtest
|
||||
qemu_mode/qemu-*
|
||||
unicorn_mode/samples/*/\.test-*
|
||||
unicorn_mode/samples/*/output
|
||||
unicorn_mode/unicornafl
|
||||
test/unittests/unit_maybe_alloc
|
||||
test/unittests/unit_preallocable
|
||||
test/unittests/unit_list
|
||||
test/unittests/unit_rand
|
||||
test/unittests/unit_hash
|
||||
examples/afl_network_proxy/afl-network-server
|
||||
examples/afl_network_proxy/afl-network-client
|
||||
examples/afl_frida/afl-frida
|
||||
examples/afl_frida/libtestinstr.so
|
||||
examples/afl_frida/frida-gum-example.c
|
||||
examples/afl_frida/frida-gum.h
|
26
.gitignore
vendored
26
.gitignore
vendored
@ -1,7 +1,18 @@
|
||||
.test
|
||||
.test2
|
||||
.sync_tmp
|
||||
.vscode
|
||||
*.o
|
||||
*.so
|
||||
*.swp
|
||||
*.pyc
|
||||
*.dSYM
|
||||
as
|
||||
ld
|
||||
in
|
||||
out
|
||||
core*
|
||||
compile_commands.json
|
||||
afl-analyze
|
||||
afl-as
|
||||
afl-clang
|
||||
@ -17,6 +28,7 @@ afl-gcc-fast
|
||||
afl-g++-fast
|
||||
afl-gotcpu
|
||||
afl-ld
|
||||
afl-ld-lto
|
||||
afl-qemu-trace
|
||||
afl-showmap
|
||||
afl-tmin
|
||||
@ -30,6 +42,7 @@ afl-cmin.8
|
||||
afl-cmin.bash.8
|
||||
afl-fuzz.8
|
||||
afl-gcc.8
|
||||
afl-g++.8
|
||||
afl-gcc-fast.8
|
||||
afl-g++-fast.8
|
||||
afl-gotcpu.8
|
||||
@ -39,13 +52,18 @@ afl-system-config.8
|
||||
afl-tmin.8
|
||||
afl-whatsup.8
|
||||
qemu_mode/libcompcov/compcovtest
|
||||
as
|
||||
ld
|
||||
qemu_mode/qemu-*
|
||||
unicorn_mode/unicornafl/
|
||||
unicorn_mode/samples/*/\.test-*
|
||||
unicorn_mode/samples/*/output/
|
||||
core\.*
|
||||
unicorn_mode/unicornafl
|
||||
test/unittests/unit_maybe_alloc
|
||||
test/unittests/unit_preallocable
|
||||
test/unittests/unit_list
|
||||
test/unittests/unit_rand
|
||||
test/unittests/unit_hash
|
||||
examples/afl_network_proxy/afl-network-server
|
||||
examples/afl_network_proxy/afl-network-client
|
||||
examples/afl_frida/afl-frida
|
||||
examples/afl_frida/libtestinstr.so
|
||||
examples/afl_frida/frida-gum-example.c
|
||||
examples/afl_frida/frida-gum.h
|
||||
|
7
.gitmodules
vendored
Normal file
7
.gitmodules
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
[submodule "unicorn_mode/unicornafl"]
|
||||
path = unicorn_mode/unicornafl
|
||||
url = https://github.com/AFLplusplus/unicornafl
|
||||
|
||||
[submodule "custom_mutators/Grammar-Mutator"]
|
||||
path = custom_mutators/Grammar-Mutator
|
||||
url = https://github.com/AFLplusplus/Grammar-Mutator
|
15
.travis.yml
15
.travis.yml
@ -4,11 +4,15 @@ sudo: required
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- stable
|
||||
- dev
|
||||
- llvm_merge
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# - os: linux # focal errors every run with a timeout while installing packages
|
||||
# dist: focal
|
||||
# env: NAME="focal-amd64" MODERN="yes" GCC="9"
|
||||
- os: linux
|
||||
dist: bionic
|
||||
env: NAME="bionic-amd64" MODERN="yes" GCC="7"
|
||||
@ -32,7 +36,7 @@ jobs:
|
||||
- arch: arm64
|
||||
|
||||
env:
|
||||
- AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 AFL_NO_UI=1 AFL_STOP_MANUALLY=1
|
||||
- AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 AFL_NO_UI=1
|
||||
# - AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 AFL_NO_UI=1 AFL_EXIT_WHEN_DONE=1
|
||||
# TODO: test AFL_BENCH_UNTIL_CRASH once we have a target that crashes
|
||||
# - AFL_I_DONT_CARE_ABOUT_MISSING_CRASHES=1 AFL_NO_UI=1 AFL_BENCH_JUST_ONE=1
|
||||
@ -41,15 +45,16 @@ before_install:
|
||||
# export LLVM_DIR=${TRAVIS_BUILD_DIR}/${LLVM_PACKAGE}
|
||||
- echo Testing on $NAME
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget "$LINK""$NAME".tar.xz ; export LLVM_CONFIG=`pwd`/"$NAME" ; tar xJf "$NAME".tar.xz ; fi
|
||||
- if [ "$MODERN" = "yes" ]; then sudo apt update ; sudo apt upgrade ; sudo apt install -y libtool libtool-bin automake bison libglib2.0 build-essential clang gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-"$GCC"-dev findutils libcmocka-dev ; fi
|
||||
- if [ "$MODERN" = "no" ]; then sudo apt update ; sudo apt install -y libtool $EXTRA libpixman-1-dev automake bison libglib2.0 build-essential gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-dev findutils libcmocka-dev ; fi
|
||||
- if [ "$MODERN" = "yes" ]; then sudo apt update ; sudo apt upgrade ; sudo apt install -y git libtool libtool-bin automake bison libglib2.0-0 build-essential clang gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-"$GCC"-dev findutils libcmocka-dev python3-setuptools ; fi
|
||||
- if [ "$MODERN" = "no" ]; then sudo apt update ; sudo apt install -y git libtool $EXTRA libpixman-1-dev automake bison libglib2.0 build-essential gcc-"$GCC" gcc-"$GCC"-plugin-dev libc++-dev findutils libcmocka-dev python3-setuptools ; fi
|
||||
|
||||
script:
|
||||
- gcc -v
|
||||
- clang -v
|
||||
- sudo -E ./afl-system-config
|
||||
- sudo sysctl -w kernel.shmmax=10000000000
|
||||
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export LLVM_CONFIG=`pwd`/"$NAME" ; make source-only ASAN_BUILD=1 ; fi
|
||||
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$TRAVIS_CPU_ARCH" = "amd64" ]; then make distrib ASAN_BUILD=1 ; fi
|
||||
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ] ; then echo DEBUG ; find / -name llvm-config.h 2>/dev/null; apt-cache search clang | grep clang- ; apt-cache search llvm | grep llvm- ; dpkg -l | egrep 'clang|llvm'; echo DEBUG ; export LLVM_CONFIG=llvm-config-6.0 ; make ASAN_BUILD=1 ; cd qemu_mode && sh ./build_qemu_support.sh ; cd .. ; fi
|
||||
- if [ "$TRAVIS_CPU_ARCH" = "arm64" ] ; then export LLVM_CONFIG=llvm-config-6.0 ; make ASAN_BUILD=1 ; cd qemu_mode && sh ./build_qemu_support.sh ; cd .. ; fi
|
||||
- make tests
|
||||
# - travis_terminate 0
|
||||
|
@ -1,5 +1,7 @@
|
||||
# How to submit a Pull Request to AFLplusplus
|
||||
|
||||
All contributions (pull requests) must be made against our `dev` branch.
|
||||
|
||||
Each modified source file, before merging, must be formatted.
|
||||
|
||||
```
|
||||
@ -18,5 +20,5 @@ No camel case at all and use the AFL's macros wherever possible
|
||||
(e.g. WARNF, FATAL, MAP_SIZE, ...).
|
||||
|
||||
Remember that AFLplusplus has to build and run on many platforms, so
|
||||
generalize your Makefiles (or your patches to our pre-existing Makefiles)
|
||||
to be as much generic as possible.
|
||||
generalize your Makefiles/GNUmakefile (or your patches to our pre-existing
|
||||
Makefiles) to be as much generic as possible.
|
||||
|
85
Dockerfile
85
Dockerfile
@ -1,37 +1,64 @@
|
||||
FROM ubuntu:eoan
|
||||
MAINTAINER David Carlier <devnexen@gmail.com>
|
||||
#
|
||||
# This Dockerfile for AFLplusplus uses Ubuntu 20.04 focal and
|
||||
# installs LLVM 11 from llvm.org for afl-clang-lto support :-)
|
||||
# It also installs gcc/g++ 10 from the Ubuntu development platform
|
||||
# has focal has gcc-10 but not g++-10 ...
|
||||
#
|
||||
|
||||
FROM ubuntu:20.04 AS aflplusplus
|
||||
MAINTAINER afl++ team <afl@aflplus.plus>
|
||||
LABEL "about"="AFLplusplus docker image"
|
||||
RUN apt-get update && apt-get -y install \
|
||||
--no-install-suggests --no-install-recommends \
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get -y install --no-install-suggests --no-install-recommends \
|
||||
automake \
|
||||
bison \
|
||||
bison flex \
|
||||
build-essential \
|
||||
clang \
|
||||
clang-9 \
|
||||
flex \
|
||||
git \
|
||||
python3.7 \
|
||||
python3.7-dev \
|
||||
gcc-9 \
|
||||
gcc-9-plugin-dev \
|
||||
gcc-9-multilib \
|
||||
libc++-9-dev \
|
||||
libtool \
|
||||
libtool-bin \
|
||||
python3 python3-dev python3-setuptools python-is-python3 \
|
||||
libtool libtool-bin \
|
||||
libglib2.0-dev \
|
||||
llvm-9-dev \
|
||||
python-setuptools \
|
||||
python2.7-dev \
|
||||
wget \
|
||||
ca-certificates \
|
||||
libpixman-1-dev \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
wget vim jupp nano bash-completion \
|
||||
apt-utils apt-transport-https ca-certificates gnupg dialog \
|
||||
libpixman-1-dev
|
||||
|
||||
ARG CC=gcc-9
|
||||
ARG CXX=g++-9
|
||||
ARG LLVM_CONFIG=llvm-config-9
|
||||
RUN echo deb http://apt.llvm.org/focal/ llvm-toolchain-focal-11 main >> /etc/apt/sources.list && \
|
||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||
|
||||
RUN echo deb http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu focal main >> /etc/apt/sources.list && \
|
||||
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 1E9377A2BA9EF27F
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
|
||||
RUN git clone https://github.com/AFLplusplus/AFLplusplus
|
||||
RUN apt-get install -y gcc-10 g++-10 gcc-10-plugin-dev gcc-10-multilib \
|
||||
libc++-10-dev gdb lcov
|
||||
|
||||
RUN cd AFLplusplus && make clean && make distrib && \
|
||||
make install && cd .. && rm -rf AFLplusplus
|
||||
RUN apt-get install -y clang-11 clang-tools-11 libc++1-11 libc++-11-dev \
|
||||
libc++abi1-11 libc++abi-11-dev libclang1-11 libclang-11-dev \
|
||||
libclang-common-11-dev libclang-cpp11 libclang-cpp11-dev liblld-11 \
|
||||
liblld-11-dev liblldb-11 liblldb-11-dev libllvm11 libomp-11-dev \
|
||||
libomp5-11 lld-11 lldb-11 llvm-11 llvm-11-dev llvm-11-runtime llvm-11-tools
|
||||
|
||||
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 0
|
||||
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 0
|
||||
|
||||
RUN rm -rf /var/cache/apt/archives/*
|
||||
|
||||
ENV LLVM_CONFIG=llvm-config-11
|
||||
ENV AFL_SKIP_CPUFREQ=1
|
||||
|
||||
RUN git clone https://github.com/vanhauser-thc/afl-cov /afl-cov
|
||||
RUN cd /afl-cov && make install && cd ..
|
||||
|
||||
COPY . /AFLplusplus
|
||||
WORKDIR /AFLplusplus
|
||||
|
||||
RUN export REAL_CXX=g++-10 && export CC=gcc-10 && \
|
||||
export CXX=g++-10 && make clean && \
|
||||
make distrib && make install && make clean
|
||||
|
||||
RUN echo 'alias joe="jupp --wordwrap"' >> ~/.bashrc
|
||||
RUN echo 'export PS1="[afl++]$PS1"' >> ~/.bashrc
|
||||
ENV IS_DOCKER="1"
|
||||
|
358
GNUmakefile
358
GNUmakefile
@ -24,42 +24,73 @@ BIN_PATH = $(PREFIX)/bin
|
||||
HELPER_PATH = $(PREFIX)/lib/afl
|
||||
DOC_PATH = $(PREFIX)/share/doc/afl
|
||||
MISC_PATH = $(PREFIX)/share/afl
|
||||
MAN_PATH = $(PREFIX)/man/man8
|
||||
MAN_PATH = $(PREFIX)/share/man/man8
|
||||
|
||||
PROGNAME = afl
|
||||
VERSION = $(shell grep '^$(HASH)define VERSION ' ../config.h | cut -d '"' -f2)
|
||||
|
||||
# PROGS intentionally omit afl-as, which gets installed elsewhere.
|
||||
|
||||
PROGS = afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze
|
||||
PROGS = afl-gcc afl-g++ afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze
|
||||
SH_PROGS = afl-plot afl-cmin afl-cmin.bash afl-whatsup afl-system-config
|
||||
MANPAGES=$(foreach p, $(PROGS) $(SH_PROGS), $(p).8) afl-as.8
|
||||
ASAN_OPTIONS=detect_leaks=0
|
||||
|
||||
ifeq "$(findstring android, $(shell $(CC) --version 2>/dev/null))" ""
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto=full -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto=full -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
CFLAGS_FLTO ?= -flto=full
|
||||
else
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto=thin -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
CFLAGS_FLTO ?= -flto=thin
|
||||
else
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto=thin -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
CFLAGS_FLTO ?= -flto=thin
|
||||
else
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -flto -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
CFLAGS_FLTO ?= -flto
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) -fno-move-loop-invariants -fdisable-tree-cunrolli -x c - -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
SPECIAL_PERFORMANCE += -fno-move-loop-invariants -fdisable-tree-cunrolli
|
||||
endif
|
||||
|
||||
ifneq "$(shell uname)" "Darwin"
|
||||
ifeq "$(shell echo 'int main() {return 0; }' | $(CC) $(CFLAGS) -Werror -x c - -march=native -o .test 2>/dev/null && echo 1 || echo 0 ; rm -f .test )" "1"
|
||||
CFLAGS_OPT = -march=native
|
||||
ifndef SOURCE_DATE_EPOCH
|
||||
#CFLAGS_OPT += -march=native
|
||||
SPECIAL_PERFORMANCE += -march=native
|
||||
endif
|
||||
endif
|
||||
# OS X does not like _FORTIFY_SOURCE=2
|
||||
CFLAGS_OPT += -D_FORTIFY_SOURCE=2
|
||||
# _FORTIFY_SOURCE=2 does not like -O0
|
||||
ifndef DEBUG
|
||||
CFLAGS_OPT += -D_FORTIFY_SOURCE=2
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq "$(shell uname)" "SunOS"
|
||||
CFLAGS_OPT += -Wno-format-truncation
|
||||
LDFLAGS=-lkstat -lrt
|
||||
endif
|
||||
|
||||
ifdef STATIC
|
||||
$(info Compiling static version of binaries, disabling python though)
|
||||
# Disable python for static compilation to simplify things
|
||||
PYTHON_OK=0
|
||||
PYFLAGS=
|
||||
PYTHON_INCLUDE=/
|
||||
|
||||
CFLAGS_OPT += -static
|
||||
LDFLAGS += -lm -lpthread -lz -lutil
|
||||
endif
|
||||
|
||||
ifdef PROFILING
|
||||
$(info Compiling with profiling information, for analysis: gprof ./afl-fuzz gmon.out > prof.txt)
|
||||
CFLAGS_OPT += -pg -DPROFILING=1
|
||||
LDFLAGS += -pg
|
||||
endif
|
||||
|
||||
ifneq "$(shell uname -m)" "x86_64"
|
||||
ifneq "$(shell uname -m)" "i386"
|
||||
ifneq "$(patsubst i%86,i386,$(shell uname -m))" "i386"
|
||||
ifneq "$(shell uname -m)" "amd64"
|
||||
ifneq "$(shell uname -m)" "i86pc"
|
||||
AFL_NO_X86=1
|
||||
@ -68,18 +99,51 @@ ifneq "$(shell uname -m)" "x86_64"
|
||||
endif
|
||||
endif
|
||||
|
||||
CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT)
|
||||
override CFLAGS += -Wall -g -Wno-pointer-sign -Wmissing-declarations\
|
||||
-I include/ -Werror -DAFL_PATH=\"$(HELPER_PATH)\" \
|
||||
ifdef DEBUG
|
||||
$(info Compiling DEBUG version of binaries)
|
||||
CFLAGS += -ggdb3 -O0 -Wall -Wextra -Werror
|
||||
else
|
||||
CFLAGS ?= -O3 -funroll-loops $(CFLAGS_OPT)
|
||||
endif
|
||||
|
||||
override CFLAGS += -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith \
|
||||
-I include/ -DAFL_PATH=\"$(HELPER_PATH)\" \
|
||||
-DBIN_PATH=\"$(BIN_PATH)\" -DDOC_PATH=\"$(DOC_PATH)\"
|
||||
|
||||
ifeq "$(shell uname -s)" "FreeBSD"
|
||||
override CFLAGS += -I /usr/local/include/
|
||||
LDFLAGS += -L /usr/local/lib/
|
||||
endif
|
||||
|
||||
ifeq "$(shell uname -s)" "DragonFly"
|
||||
override CFLAGS += -I /usr/local/include/
|
||||
LDFLAGS += -L /usr/local/lib/
|
||||
endif
|
||||
|
||||
ifeq "$(shell uname -s)" "OpenBSD"
|
||||
override CFLAGS += -I /usr/local/include/ -mno-retpoline
|
||||
LDFLAGS += -Wl,-z,notext -L /usr/local/lib/
|
||||
endif
|
||||
|
||||
ifeq "$(shell uname -s)" "NetBSD"
|
||||
override CFLAGS += -I /usr/pkg/include/
|
||||
LDFLAGS += -L /usr/pkg/lib/
|
||||
endif
|
||||
|
||||
ifeq "$(shell uname -s)" "Haiku"
|
||||
SHMAT_OK=0
|
||||
override CFLAGS += -DUSEMMAP=1 -Wno-error=format -fPIC
|
||||
LDFLAGS += -Wno-deprecated-declarations -lgnu
|
||||
SPECIAL_PERFORMANCE += -DUSEMMAP=1
|
||||
endif
|
||||
|
||||
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
|
||||
|
||||
ifneq "$(shell command -v python3m 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python3m-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python3m-config --includes)
|
||||
PYTHON_VERSION ?= $(strip $(shell python3m --version 2>&1))
|
||||
# Starting with python3.8, we need to pass the `embed` flag. Earier versions didn't know this flag.
|
||||
# Starting with python3.8, we need to pass the `embed` flag. Earlier versions didn't know this flag.
|
||||
ifeq "$(shell python3m-config --embed --libs 2>/dev/null | grep -q lpython && echo 1 )" "1"
|
||||
PYTHON_LIB ?= $(shell python3m-config --libs --embed --ldflags)
|
||||
else
|
||||
@ -88,24 +152,50 @@ ifneq "$(shell command -v python3m 2>/dev/null)" ""
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq "$(shell command -v python3 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python3-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python3-config --includes)
|
||||
PYTHON_VERSION ?= $(strip $(shell python3 --version 2>&1))
|
||||
# Starting with python3.8, we need to pass the `embed` flag. Earier versions didn't know this flag.
|
||||
ifeq "$(shell python3-config --embed --libs 2>/dev/null | grep -q lpython && echo 1 )" "1"
|
||||
PYTHON_LIB ?= $(shell python3-config --libs --embed --ldflags)
|
||||
else
|
||||
PYTHON_LIB ?= $(shell python3-config --ldflags)
|
||||
ifeq "$(PYTHON_INCLUDE)" ""
|
||||
ifneq "$(shell command -v python3 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python3-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python3-config --includes)
|
||||
PYTHON_VERSION ?= $(strip $(shell python3 --version 2>&1))
|
||||
# Starting with python3.8, we need to pass the `embed` flag. Earier versions didn't know this flag.
|
||||
ifeq "$(shell python3-config --embed --libs 2>/dev/null | grep -q lpython && echo 1 )" "1"
|
||||
PYTHON_LIB ?= $(shell python3-config --libs --embed --ldflags)
|
||||
else
|
||||
PYTHON_LIB ?= $(shell python3-config --ldflags)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq "$(shell command -v python 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python-config --includes)
|
||||
PYTHON_LIB ?= $(shell python-config --ldflags)
|
||||
PYTHON_VERSION ?= $(strip $(shell python --version 2>&1))
|
||||
ifeq "$(PYTHON_INCLUDE)" ""
|
||||
ifneq "$(shell command -v python 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python-config --includes)
|
||||
PYTHON_LIB ?= $(shell python-config --ldflags)
|
||||
PYTHON_VERSION ?= $(strip $(shell python --version 2>&1))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Old Ubuntu and others dont have python/python3-config so we hardcode 3.7
|
||||
ifeq "$(PYTHON_INCLUDE)" ""
|
||||
ifneq "$(shell command -v python3.7 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python3.7-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python3.7-config --includes)
|
||||
PYTHON_LIB ?= $(shell python3.7-config --ldflags)
|
||||
PYTHON_VERSION ?= $(strip $(shell python3.7 --version 2>&1))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Old Ubuntu and others dont have python/python2-config so we hardcode 2.7
|
||||
ifeq "$(PYTHON_INCLUDE)" ""
|
||||
ifneq "$(shell command -v python2.7 2>/dev/null)" ""
|
||||
ifneq "$(shell command -v python2.7-config 2>/dev/null)" ""
|
||||
PYTHON_INCLUDE ?= $(shell python2.7-config --includes)
|
||||
PYTHON_LIB ?= $(shell python2.7-config --ldflags)
|
||||
PYTHON_VERSION ?= $(strip $(shell python2.7 --version 2>&1))
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
@ -116,23 +206,27 @@ else
|
||||
endif
|
||||
|
||||
ifneq "$(filter Linux GNU%,$(shell uname))" ""
|
||||
LDFLAGS += -ldl
|
||||
# _FORTIFY_SOURCE=2 does not like -O0
|
||||
ifndef DEBUG
|
||||
override CFLAGS += -D_FORTIFY_SOURCE=2
|
||||
endif
|
||||
LDFLAGS += -ldl -lrt
|
||||
endif
|
||||
|
||||
ifneq "$(findstring FreeBSD, $(shell uname))" ""
|
||||
CFLAGS += -pthread
|
||||
LDFLAGS += -lpthread
|
||||
override CFLAGS += -pthread
|
||||
LDFLAGS += -lpthread
|
||||
endif
|
||||
|
||||
ifneq "$(findstring NetBSD, $(shell uname))" ""
|
||||
CFLAGS += -pthread
|
||||
LDFLAGS += -lpthread
|
||||
override CFLAGS += -pthread
|
||||
LDFLAGS += -lpthread
|
||||
endif
|
||||
|
||||
ifeq "$(findstring clang, $(shell $(CC) --version 2>/dev/null))" ""
|
||||
TEST_CC = afl-gcc
|
||||
TEST_CC = afl-gcc
|
||||
else
|
||||
TEST_CC = afl-clang
|
||||
TEST_CC = afl-clang
|
||||
endif
|
||||
|
||||
COMM_HDR = include/alloc-inl.h include/config.h include/debug.h include/types.h
|
||||
@ -150,51 +244,45 @@ ifdef NO_PYTHON
|
||||
PYFLAGS=
|
||||
endif
|
||||
|
||||
ifdef STATIC
|
||||
$(info Compiling static version of binaries)
|
||||
# Disable python for static compilation to simplify things
|
||||
PYTHON_OK=0
|
||||
PYFLAGS=
|
||||
|
||||
CFLAGS += -static
|
||||
LDFLAGS += -lm -lpthread -lz -lutil
|
||||
IN_REPO=0
|
||||
ifeq "$(shell command -v git >/dev/null && git status >/dev/null 2>&1 && echo 1 || echo 0)" "1"
|
||||
IN_REPO=1
|
||||
endif
|
||||
ifeq "$(shell command -v svn >/dev/null && svn proplist . 2>/dev/null && echo 1 || echo 0)" "1"
|
||||
IN_REPO=1
|
||||
endif
|
||||
|
||||
ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
|
||||
ASAN_LDFLAGS+=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
|
||||
ifeq "$(shell echo 'int main() { return 0;}' | $(CC) $(CFLAGS) -fsanitize=address -x c - -o .test2 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1"
|
||||
ASAN_CFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
|
||||
ASAN_LDFLAGS=-fsanitize=address -fstack-protector-all -fno-omit-frame-pointer
|
||||
endif
|
||||
|
||||
ifdef ASAN_BUILD
|
||||
$(info Compiling ASAN version of binaries)
|
||||
CFLAGS+=$(ASAN_CFLAGS)
|
||||
override CFLAGS+=$(ASAN_CFLAGS)
|
||||
LDFLAGS+=$(ASAN_LDFLAGS)
|
||||
endif
|
||||
|
||||
ifdef PROFILING
|
||||
$(info Compiling profiling version of binaries)
|
||||
CFLAGS+=-pg
|
||||
LDFLAGS+=-pg
|
||||
endif
|
||||
|
||||
ifeq "$(shell echo '$(HASH)include <sys/ipc.h>@$(HASH)include <sys/shm.h>@int main() { int _id = shmget(IPC_PRIVATE, 65536, IPC_CREAT | IPC_EXCL | 0600); shmctl(_id, IPC_RMID, 0); return 0;}' | tr @ '\n' | $(CC) $(CFLAGS) -x c - -o .test2 2>/dev/null && echo 1 || echo 0 ; rm -f .test2 )" "1"
|
||||
SHMAT_OK=1
|
||||
else
|
||||
SHMAT_OK=0
|
||||
CFLAGS+=-DUSEMMAP=1
|
||||
LDFLAGS+=-Wno-deprecated-declarations
|
||||
override CFLAGS+=-DUSEMMAP=1
|
||||
LDFLAGS += -Wno-deprecated-declarations
|
||||
endif
|
||||
|
||||
ifeq "$(TEST_MMAP)" "1"
|
||||
ifdef TEST_MMAP
|
||||
SHMAT_OK=0
|
||||
CFLAGS+=-DUSEMMAP=1
|
||||
LDFLAGS+=-Wno-deprecated-declarations
|
||||
override CFLAGS += -DUSEMMAP=1
|
||||
LDFLAGS += -Wno-deprecated-declarations
|
||||
endif
|
||||
|
||||
all: test_x86 test_shm test_python ready $(PROGS) afl-as test_build all_done
|
||||
|
||||
man: $(MANPAGES)
|
||||
man: afl-gcc all $(MANPAGES)
|
||||
|
||||
tests: source-only
|
||||
@cd test ; ./test.sh
|
||||
@cd test ; ./test-all.sh
|
||||
@rm -f test/errors
|
||||
|
||||
performance-tests: performance-test
|
||||
@ -209,15 +297,16 @@ help:
|
||||
@echo "HELP --- the following make targets exist:"
|
||||
@echo "=========================================="
|
||||
@echo "all: just the main afl++ binaries"
|
||||
@echo "binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap, radamsa"
|
||||
@echo "source-only: everything for source code fuzzing: llvm_mode, gcc_plugin, libdislocator, libtokencap, radamsa"
|
||||
@echo "binary-only: everything for binary-only fuzzing: qemu_mode, unicorn_mode, libdislocator, libtokencap"
|
||||
@echo "source-only: everything for source code fuzzing: llvm_mode, gcc_plugin, libdislocator, libtokencap"
|
||||
@echo "distrib: everything (for both binary-only and source code fuzzing)"
|
||||
@echo "man: creates simple man pages from the help option of the programs"
|
||||
@echo "install: installs everything you have compiled with the build option above"
|
||||
@echo "clean: cleans everything. for qemu_mode it means it deletes all downloads as well"
|
||||
@echo "clean: cleans everything compiled (not downloads when on a checkout)"
|
||||
@echo "deepclean: cleans everything including downloads"
|
||||
@echo "code-format: format the code, do this before you commit and send a PR please!"
|
||||
@echo "tests: this runs the test framework. It is more catered for the developers, but if you run into problems this helps pinpointing the problem"
|
||||
@echo "unit: perform unit tests (based on cmocka)"
|
||||
@echo "unit: perform unit tests (based on cmocka and GNU linker)"
|
||||
@echo "document: creates afl-fuzz-document which will only do one run and save all manipulated inputs into out/queue/mutations"
|
||||
@echo "help: shows these build options :-)"
|
||||
@echo "=========================================="
|
||||
@ -227,6 +316,7 @@ help:
|
||||
@echo "=========================================="
|
||||
@echo STATIC - compile AFL++ static
|
||||
@echo ASAN_BUILD - compiles with memory sanitizer for debug purposes
|
||||
@echo DEBUG - no optimization, -ggdb3, all warnings and -Werror
|
||||
@echo PROFILING - compile afl-fuzz with profiling information
|
||||
@echo AFL_NO_X86 - if compiling on non-intel/amd platforms
|
||||
@echo "=========================================="
|
||||
@ -237,6 +327,8 @@ ifndef AFL_NO_X86
|
||||
test_x86:
|
||||
@echo "[*] Checking for the default compiler cc..."
|
||||
@type $(CC) >/dev/null || ( echo; echo "Oops, looks like there is no compiler '"$(CC)"' in your path."; echo; echo "Don't panic! You can restart with '"$(_)" CC=<yourCcompiler>'."; echo; exit 1 )
|
||||
@echo "[*] Testing the PATH environment variable..."
|
||||
@test "$${PATH}" != "$${PATH#.:}" && { echo "Please remove current directory '.' from PATH to avoid recursion of 'as', thanks!"; echo; exit 1; } || :
|
||||
@echo "[*] Checking for the ability to compile x86 code..."
|
||||
@echo 'main() { __asm__("xorb %al, %al"); }' | $(CC) $(CFLAGS) -w -x c - -o .test1 || ( echo; echo "Oops, looks like your compiler can't generate x86 code."; echo; echo "Don't panic! You can use the LLVM or QEMU mode, but see docs/INSTALL first."; echo "(To ignore this error, set AFL_NO_X86=1 and try again.)"; echo; exit 1 )
|
||||
@rm -f .test1
|
||||
@ -272,7 +364,7 @@ test_python:
|
||||
else
|
||||
|
||||
test_python:
|
||||
@echo "[-] You seem to need to install the package python3-dev or python2-dev (and perhaps python[23]-apt), but it is optional so we continue"
|
||||
@echo "[-] You seem to need to install the package python3-dev, python2-dev or python-dev (and perhaps python[23]-apt), but it is optional so we continue"
|
||||
|
||||
endif
|
||||
|
||||
@ -280,77 +372,96 @@ endif
|
||||
ready:
|
||||
@echo "[+] Everything seems to be working, ready to compile."
|
||||
|
||||
afl-g++: afl-gcc
|
||||
|
||||
afl-gcc: src/afl-gcc.c $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) src/$@.c -o $@ $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) src/$@.c -o $@ $(LDFLAGS)
|
||||
set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $$i; done
|
||||
|
||||
afl-as: src/afl-as.c include/afl-as.h $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) src/$@.c -o $@ $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) src/$@.c -o $@ $(LDFLAGS)
|
||||
ln -sf afl-as as
|
||||
|
||||
src/afl-performance.o : $(COMM_HDR) src/afl-performance.c include/hash.h
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -Iinclude $(SPECIAL_PERFORMANCE) -O3 -fno-unroll-loops -c src/afl-performance.c -o src/afl-performance.o
|
||||
|
||||
src/afl-common.o : $(COMM_HDR) src/afl-common.c include/common.h
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) -c src/afl-common.c -o src/afl-common.o
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) $(CPPFLAGS) -c src/afl-common.c -o src/afl-common.o
|
||||
|
||||
src/afl-forkserver.o : $(COMM_HDR) src/afl-forkserver.c include/forkserver.h
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) -c src/afl-forkserver.c -o src/afl-forkserver.o
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) $(CPPFLAGS) -c src/afl-forkserver.c -o src/afl-forkserver.o
|
||||
|
||||
src/afl-sharedmem.o : $(COMM_HDR) src/afl-sharedmem.c include/sharedmem.h
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) -c src/afl-sharedmem.c -o src/afl-sharedmem.o
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) $(CPPFLAGS) -c src/afl-sharedmem.c -o src/afl-sharedmem.o
|
||||
|
||||
radamsa: src/third_party/libradamsa/libradamsa.so
|
||||
cp src/third_party/libradamsa/libradamsa.so .
|
||||
afl-fuzz: $(COMM_HDR) include/afl-fuzz.h $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o | test_x86
|
||||
$(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) $(CPPFLAGS) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o $@ $(PYFLAGS) $(LDFLAGS)
|
||||
|
||||
src/third_party/libradamsa/libradamsa.so: src/third_party/libradamsa/libradamsa.c src/third_party/libradamsa/radamsa.h
|
||||
$(MAKE) -C src/third_party/libradamsa/ CFLAGS="$(CFLAGS)"
|
||||
afl-showmap: src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(CPPFLAGS) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o $@ $(LDFLAGS)
|
||||
|
||||
afl-fuzz: $(COMM_HDR) include/afl-fuzz.h $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o | test_x86
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o $@ $(PYFLAGS) $(LDFLAGS)
|
||||
afl-tmin: src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(CPPFLAGS) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o $@ $(LDFLAGS)
|
||||
|
||||
afl-showmap: src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o $@ $(LDFLAGS)
|
||||
|
||||
afl-tmin: src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o $@ $(LDFLAGS)
|
||||
|
||||
afl-analyze: src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(CFLAGS_FLTO) src/$@.c src/afl-common.o src/afl-sharedmem.o -o $@ $(LDFLAGS)
|
||||
afl-analyze: src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(CPPFLAGS) src/$@.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o -o $@ $(LDFLAGS)
|
||||
|
||||
afl-gotcpu: src/afl-gotcpu.c src/afl-common.o $(COMM_HDR) | test_x86
|
||||
$(CC) $(CFLAGS) src/$@.c src/afl-common.o -o $@ $(LDFLAGS)
|
||||
$(CC) $(CFLAGS) $(COMPILE_STATIC) $(CFLAGS_FLTO) $(CPPFLAGS) src/$@.c src/afl-common.o -o $@ $(LDFLAGS)
|
||||
|
||||
|
||||
# document all mutations and only do one run (use with only one input file!)
|
||||
document: $(COMM_HDR) include/afl-fuzz.h $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o | test_x86
|
||||
$(CC) -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o -o afl-fuzz-document $(PYFLAGS) $(LDFLAGS)
|
||||
document: $(COMM_HDR) include/afl-fuzz.h $(AFL_FUZZ_FILES) src/afl-common.o src/afl-sharedmem.o src/afl-performance.o | test_x86
|
||||
$(CC) -D_DEBUG=\"1\" -D_AFL_DOCUMENT_MUTATIONS $(CFLAGS) $(CFLAGS_FLTO) $(AFL_FUZZ_FILES) $(CPPFLAGS) src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.c src/afl-performance.o -o afl-fuzz-document $(PYFLAGS) $(LDFLAGS)
|
||||
|
||||
test/unittests/unit_maybe_alloc.o : $(COMM_HDR) include/alloc-inl.h test/unittests/unit_maybe_alloc.c $(AFL_FUZZ_FILES)
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -c test/unittests/unit_maybe_alloc.c -o test/unittests/unit_maybe_alloc.o
|
||||
|
||||
test/unittests/unit_preallocable.o : $(COMM_HDR) include/alloc-inl.h test/unittests/unit_preallocable.c $(AFL_FUZZ_FILES)
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -c test/unittests/unit_preallocable.c -o test/unittests/unit_preallocable.o
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -c test/unittests/unit_maybe_alloc.c -o test/unittests/unit_maybe_alloc.o
|
||||
|
||||
unit_maybe_alloc: test/unittests/unit_maybe_alloc.o
|
||||
$(CC) $(CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_maybe_alloc.o -o test/unittests/unit_maybe_alloc $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
@$(CC) $(CFLAGS) $(CPPFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_maybe_alloc.o -o test/unittests/unit_maybe_alloc $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_maybe_alloc
|
||||
|
||||
test/unittests/unit_hash.o : $(COMM_HDR) include/alloc-inl.h test/unittests/unit_hash.c $(AFL_FUZZ_FILES) src/afl-performance.o
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -c test/unittests/unit_hash.c -o test/unittests/unit_hash.o
|
||||
|
||||
unit_hash: test/unittests/unit_hash.o src/afl-performance.o
|
||||
@$(CC) $(CFLAGS) $(CPPFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf $^ -o test/unittests/unit_hash $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_hash
|
||||
|
||||
test/unittests/unit_rand.o : $(COMM_HDR) include/alloc-inl.h test/unittests/unit_rand.c $(AFL_FUZZ_FILES) src/afl-performance.o
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -c test/unittests/unit_rand.c -o test/unittests/unit_rand.o
|
||||
|
||||
unit_rand: test/unittests/unit_rand.o src/afl-common.o src/afl-performance.o
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf $^ -o test/unittests/unit_rand $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_rand
|
||||
|
||||
test/unittests/unit_list.o : $(COMM_HDR) include/list.h test/unittests/unit_list.c $(AFL_FUZZ_FILES)
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -c test/unittests/unit_list.c -o test/unittests/unit_list.o
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -c test/unittests/unit_list.c -o test/unittests/unit_list.o
|
||||
|
||||
unit_list: test/unittests/unit_list.o
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_list.o -o test/unittests/unit_list $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_list.o -o test/unittests/unit_list $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_list
|
||||
|
||||
test/unittests/preallocable.o : $(COMM_HDR) include/afl-prealloc.h test/unittests/preallocable.c $(AFL_FUZZ_FILES)
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CFLAGS_FLTO) -c test/unittests/preallocable.c -o test/unittests/preallocable.o
|
||||
test/unittests/unit_preallocable.o : $(COMM_HDR) include/alloc-inl.h test/unittests/unit_preallocable.c $(AFL_FUZZ_FILES)
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -c test/unittests/unit_preallocable.c -o test/unittests/unit_preallocable.o
|
||||
|
||||
unit_preallocable: test/unittests/unit_preallocable.o
|
||||
$(CC) $(CFLAGS) $(ASAN_CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_preallocable.o -o test/unittests/unit_preallocable $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
@$(CC) $(CFLAGS) $(ASAN_CFLAGS) $(CPPFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_preallocable.o -o test/unittests/unit_preallocable $(LDFLAGS) $(ASAN_LDFLAGS) -lcmocka
|
||||
./test/unittests/unit_preallocable
|
||||
|
||||
unit_clean:
|
||||
@rm -f ./test/unittests/unit_preallocable ./test/unittests/unit_list ./test/unittests/unit_maybe_alloc test/unittests/*.o
|
||||
|
||||
unit: unit_maybe_alloc unit_preallocable unit_list unit_clean
|
||||
ifneq "$(shell uname)" "Darwin"
|
||||
|
||||
unit: unit_maybe_alloc unit_preallocable unit_list unit_clean unit_rand unit_hash
|
||||
|
||||
else
|
||||
|
||||
unit:
|
||||
@echo [-] unit tests are skipped on Darwin \(lacks GNU linker feature --wrap\)
|
||||
|
||||
endif
|
||||
|
||||
code-format:
|
||||
./.custom-format.py -i src/*.c
|
||||
@ -361,8 +472,10 @@ code-format:
|
||||
./.custom-format.py -i llvm_mode/*.h
|
||||
./.custom-format.py -i llvm_mode/*.cc
|
||||
./.custom-format.py -i gcc_plugin/*.c
|
||||
#./.custom-format.py -i gcc_plugin/*.h
|
||||
@#./.custom-format.py -i gcc_plugin/*.h
|
||||
./.custom-format.py -i gcc_plugin/*.cc
|
||||
./.custom-format.py -i custom_mutators/*/*.c
|
||||
@#./.custom-format.py -i custom_mutators/*/*.h # destroys input.h :-(
|
||||
./.custom-format.py -i examples/*/*.c
|
||||
./.custom-format.py -i examples/*/*.h
|
||||
./.custom-format.py -i test/*.c
|
||||
@ -380,7 +493,7 @@ ifndef AFL_NO_X86
|
||||
|
||||
test_build: afl-gcc afl-as afl-showmap
|
||||
@echo "[*] Testing the CC wrapper and instrumentation output..."
|
||||
@unset AFL_USE_ASAN AFL_USE_MSAN AFL_CC; AFL_DEBUG=1 AFL_INST_RATIO=100 AFL_PATH=. ./$(TEST_CC) $(CFLAGS) test-instr.c -o test-instr $(LDFLAGS) 2>&1 | grep 'afl-as' >/dev/null || (echo "Oops, afl-as did not get called from "$(TEST_CC)". This is normally achieved by "$(CC)" honoring the -B option."; exit 1 )
|
||||
@unset AFL_USE_ASAN AFL_USE_MSAN AFL_CC; AFL_DEBUG=1 AFL_INST_RATIO=100 AFL_AS_FORCE_INSTRUMENT=1 AFL_PATH=. ./$(TEST_CC) $(CFLAGS) test-instr.c -o test-instr $(LDFLAGS) 2>&1 | grep 'afl-as' >/dev/null || (echo "Oops, afl-as did not get called from "$(TEST_CC)". This is normally achieved by "$(CC)" honoring the -B option."; exit 1 )
|
||||
ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr < /dev/null
|
||||
echo 1 | ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr1 ./test-instr
|
||||
@rm -f test-instr
|
||||
@ -401,50 +514,67 @@ all_done: test_build
|
||||
@if [ "`uname`" = "Darwin" ]; then printf "\nWARNING: Fuzzing on MacOS X is slow because of the unusually high overhead of\nfork() on this OS. Consider using Linux or *BSD. You can also use VirtualBox\n(virtualbox.org) to put AFL inside a Linux or *BSD VM.\n\n"; fi
|
||||
@! tty <&1 >/dev/null || printf "\033[0;30mNOTE: If you can read this, your terminal probably uses white background.\nThis will make the UI hard to read. See docs/status_screen.md for advice.\033[0m\n" 2>/dev/null
|
||||
|
||||
.NOTPARALLEL: clean
|
||||
.NOTPARALLEL: clean all
|
||||
|
||||
clean:
|
||||
rm -f $(PROGS) libradamsa.so afl-fuzz-document afl-as as afl-g++ afl-clang afl-clang++ *.o src/*.o *~ a.out core core.[1-9][0-9]* *.stackdump .test .test1 .test2 test-instr .test-instr0 .test-instr1 qemu_mode/qemu-3.1.1.tar.xz afl-qemu-trace afl-gcc-fast afl-gcc-pass.so afl-gcc-rt.o afl-g++-fast ld *.so *.8 test/unittests/*.o test/unittests/unit_maybe_alloc test/unittests/preallocable
|
||||
rm -f $(PROGS) libradamsa.so afl-fuzz-document afl-as as afl-g++ afl-clang afl-clang++ *.o src/*.o *~ a.out core core.[1-9][0-9]* *.stackdump .test .test1 .test2 test-instr .test-instr0 .test-instr1 afl-qemu-trace afl-gcc-fast afl-gcc-pass.so afl-gcc-rt.o afl-g++-fast ld *.so *.8 test/unittests/*.o test/unittests/unit_maybe_alloc test/unittests/preallocable .afl-*
|
||||
rm -rf out_dir qemu_mode/qemu-3.1.1 *.dSYM */*.dSYM
|
||||
-$(MAKE) -C llvm_mode clean
|
||||
-$(MAKE) -C gcc_plugin clean
|
||||
$(MAKE) -C libdislocator clean
|
||||
$(MAKE) -C libtokencap clean
|
||||
$(MAKE) -C examples/afl_network_proxy clean
|
||||
$(MAKE) -C examples/socket_fuzzing clean
|
||||
$(MAKE) -C examples/argv_fuzzing clean
|
||||
$(MAKE) -C qemu_mode/unsigaction clean
|
||||
$(MAKE) -C qemu_mode/libcompcov clean
|
||||
$(MAKE) -C src/third_party/libradamsa/ clean
|
||||
-rm -rf unicorn_mode/unicornafl
|
||||
rm -rf qemu_mode/qemu-3.1.1
|
||||
ifeq "$(IN_REPO)" "1"
|
||||
test -e unicorn_mode/unicornafl/Makefile && $(MAKE) -C unicorn_mode/unicornafl clean || true
|
||||
else
|
||||
rm -rf qemu_mode/qemu-3.1.1.tar.xz
|
||||
rm -rf unicorn_mode/unicornafl
|
||||
endif
|
||||
|
||||
distrib: all radamsa
|
||||
deepclean: clean
|
||||
rm -rf qemu_mode/qemu-3.1.1.tar.xz
|
||||
rm -rf unicorn_mode/unicornafl
|
||||
git reset --hard >/dev/null 2>&1 || true
|
||||
|
||||
distrib: all
|
||||
-$(MAKE) -C llvm_mode
|
||||
-$(MAKE) -C gcc_plugin
|
||||
$(MAKE) -C libdislocator
|
||||
$(MAKE) -C libtokencap
|
||||
$(MAKE) -C examples/afl_network_proxy
|
||||
$(MAKE) -C examples/socket_fuzzing
|
||||
$(MAKE) -C examples/argv_fuzzing
|
||||
cd qemu_mode && sh ./build_qemu_support.sh
|
||||
cd unicorn_mode && sh ./build_unicorn_support.sh
|
||||
-cd qemu_mode && sh ./build_qemu_support.sh
|
||||
cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
|
||||
|
||||
binary-only: all radamsa
|
||||
binary-only: all
|
||||
$(MAKE) -C libdislocator
|
||||
$(MAKE) -C libtokencap
|
||||
$(MAKE) -C examples/afl_network_proxy
|
||||
$(MAKE) -C examples/socket_fuzzing
|
||||
$(MAKE) -C examples/argv_fuzzing
|
||||
cd qemu_mode && sh ./build_qemu_support.sh
|
||||
cd unicorn_mode && sh ./build_unicorn_support.sh
|
||||
-cd qemu_mode && sh ./build_qemu_support.sh
|
||||
cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh
|
||||
|
||||
source-only: all radamsa
|
||||
source-only: all
|
||||
-$(MAKE) -C llvm_mode
|
||||
-$(MAKE) -C gcc_plugin
|
||||
$(MAKE) -C libdislocator
|
||||
$(MAKE) -C libtokencap
|
||||
@#$(MAKE) -C examples/afl_network_proxy
|
||||
@#$(MAKE) -C examples/socket_fuzzing
|
||||
@#$(MAKE) -C examples/argv_fuzzing
|
||||
|
||||
%.8: %
|
||||
@echo .TH $* 8 $(BUILD_DATE) "afl++" > $@
|
||||
@echo .SH NAME >> $@
|
||||
@echo .B $* >> $@
|
||||
@printf "%s" ".B $* \- " >> $@
|
||||
@./$* -h 2>&1 | head -n 1 | sed -e "s/$$(printf '\e')[^m]*m//g" >> $@
|
||||
@echo >> $@
|
||||
@echo .SH SYNOPSIS >> $@
|
||||
@./$* -h 2>&1 | head -n 3 | tail -n 1 | sed 's/^\.\///' >> $@
|
||||
@ -471,10 +601,12 @@ install: all $(MANPAGES)
|
||||
if [ -f libdislocator.so ]; then set -e; install -m 755 libdislocator.so $${DESTDIR}$(HELPER_PATH); fi
|
||||
if [ -f libtokencap.so ]; then set -e; install -m 755 libtokencap.so $${DESTDIR}$(HELPER_PATH); fi
|
||||
if [ -f libcompcov.so ]; then set -e; install -m 755 libcompcov.so $${DESTDIR}$(HELPER_PATH); fi
|
||||
if [ -f libradamsa.so ]; then set -e; install -m 755 libradamsa.so $${DESTDIR}$(HELPER_PATH); fi
|
||||
if [ -f afl-fuzz-document ]; then set -e; install -m 755 afl-fuzz-document $${DESTDIR}$(BIN_PATH); fi
|
||||
if [ -f socketfuzz32.so -o -f socketfuzz64.so ]; then $(MAKE) -C examples/socket_fuzzing install; fi
|
||||
if [ -f argvfuzz32.so -o -f argvfuzz64.so ]; then $(MAKE) -C examples/argv_fuzzing install; fi
|
||||
if [ -f examples/afl_network_proxy/afl-network-server ]; then $(MAKE) -C examples/afl_network_proxy install; fi
|
||||
if [ -f libAFLDriver.a ]; then install -m 644 libAFLDriver.a $${DESTDIR}$(HELPER_PATH); fi
|
||||
if [ -f libAFLQemuDriver.a ]; then install -m 644 libAFLQemuDriver.a $${DESTDIR}$(HELPER_PATH); fi
|
||||
|
||||
set -e; ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-g++
|
||||
set -e; if [ -f afl-clang-fast ] ; then ln -sf afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang++ ; else ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang++; fi
|
||||
|
42
Makefile
42
Makefile
@ -1,2 +1,42 @@
|
||||
all:
|
||||
@echo please use GNU make, thanks!
|
||||
@echo trying to use GNU make...
|
||||
@gmake all || echo please install GNUmake
|
||||
|
||||
source-only:
|
||||
@gmake source-only
|
||||
|
||||
binary-only:
|
||||
@gmake binary-only
|
||||
|
||||
distrib:
|
||||
@gmake distrib
|
||||
|
||||
man:
|
||||
@gmake man
|
||||
|
||||
install:
|
||||
@gmake install
|
||||
|
||||
document:
|
||||
@gmake document
|
||||
|
||||
deepclean:
|
||||
@gmake deepclean
|
||||
|
||||
code-format:
|
||||
@gmake code-format
|
||||
|
||||
help:
|
||||
@gmake help
|
||||
|
||||
tests:
|
||||
@gmake tests
|
||||
|
||||
unit:
|
||||
@gmake unit
|
||||
|
||||
unit_clean:
|
||||
@gmake unit_clean
|
||||
|
||||
clean:
|
||||
@gmake clean
|
||||
|
39
TODO.md
39
TODO.md
@ -1,36 +1,27 @@
|
||||
# TODO list for AFL++
|
||||
|
||||
## Roadmap 2.65
|
||||
## Roadmap 2.68+
|
||||
|
||||
- AFL_MAP_SIZE for afl-llvm-pass, qemu_mode and unicorn_mode
|
||||
- fix stability calculation bug
|
||||
- random crc32 HASH_CONST per run? because with 65536 paths we have collisions
|
||||
- namespace for targets? e.g. network
|
||||
- libradamsa as a custom module?
|
||||
- AFL_MAP_SIZE for qemu_mode and unicorn_mode
|
||||
- CPU affinity for many cores? There seems to be an issue > 96 cores
|
||||
- afl-plot to support multiple plot_data
|
||||
- afl_custom_fuzz_splice_optin()
|
||||
- intel-pt tracer
|
||||
|
||||
## Further down the road
|
||||
|
||||
afl-fuzz:
|
||||
- sync_fuzzers(): only masters sync from all, slaves only sync from master
|
||||
(@andrea: be careful, often people run all slaves)
|
||||
- ascii_only mode for mutation output
|
||||
- setting min_len/max_len/start_offset/end_offset limits for mutation output
|
||||
- add __sanitizer_cov_trace_cmp* support via shmem
|
||||
|
||||
llvm_mode:
|
||||
- added context sensitive branch coverage
|
||||
- add CT cov and ngram cov to LTO and InsTrim
|
||||
- better whitelist solution for LTO
|
||||
- add __sanitizer_cov_trace_cmp* support
|
||||
|
||||
gcc_plugin:
|
||||
- laf-intel
|
||||
- better instrumentation (seems to be better with gcc-9+)
|
||||
- (wait for submission then decide)
|
||||
|
||||
qemu_mode:
|
||||
- update to 4.x (probably this will be skipped :( )
|
||||
- non colliding instrumentation
|
||||
- instrim for QEMU mode via static analysis (with r2pipe? or angr?)
|
||||
Idea: The static analyzer outputs a map in which each edge that must be
|
||||
skipped is marked with 1. QEMU loads it at startup in the parent process.
|
||||
- rename qemu specific envs to AFL_QEMU (AFL_ENTRYPOINT, AFL_CODE_START/END,
|
||||
AFL_COMPCOV_LEVEL?)
|
||||
- add AFL_QEMU_EXITPOINT (maybe multiple?), maybe pointless as we have
|
||||
@ -38,6 +29,14 @@ qemu_mode:
|
||||
- add/implement AFL_QEMU_INST_LIBLIST and AFL_QEMU_NOINST_PROGRAM
|
||||
- add/implement AFL_QEMU_INST_REGIONS as a list of _START/_END addresses
|
||||
|
||||
custom_mutators:
|
||||
- rip what Superion is doing into custom mutators for js, php, etc.
|
||||
## Ideas
|
||||
|
||||
- LTO/sancov: write current edge to prev_loc and use that information when
|
||||
using cmplog or __sanitizer_cov_trace_cmp*. maybe we can deduct by follow
|
||||
up edge numbers that both following cmp paths have been found and then
|
||||
disable working on this edge id -> cmplog_intelligence branch
|
||||
|
||||
- new tancov: use some lightweight taint analysis to see which parts of a
|
||||
new queue entry is accessed and only fuzz these bytes - or better, only
|
||||
fuzz those bytes that are newly in coverage compared to the queue entry
|
||||
the new one is based on -> taint branch, not useful :-(
|
||||
|
1
afl-cmin
1
afl-cmin
@ -120,6 +120,7 @@ function usage() {
|
||||
"AFL_PATH: path for the afl-showmap binary\n" \
|
||||
"AFL_SKIP_BIN_CHECK: skip check for target binary\n" \
|
||||
"AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp\n"
|
||||
"AFL_FORKSRV_INIT_TMOUT: time the fuzzer waits for the target to come up, initially\n"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
@ -134,7 +134,6 @@ Environment variables used:
|
||||
AFL_KEEP_TRACES: leave the temporary <out_dir>\.traces directory
|
||||
AFL_PATH: path for the afl-showmap binary
|
||||
AFL_SKIP_BIN_CHECK: skip check for target binary
|
||||
AFL_ALLOW_TMP: allow unsafe use of input/output directories under {/var}/tmp
|
||||
_EOF_
|
||||
exit 1
|
||||
fi
|
||||
@ -142,29 +141,29 @@ fi
|
||||
# Do a sanity check to discourage the use of /tmp, since we can't really
|
||||
# handle this safely from a shell script.
|
||||
|
||||
if [ "$AFL_ALLOW_TMP" = "" ]; then
|
||||
|
||||
echo "$IN_DIR" | grep -qE '^(/var)?/tmp/'
|
||||
T1="$?"
|
||||
|
||||
echo "$TARGET_BIN" | grep -qE '^(/var)?/tmp/'
|
||||
T2="$?"
|
||||
|
||||
echo "$OUT_DIR" | grep -qE '^(/var)?/tmp/'
|
||||
T3="$?"
|
||||
|
||||
echo "$STDIN_FILE" | grep -qE '^(/var)?/tmp/'
|
||||
T4="$?"
|
||||
|
||||
echo "$PWD" | grep -qE '^(/var)?/tmp/'
|
||||
T5="$?"
|
||||
|
||||
if [ "$T1" = "0" -o "$T2" = "0" -o "$T3" = "0" -o "$T4" = "0" -o "$T5" = "0" ]; then
|
||||
echo "[-] Error: do not use this script in /tmp or /var/tmp." 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
fi
|
||||
#if [ "$AFL_ALLOW_TMP" = "" ]; then
|
||||
#
|
||||
# echo "$IN_DIR" | grep -qE '^(/var)?/tmp/'
|
||||
# T1="$?"
|
||||
#
|
||||
# echo "$TARGET_BIN" | grep -qE '^(/var)?/tmp/'
|
||||
# T2="$?"
|
||||
#
|
||||
# echo "$OUT_DIR" | grep -qE '^(/var)?/tmp/'
|
||||
# T3="$?"
|
||||
#
|
||||
# echo "$STDIN_FILE" | grep -qE '^(/var)?/tmp/'
|
||||
# T4="$?"
|
||||
#
|
||||
# echo "$PWD" | grep -qE '^(/var)?/tmp/'
|
||||
# T5="$?"
|
||||
#
|
||||
# if [ "$T1" = "0" -o "$T2" = "0" -o "$T3" = "0" -o "$T4" = "0" -o "$T5" = "0" ]; then
|
||||
# echo "[-] Error: do not use this script in /tmp or /var/tmp." 1>&2
|
||||
# exit 1
|
||||
# fi
|
||||
#
|
||||
#fi
|
||||
|
||||
# If @@ is specified, but there's no -f, let's come up with a temporary input
|
||||
# file name.
|
||||
@ -246,7 +245,7 @@ if [ ! "$STDIN_FILE" = "" ]; then
|
||||
fi
|
||||
|
||||
if [ "$AFL_PATH" = "" ]; then
|
||||
SHOWMAP="${0%/afl-cmin}/afl-showmap"
|
||||
SHOWMAP="${0%/afl-cmin.bash}/afl-showmap"
|
||||
else
|
||||
SHOWMAP="$AFL_PATH/afl-showmap"
|
||||
fi
|
||||
|
90
afl-plot
90
afl-plot
@ -15,6 +15,10 @@
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
|
||||
get_abs_path() {
|
||||
echo $(cd "`dirname "$1"`" && pwd)/"`basename "$1"`"
|
||||
}
|
||||
|
||||
echo "progress plotting utility for afl-fuzz by Michal Zalewski"
|
||||
echo
|
||||
|
||||
@ -31,40 +35,49 @@ an empty directory where this tool can write the resulting plots to.
|
||||
|
||||
The program will put index.html and three PNG images in the output directory;
|
||||
you should be able to view it with any web browser of your choice.
|
||||
|
||||
Environment variables used:
|
||||
AFL_ALLOW_TMP: allow /var/tmp or /tmp for input and output directories
|
||||
_EOF_
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
if [ "$AFL_ALLOW_TMP" = "" ]; then
|
||||
inputdir=`get_abs_path "$1"`
|
||||
outputdir=`get_abs_path "$2"`
|
||||
|
||||
echo "$1" | grep -qE '^(/var)?/tmp/'
|
||||
T1="$?"
|
||||
#if [ "$AFL_ALLOW_TMP" = "" ]; then
|
||||
#
|
||||
# echo "$inputdir" | grep -qE '^(/var)?/tmp/'
|
||||
# T1="$?"
|
||||
#
|
||||
# echo "$outputdir" | grep -qE '^(/var)?/tmp/'
|
||||
# T2="$?"
|
||||
#
|
||||
# if [ "$T1" = "0" -o "$T2" = "0" ]; then
|
||||
#
|
||||
# echo "[-] Error: this script shouldn't be used with shared /tmp directories." 1>&2
|
||||
# exit 1
|
||||
#
|
||||
# fi
|
||||
#
|
||||
#fi
|
||||
|
||||
echo "$2" | grep -qE '^(/var)?/tmp/'
|
||||
T2="$?"
|
||||
|
||||
if [ "$T1" = "0" -o "$T2" = "0" ]; then
|
||||
|
||||
echo "[-] Error: this script shouldn't be used with shared /tmp directories." 1>&2
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [ ! -f "$1/plot_data" ]; then
|
||||
if [ ! -f "$inputdir/plot_data" ]; then
|
||||
|
||||
echo "[-] Error: input directory is not valid (missing 'plot_data')." 1>&2
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
BANNER="`cat "$1/fuzzer_stats" | grep '^afl_banner ' | cut -d: -f2- | cut -b2-`"
|
||||
LINES=`cat "$inputdir/plot_data" | wc -l`
|
||||
|
||||
if [ "$LINES" -lt 3 ]; then
|
||||
|
||||
echo "[-] Error: plot_data carries too little data, let it run longer." 1>&2
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
BANNER="`cat "$inputdir/fuzzer_stats" 2> /dev/null | grep '^afl_banner ' | cut -d: -f2- | cut -b2-`"
|
||||
|
||||
test "$BANNER" = "" && BANNER="(none)"
|
||||
|
||||
@ -77,17 +90,17 @@ if [ "$GNUPLOT" = "" ]; then
|
||||
|
||||
fi
|
||||
|
||||
mkdir "$2" 2>/dev/null
|
||||
mkdir "$outputdir" 2>/dev/null
|
||||
|
||||
if [ ! -d "$2" ]; then
|
||||
if [ ! -d "$outputdir" ]; then
|
||||
|
||||
echo "[-] Error: unable to create the output directory - pick another location." 1>&2
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
rm -f "$2/high_freq.png" "$2/low_freq.png" "$2/exec_speed.png"
|
||||
mv -f "$2/index.html" "$2/index.html.orig" 2>/dev/null
|
||||
rm -f "$outputdir/high_freq.png" "$outputdir/low_freq.png" "$outputdir/exec_speed.png"
|
||||
mv -f "$outputdir/index.html" "$outputdir/index.html.orig" 2>/dev/null
|
||||
|
||||
echo "[*] Generating plots..."
|
||||
|
||||
@ -96,7 +109,7 @@ echo "[*] Generating plots..."
|
||||
cat <<_EOF_
|
||||
set terminal png truecolor enhanced size 1000,300 butt
|
||||
|
||||
set output '$2/high_freq.png'
|
||||
set output '$outputdir/high_freq.png'
|
||||
|
||||
set xdata time
|
||||
set timefmt '%s'
|
||||
@ -114,31 +127,36 @@ set key outside
|
||||
set autoscale xfixmin
|
||||
set autoscale xfixmax
|
||||
|
||||
plot '$1/plot_data' using 1:4 with filledcurve x1 title 'total paths' linecolor rgb '#000000' fillstyle transparent solid 0.2 noborder, \\
|
||||
set xlabel "all times in UTC" font "small"
|
||||
|
||||
set ytics auto
|
||||
plot '$inputdir/plot_data' using 1:4 with filledcurve x1 title 'total paths' linecolor rgb '#000000' fillstyle transparent solid 0.2 noborder, \\
|
||||
'' using 1:3 with filledcurve x1 title 'current path' linecolor rgb '#f0f0f0' fillstyle transparent solid 0.5 noborder, \\
|
||||
'' using 1:5 with lines title 'pending paths' linecolor rgb '#0090ff' linewidth 3, \\
|
||||
'' using 1:6 with lines title 'pending favs' linecolor rgb '#c00080' linewidth 3, \\
|
||||
'' using 1:2 with lines title 'cycles done' linecolor rgb '#c000f0' linewidth 3
|
||||
|
||||
set terminal png truecolor enhanced size 1000,200 butt
|
||||
set output '$2/low_freq.png'
|
||||
set output '$outputdir/low_freq.png'
|
||||
|
||||
plot '$1/plot_data' using 1:8 with filledcurve x1 title '' linecolor rgb '#c00080' fillstyle transparent solid 0.2 noborder, \\
|
||||
set ytics 1
|
||||
plot '$inputdir/plot_data' using 1:8 with filledcurve x1 title '' linecolor rgb '#c00080' fillstyle transparent solid 0.2 noborder, \\
|
||||
'' using 1:8 with lines title ' uniq crashes' linecolor rgb '#c00080' linewidth 3, \\
|
||||
'' using 1:9 with lines title 'uniq hangs' linecolor rgb '#c000f0' linewidth 3, \\
|
||||
'' using 1:10 with lines title 'levels' linecolor rgb '#0090ff' linewidth 3
|
||||
|
||||
set terminal png truecolor enhanced size 1000,200 butt
|
||||
set output '$2/exec_speed.png'
|
||||
set output '$outputdir/exec_speed.png'
|
||||
|
||||
plot '$1/plot_data' using 1:11 with filledcurve x1 title '' linecolor rgb '#0090ff' fillstyle transparent solid 0.2 noborder, \\
|
||||
'$1/plot_data' using 1:11 with lines title ' execs/sec' linecolor rgb '#0090ff' linewidth 3 smooth bezier;
|
||||
set ytics auto
|
||||
plot '$inputdir/plot_data' using 1:11 with filledcurve x1 title '' linecolor rgb '#0090ff' fillstyle transparent solid 0.2 noborder, \\
|
||||
'$inputdir/plot_data' using 1:11 with lines title ' execs/sec' linecolor rgb '#0090ff' linewidth 3 smooth bezier;
|
||||
|
||||
_EOF_
|
||||
|
||||
) | gnuplot
|
||||
|
||||
if [ ! -s "$2/exec_speed.png" ]; then
|
||||
if [ ! -s "$outputdir/exec_speed.png" ]; then
|
||||
|
||||
echo "[-] Error: something went wrong! Perhaps you have an ancient version of gnuplot?" 1>&2
|
||||
exit 1
|
||||
@ -147,10 +165,10 @@ fi
|
||||
|
||||
echo "[*] Generating index.html..."
|
||||
|
||||
cat >"$2/index.html" <<_EOF_
|
||||
cat >"$outputdir/index.html" <<_EOF_
|
||||
<table style="font-family: 'Trebuchet MS', 'Tahoma', 'Arial', 'Helvetica'">
|
||||
<tr><td style="width: 18ex"><b>Banner:</b></td><td>$BANNER</td></tr>
|
||||
<tr><td><b>Directory:</b></td><td>$1</td></tr>
|
||||
<tr><td><b>Directory:</b></td><td>$inputdir</td></tr>
|
||||
<tr><td><b>Generated on:</b></td><td>`date`</td></tr>
|
||||
</table>
|
||||
<p>
|
||||
@ -164,8 +182,8 @@ _EOF_
|
||||
# served by Apache or other HTTP daemon. Since the plots aren't horribly
|
||||
# sensitive, this seems like a reasonable trade-off.
|
||||
|
||||
chmod 755 "$2"
|
||||
chmod 644 "$2/high_freq.png" "$2/low_freq.png" "$2/exec_speed.png" "$2/index.html"
|
||||
chmod 755 "$outputdir"
|
||||
chmod 644 "$outputdir/high_freq.png" "$outputdir/low_freq.png" "$outputdir/exec_speed.png" "$outputdir/index.html"
|
||||
|
||||
echo "[+] All done - enjoy your charts!"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
test "$1" = "-h" && {
|
||||
test "$1" = "-h" -o "$1" = "-hh" && {
|
||||
echo 'afl-system-config by Marc Heuse <mh@mh-sec.de>'
|
||||
echo
|
||||
echo $0
|
||||
|
17
afl-whatsup
17
afl-whatsup
@ -20,7 +20,7 @@
|
||||
|
||||
echo "$0 status check tool for afl-fuzz by Michal Zalewski"
|
||||
echo
|
||||
test "$1" = "-h" && {
|
||||
test "$1" = "-h" -o "$1" = "-hh" && {
|
||||
echo $0 [-s] output_directory
|
||||
echo
|
||||
echo Options:
|
||||
@ -99,7 +99,7 @@ fi
|
||||
fmt_duration()
|
||||
{
|
||||
DUR_STRING=
|
||||
if [ $1 -eq 0 ]; then
|
||||
if [ $1 -le 0 ]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
@ -109,7 +109,11 @@ fmt_duration()
|
||||
local minutes=$(((duration / 60) % 60))
|
||||
local seconds=$((duration % 60))
|
||||
|
||||
if [ $days -gt 0 ]; then
|
||||
if [ $duration -le 0 ]; then
|
||||
DUR_STRING="0 seconds"
|
||||
elif [ $duration -eq 1 ]; then
|
||||
DUR_STRING="1 second"
|
||||
elif [ $days -gt 0 ]; then
|
||||
DUR_STRING="$days days, $hours hours"
|
||||
elif [ $hours -gt 0 ]; then
|
||||
DUR_STRING="$hours hours, $minutes minutes"
|
||||
@ -162,7 +166,8 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
|
||||
|
||||
ALIVE_CNT=$((ALIVE_CNT + 1))
|
||||
|
||||
EXEC_SEC=$((execs_done / RUN_UNIX))
|
||||
EXEC_SEC=0
|
||||
test -z "$RUN_UNIX" -o "$RUN_UNIX" = 0 || EXEC_SEC=$((execs_done / RUN_UNIX))
|
||||
PATH_PERC=$((cur_path * 100 / paths_total))
|
||||
|
||||
TOTAL_TIME=$((TOTAL_TIME + RUN_UNIX))
|
||||
@ -184,7 +189,9 @@ for i in `find . -maxdepth 2 -iname fuzzer_stats | sort`; do
|
||||
echo " ${RED}timeout_ratio $TIMEOUT_PERC%${NC}"
|
||||
fi
|
||||
|
||||
if [ $EXEC_SEC -lt 100 ]; then
|
||||
if [ $EXEC_SEC -eq 0 ]; then
|
||||
echo " ${YELLOW}no data yet, 0 execs/sec${NC}"
|
||||
elif [ $EXEC_SEC -lt 100 ]; then
|
||||
echo " ${RED}slow execution, $EXEC_SEC execs/sec${NC}"
|
||||
fi
|
||||
|
||||
|
@ -68,7 +68,12 @@ else:
|
||||
argv = sys.argv[1:]
|
||||
for i in range(len(argv)):
|
||||
if ".cur_input" in argv[i]:
|
||||
argv[i] = subprocess.run([os.path.join(os.path.dirname(wine_path), "winepath"), "--windows", argv[i]], universal_newlines=True, stdout=subprocess.PIPE).stdout
|
||||
# Get the Wine translated path using the winepath tool
|
||||
arg_translated = subprocess.run([os.path.join(os.path.dirname(wine_path), "winepath"), "--windows", argv[i]], universal_newlines=True, stdout=subprocess.PIPE).stdout
|
||||
# Remove the spurious LF at the end of the path
|
||||
if len(arg_translated) > 0 and arg_translated[-1] == '\n':
|
||||
arg_translated = arg_translated[:-1]
|
||||
argv[i] = arg_translated
|
||||
break
|
||||
|
||||
print("[afl-wine-trace] exec:", " ".join([qemu_path, wine_path] + argv))
|
||||
|
52
custom_mutators/README.md
Normal file
52
custom_mutators/README.md
Normal file
@ -0,0 +1,52 @@
|
||||
# Custom Mutators
|
||||
|
||||
Custom mutators enhance and alter the mutation strategies of afl++.
|
||||
For further information and documentation on how to write your own, read [the docs](../docs/custom_mutators.md).
|
||||
|
||||
## The afl++ Grammar Mutator
|
||||
|
||||
If you use git to clone afl++, then the following will incorporate our
|
||||
excellent grammar custom mutator:
|
||||
```
|
||||
git submodule init
|
||||
git submodule update
|
||||
```
|
||||
|
||||
otherwise just checkout the repository here with either
|
||||
`git clone https://github.com/AFLplusplus/Grammar-Mutator` or
|
||||
`svn co https://github.com/AFLplusplus/Grammar-Mutator`.
|
||||
|
||||
Read the [Grammar-Mutator/README.md](Grammar-Mutator/README.md) on how to use
|
||||
it.
|
||||
|
||||
## Production-Ready Custom Mutators
|
||||
|
||||
This directory holds ready to use custom mutators.
|
||||
Just type "make" in the individual subdirectories.
|
||||
|
||||
Use with e.g.
|
||||
|
||||
`AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/radamsa/radamsa-mutator.so afl-fuzz ....`
|
||||
|
||||
and add `AFL_CUSTOM_MUTATOR_ONLY=1` if you only want to use the custom mutator.
|
||||
|
||||
Multiple custom mutators can be used by separating their paths with `:` in the environment variable.
|
||||
|
||||
## 3rd Party Custom Mutators
|
||||
|
||||
### Superion Mutators
|
||||
|
||||
Adrian Tiron ported the Superion grammar fuzzer to afl++, it is WIP and
|
||||
requires cmake (among other things):
|
||||
[https://github.com/adrian-rt/superion-mutator](https://github.com/adrian-rt/superion-mutator)
|
||||
|
||||
### libprotobuf Mutators
|
||||
|
||||
There are two WIP protobuf projects, that require work to be working though:
|
||||
|
||||
transforms protobuf raw:
|
||||
https://github.com/bruce30262/libprotobuf-mutator_fuzzing_learning/tree/master/4_libprotobuf_aflpp_custom_mutator
|
||||
|
||||
has a transform function you need to fill for your protobuf format, however
|
||||
needs to be ported to the updated afl++ custom mutator API (not much work):
|
||||
https://github.com/thebabush/afl-libprotobuf-mutator
|
17
custom_mutators/honggfuzz/Makefile
Normal file
17
custom_mutators/honggfuzz/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
|
||||
CFLAGS = -O3 -funroll-loops -fPIC -Wl,-Bsymbolic
|
||||
|
||||
all: honggfuzz.so
|
||||
|
||||
honggfuzz.so: honggfuzz.c input.h mangle.c ../../src/afl-performance.c
|
||||
$(CC) $(CFLAGS) -I../../include -I. -shared -o honggfuzz.so honggfuzz.c mangle.c ../../src/afl-performance.c
|
||||
|
||||
update:
|
||||
@# seriously? --unlink is a dud option? sigh ...
|
||||
rm -f mangle.c mangle.h honggfuzz.h
|
||||
wget --unlink https://github.com/google/honggfuzz/raw/master/mangle.c
|
||||
wget --unlink https://github.com/google/honggfuzz/raw/master/mangle.h
|
||||
wget --unlink https://github.com/google/honggfuzz/raw/master/honggfuzz.h
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ *.so core
|
12
custom_mutators/honggfuzz/README.md
Normal file
12
custom_mutators/honggfuzz/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# custum mutator: honggfuzz mangle
|
||||
|
||||
this is the very good honggfuzz mutator in mangle.c as a custom mutator
|
||||
module for afl++. It is the original mangle.c, mangle.h and honggfuzz.h
|
||||
with a lot of mocking around it :-)
|
||||
|
||||
just type `make` to build
|
||||
|
||||
```AFL_CUSTOM_MUTATOR_LIBRARY=custom_mutators/honggfuzz/honggfuzz.so afl-fuzz ...```
|
||||
|
||||
> Original repository: https://github.com/google/honggfuzz
|
||||
> Source commit: d0fbcb0373c32436b8fb922e6937da93b17291f5
|
0
custom_mutators/honggfuzz/common.h
Normal file
0
custom_mutators/honggfuzz/common.h
Normal file
22
custom_mutators/honggfuzz/custom_mutator_helpers.h
Normal file
22
custom_mutators/honggfuzz/custom_mutator_helpers.h
Normal file
@ -0,0 +1,22 @@
|
||||
#ifndef CUSTOM_MUTATOR_HELPERS
|
||||
#define CUSTOM_MUTATOR_HELPERS
|
||||
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
#include "afl-fuzz.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define INITIAL_GROWTH_SIZE (64)
|
||||
|
||||
/* Use in a struct: creates a name_buf and a name_size variable. */
|
||||
#define BUF_VAR(type, name) \
|
||||
type * name##_buf; \
|
||||
size_t name##_size;
|
||||
/* this filles in `&structptr->something_buf, &structptr->something_size`. */
|
||||
#define BUF_PARAMS(struct, name) \
|
||||
(void **)&struct->name##_buf, &struct->name##_size
|
||||
|
||||
#undef INITIAL_GROWTH_SIZE
|
||||
|
||||
#endif
|
||||
|
143
custom_mutators/honggfuzz/honggfuzz.c
Normal file
143
custom_mutators/honggfuzz/honggfuzz.c
Normal file
@ -0,0 +1,143 @@
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "custom_mutator_helpers.h"
|
||||
#include "mangle.h"
|
||||
|
||||
#define NUMBER_OF_MUTATIONS 5
|
||||
|
||||
uint8_t * queue_input;
|
||||
size_t queue_input_size;
|
||||
afl_state_t * afl_struct;
|
||||
run_t run;
|
||||
honggfuzz_t global;
|
||||
struct _dynfile_t dynfile;
|
||||
|
||||
typedef struct my_mutator {
|
||||
|
||||
afl_state_t *afl;
|
||||
run_t * run;
|
||||
u8 * mutator_buf;
|
||||
unsigned int seed;
|
||||
unsigned int extras_cnt, a_extras_cnt;
|
||||
|
||||
} my_mutator_t;
|
||||
|
||||
my_mutator_t *afl_custom_init(afl_state_t *afl, unsigned int seed) {
|
||||
|
||||
my_mutator_t *data = calloc(1, sizeof(my_mutator_t));
|
||||
if (!data) {
|
||||
|
||||
perror("afl_custom_init alloc");
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
if ((data->mutator_buf = malloc(MAX_FILE)) == NULL) {
|
||||
|
||||
perror("mutator_buf alloc");
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
run.dynfile = &dynfile;
|
||||
run.global = &global;
|
||||
data->afl = afl;
|
||||
data->seed = seed;
|
||||
data->run = &run;
|
||||
afl_struct = afl;
|
||||
|
||||
run.global->mutate.maxInputSz = MAX_FILE;
|
||||
run.global->mutate.mutationsPerRun = NUMBER_OF_MUTATIONS;
|
||||
run.mutationsPerRun = NUMBER_OF_MUTATIONS;
|
||||
run.global->timing.lastCovUpdate = 6;
|
||||
|
||||
// global->feedback.cmpFeedback
|
||||
// global->feedback.cmpFeedbackMap
|
||||
|
||||
return data;
|
||||
|
||||
}
|
||||
|
||||
/* When a new queue entry is added we check if there are new dictionary
|
||||
entries to add to honggfuzz structure */
|
||||
|
||||
void afl_custom_queue_new_entry(my_mutator_t * data,
|
||||
const uint8_t *filename_new_queue,
|
||||
const uint8_t *filename_orig_queue) {
|
||||
|
||||
if (run.global->mutate.dictionaryCnt >= 1024) return;
|
||||
|
||||
while (data->extras_cnt < data->afl->extras_cnt &&
|
||||
run.global->mutate.dictionaryCnt < 1024) {
|
||||
|
||||
memcpy(run.global->mutate.dictionary[run.global->mutate.dictionaryCnt].val,
|
||||
data->afl->extras[data->extras_cnt].data,
|
||||
data->afl->extras[data->extras_cnt].len);
|
||||
run.global->mutate.dictionary[run.global->mutate.dictionaryCnt].len =
|
||||
data->afl->extras[data->extras_cnt].len;
|
||||
run.global->mutate.dictionaryCnt++;
|
||||
data->extras_cnt++;
|
||||
|
||||
}
|
||||
|
||||
while (data->a_extras_cnt < data->afl->a_extras_cnt &&
|
||||
run.global->mutate.dictionaryCnt < 1024) {
|
||||
|
||||
memcpy(run.global->mutate.dictionary[run.global->mutate.dictionaryCnt].val,
|
||||
data->afl->a_extras[data->a_extras_cnt].data,
|
||||
data->afl->a_extras[data->a_extras_cnt].len);
|
||||
run.global->mutate.dictionary[run.global->mutate.dictionaryCnt].len =
|
||||
data->afl->a_extras[data->a_extras_cnt].len;
|
||||
run.global->mutate.dictionaryCnt++;
|
||||
data->a_extras_cnt++;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* we could set only_printable if is_ascii is set ... let's see
|
||||
uint8_t afl_custom_queue_get(void *data, const uint8_t *filename) {
|
||||
|
||||
//run.global->cfg.only_printable = ...
|
||||
|
||||
}
|
||||
|
||||
*/
|
||||
|
||||
/* here we run the honggfuzz mutator, which is really good */
|
||||
|
||||
size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
|
||||
u8 **out_buf, uint8_t *add_buf, size_t add_buf_size,
|
||||
size_t max_size) {
|
||||
|
||||
/* set everything up, costly ... :( */
|
||||
memcpy(data->mutator_buf, buf, buf_size);
|
||||
queue_input = data->mutator_buf;
|
||||
run.dynfile->data = data->mutator_buf;
|
||||
queue_input_size = buf_size;
|
||||
run.dynfile->size = buf_size;
|
||||
*out_buf = data->mutator_buf;
|
||||
|
||||
/* the mutation */
|
||||
mangle_mangleContent(&run, NUMBER_OF_MUTATIONS);
|
||||
|
||||
/* return size of mutated data */
|
||||
return run.dynfile->size;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Deinitialize everything
|
||||
*
|
||||
* @param data The data ptr from afl_custom_init
|
||||
*/
|
||||
void afl_custom_deinit(my_mutator_t *data) {
|
||||
|
||||
free(data->mutator_buf);
|
||||
free(data);
|
||||
|
||||
}
|
||||
|
385
custom_mutators/honggfuzz/honggfuzz.h
Normal file
385
custom_mutators/honggfuzz/honggfuzz.h
Normal file
@ -0,0 +1,385 @@
|
||||
/*
|
||||
*
|
||||
* honggfuzz - core structures and macros
|
||||
* -----------------------------------------
|
||||
*
|
||||
* Author: Robert Swiecki <swiecki@google.com>
|
||||
*
|
||||
* Copyright 2010-2018 by Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License. You may obtain
|
||||
* a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _HF_HONGGFUZZ_H_
|
||||
#define _HF_HONGGFUZZ_H_
|
||||
|
||||
#include <dirent.h>
|
||||
#include <inttypes.h>
|
||||
#include <limits.h>
|
||||
#include <pthread.h>
|
||||
#include <signal.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/types.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "libhfcommon/util.h"
|
||||
|
||||
#define PROG_NAME "honggfuzz"
|
||||
#define PROG_VERSION "2.3"
|
||||
|
||||
/* Name of the template which will be replaced with the proper name of the file */
|
||||
#define _HF_FILE_PLACEHOLDER "___FILE___"
|
||||
|
||||
/* Default name of the report created with some architectures */
|
||||
#define _HF_REPORT_FILE "HONGGFUZZ.REPORT.TXT"
|
||||
|
||||
/* Default stack-size of created threads. */
|
||||
#define _HF_PTHREAD_STACKSIZE (1024ULL * 1024ULL * 2ULL) /* 2MB */
|
||||
|
||||
/* Name of envvar which indicates sequential number of fuzzer */
|
||||
#define _HF_THREAD_NO_ENV "HFUZZ_THREAD_NO"
|
||||
|
||||
/* Name of envvar which indicates that the netDriver should be used */
|
||||
#define _HF_THREAD_NETDRIVER_ENV "HFUZZ_USE_NETDRIVER"
|
||||
|
||||
/* Name of envvar which indicates honggfuzz's log level in use */
|
||||
#define _HF_LOG_LEVEL_ENV "HFUZZ_LOG_LEVEL"
|
||||
|
||||
/* Number of crash verifier iterations before tag crash as stable */
|
||||
#define _HF_VERIFIER_ITER 5
|
||||
|
||||
/* Size (in bytes) for report data to be stored in stack before written to file */
|
||||
#define _HF_REPORT_SIZE 32768
|
||||
|
||||
/* Perf bitmap size */
|
||||
#define _HF_PERF_BITMAP_SIZE_16M (1024U * 1024U * 16U)
|
||||
#define _HF_PERF_BITMAP_BITSZ_MASK 0x7FFFFFFULL
|
||||
/* Maximum number of PC guards (=trace-pc-guard) we support */
|
||||
#define _HF_PC_GUARD_MAX (1024ULL * 1024ULL * 64ULL)
|
||||
|
||||
/* Maximum size of the input file in bytes (1 MiB) */
|
||||
#define _HF_INPUT_MAX_SIZE (1024ULL * 1024ULL)
|
||||
|
||||
/* Default maximum size of produced inputs */
|
||||
#define _HF_INPUT_DEFAULT_SIZE (1024ULL * 8)
|
||||
|
||||
/* Per-thread bitmap */
|
||||
#define _HF_PERTHREAD_BITMAP_FD 1018
|
||||
/* FD used to report back used int/str constants from the fuzzed process */
|
||||
#define _HF_CMP_BITMAP_FD 1019
|
||||
/* FD used to log inside the child process */
|
||||
#define _HF_LOG_FD 1020
|
||||
/* FD used to represent the input file */
|
||||
#define _HF_INPUT_FD 1021
|
||||
/* FD used to pass coverage feedback from the fuzzed process */
|
||||
#define _HF_COV_BITMAP_FD 1022
|
||||
#define _HF_BITMAP_FD _HF_COV_BITMAP_FD /* Old name for _HF_COV_BITMAP_FD */
|
||||
/* FD used to pass data to a persistent process */
|
||||
#define _HF_PERSISTENT_FD 1023
|
||||
|
||||
/* Input file as a string */
|
||||
#define _HF_INPUT_FILE_PATH "/dev/fd/" HF_XSTR(_HF_INPUT_FD)
|
||||
|
||||
/* Maximum number of supported execve() args */
|
||||
#define _HF_ARGS_MAX 2048
|
||||
|
||||
/* Message indicating that the fuzzed process is ready for new data */
|
||||
static const uint8_t HFReadyTag = 'R';
|
||||
|
||||
/* Maximum number of active fuzzing threads */
|
||||
#define _HF_THREAD_MAX 1024U
|
||||
|
||||
/* Persistent-binary signature - if found within file, it means it's a persistent mode binary */
|
||||
#define _HF_PERSISTENT_SIG "\x01_LIBHFUZZ_PERSISTENT_BINARY_SIGNATURE_\x02\xFF"
|
||||
/* HF NetDriver signature - if found within file, it means it's a NetDriver-based binary */
|
||||
#define _HF_NETDRIVER_SIG "\x01_LIBHFUZZ_NETDRIVER_BINARY_SIGNATURE_\x02\xFF"
|
||||
|
||||
/* printf() nonmonetary separator. According to MacOSX's man it's supported there as well */
|
||||
#define _HF_NONMON_SEP "'"
|
||||
|
||||
typedef enum {
|
||||
_HF_DYNFILE_NONE = 0x0,
|
||||
_HF_DYNFILE_INSTR_COUNT = 0x1,
|
||||
_HF_DYNFILE_BRANCH_COUNT = 0x2,
|
||||
_HF_DYNFILE_BTS_EDGE = 0x10,
|
||||
_HF_DYNFILE_IPT_BLOCK = 0x20,
|
||||
_HF_DYNFILE_SOFT = 0x40,
|
||||
} dynFileMethod_t;
|
||||
|
||||
typedef struct {
|
||||
uint64_t cpuInstrCnt;
|
||||
uint64_t cpuBranchCnt;
|
||||
uint64_t bbCnt;
|
||||
uint64_t newBBCnt;
|
||||
uint64_t softCntPc;
|
||||
uint64_t softCntEdge;
|
||||
uint64_t softCntCmp;
|
||||
} hwcnt_t;
|
||||
|
||||
typedef enum {
|
||||
_HF_STATE_UNSET = 0,
|
||||
_HF_STATE_STATIC,
|
||||
_HF_STATE_DYNAMIC_DRY_RUN,
|
||||
_HF_STATE_DYNAMIC_MAIN,
|
||||
_HF_STATE_DYNAMIC_MINIMIZE,
|
||||
} fuzzState_t;
|
||||
|
||||
typedef enum {
|
||||
HF_MAYBE = -1,
|
||||
HF_NO = 0,
|
||||
HF_YES = 1,
|
||||
} tristate_t;
|
||||
|
||||
struct _dynfile_t {
|
||||
size_t size;
|
||||
uint64_t cov[4];
|
||||
size_t idx;
|
||||
int fd;
|
||||
uint64_t timeExecUSecs;
|
||||
char path[PATH_MAX];
|
||||
struct _dynfile_t* src;
|
||||
uint32_t refs;
|
||||
uint8_t* data;
|
||||
TAILQ_ENTRY(_dynfile_t) pointers;
|
||||
};
|
||||
|
||||
typedef struct _dynfile_t dynfile_t;
|
||||
|
||||
struct strings_t {
|
||||
size_t len;
|
||||
TAILQ_ENTRY(strings_t) pointers;
|
||||
char s[];
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
uint8_t pcGuardMap[_HF_PC_GUARD_MAX];
|
||||
uint8_t bbMapPc[_HF_PERF_BITMAP_SIZE_16M];
|
||||
uint32_t bbMapCmp[_HF_PERF_BITMAP_SIZE_16M];
|
||||
uint64_t pidNewPC[_HF_THREAD_MAX];
|
||||
uint64_t pidNewEdge[_HF_THREAD_MAX];
|
||||
uint64_t pidNewCmp[_HF_THREAD_MAX];
|
||||
uint64_t guardNb;
|
||||
uint64_t pidTotalPC[_HF_THREAD_MAX];
|
||||
uint64_t pidTotalEdge[_HF_THREAD_MAX];
|
||||
uint64_t pidTotalCmp[_HF_THREAD_MAX];
|
||||
} feedback_t;
|
||||
|
||||
typedef struct {
|
||||
uint32_t cnt;
|
||||
struct {
|
||||
uint8_t val[32];
|
||||
uint32_t len;
|
||||
} valArr[1024 * 16];
|
||||
} cmpfeedback_t;
|
||||
|
||||
typedef struct {
|
||||
struct {
|
||||
size_t threadsMax;
|
||||
size_t threadsFinished;
|
||||
uint32_t threadsActiveCnt;
|
||||
pthread_t mainThread;
|
||||
pid_t mainPid;
|
||||
pthread_t threads[_HF_THREAD_MAX];
|
||||
} threads;
|
||||
struct {
|
||||
const char* inputDir;
|
||||
const char* outputDir;
|
||||
DIR* inputDirPtr;
|
||||
size_t fileCnt;
|
||||
size_t testedFileCnt;
|
||||
const char* fileExtn;
|
||||
size_t maxFileSz;
|
||||
size_t newUnitsAdded;
|
||||
char workDir[PATH_MAX];
|
||||
const char* crashDir;
|
||||
const char* covDirNew;
|
||||
bool saveUnique;
|
||||
size_t dynfileqMaxSz;
|
||||
size_t dynfileqCnt;
|
||||
dynfile_t* dynfileqCurrent;
|
||||
dynfile_t* dynfileq2Current;
|
||||
TAILQ_HEAD(dyns_t, _dynfile_t) dynfileq;
|
||||
bool exportFeedback;
|
||||
} io;
|
||||
struct {
|
||||
int argc;
|
||||
const char* const* cmdline;
|
||||
bool nullifyStdio;
|
||||
bool fuzzStdin;
|
||||
const char* externalCommand;
|
||||
const char* postExternalCommand;
|
||||
const char* feedbackMutateCommand;
|
||||
bool netDriver;
|
||||
bool persistent;
|
||||
uint64_t asLimit;
|
||||
uint64_t rssLimit;
|
||||
uint64_t dataLimit;
|
||||
uint64_t coreLimit;
|
||||
uint64_t stackLimit;
|
||||
bool clearEnv;
|
||||
char* env_ptrs[128];
|
||||
char env_vals[128][4096];
|
||||
sigset_t waitSigSet;
|
||||
} exe;
|
||||
struct {
|
||||
time_t timeStart;
|
||||
time_t runEndTime;
|
||||
time_t tmOut;
|
||||
time_t lastCovUpdate;
|
||||
int64_t timeOfLongestUnitUSecs;
|
||||
bool tmoutVTALRM;
|
||||
} timing;
|
||||
struct {
|
||||
struct {
|
||||
uint8_t val[256];
|
||||
size_t len;
|
||||
} dictionary[1024];
|
||||
size_t dictionaryCnt;
|
||||
const char* dictionaryFile;
|
||||
size_t mutationsMax;
|
||||
unsigned mutationsPerRun;
|
||||
size_t maxInputSz;
|
||||
} mutate;
|
||||
struct {
|
||||
bool useScreen;
|
||||
char cmdline_txt[65];
|
||||
int64_t lastDisplayUSecs;
|
||||
} display;
|
||||
struct {
|
||||
bool useVerifier;
|
||||
bool exitUponCrash;
|
||||
const char* reportFile;
|
||||
size_t dynFileIterExpire;
|
||||
bool only_printable;
|
||||
bool minimize;
|
||||
bool switchingToFDM;
|
||||
} cfg;
|
||||
struct {
|
||||
bool enable;
|
||||
bool del_report;
|
||||
} sanitizer;
|
||||
struct {
|
||||
fuzzState_t state;
|
||||
feedback_t* covFeedbackMap;
|
||||
int covFeedbackFd;
|
||||
cmpfeedback_t* cmpFeedbackMap;
|
||||
int cmpFeedbackFd;
|
||||
bool cmpFeedback;
|
||||
const char* blacklistFile;
|
||||
uint64_t* blacklist;
|
||||
size_t blacklistCnt;
|
||||
bool skipFeedbackOnTimeout;
|
||||
uint64_t maxCov[4];
|
||||
dynFileMethod_t dynFileMethod;
|
||||
hwcnt_t hwCnts;
|
||||
} feedback;
|
||||
struct {
|
||||
size_t mutationsCnt;
|
||||
size_t crashesCnt;
|
||||
size_t uniqueCrashesCnt;
|
||||
size_t verifiedCrashesCnt;
|
||||
size_t blCrashesCnt;
|
||||
size_t timeoutedCnt;
|
||||
} cnts;
|
||||
struct {
|
||||
bool enabled;
|
||||
int serverSocket;
|
||||
int clientSocket;
|
||||
} socketFuzzer;
|
||||
struct {
|
||||
pthread_rwlock_t dynfileq;
|
||||
pthread_mutex_t feedback;
|
||||
pthread_mutex_t report;
|
||||
pthread_mutex_t state;
|
||||
pthread_mutex_t input;
|
||||
pthread_mutex_t timing;
|
||||
} mutex;
|
||||
|
||||
/* For the Linux code */
|
||||
struct {
|
||||
int exeFd;
|
||||
uint64_t dynamicCutOffAddr;
|
||||
bool disableRandomization;
|
||||
void* ignoreAddr;
|
||||
const char* symsBlFile;
|
||||
char** symsBl;
|
||||
size_t symsBlCnt;
|
||||
const char* symsWlFile;
|
||||
char** symsWl;
|
||||
size_t symsWlCnt;
|
||||
uintptr_t cloneFlags;
|
||||
tristate_t useNetNs;
|
||||
bool kernelOnly;
|
||||
bool useClone;
|
||||
} arch_linux;
|
||||
/* For the NetBSD code */
|
||||
struct {
|
||||
void* ignoreAddr;
|
||||
const char* symsBlFile;
|
||||
char** symsBl;
|
||||
size_t symsBlCnt;
|
||||
const char* symsWlFile;
|
||||
char** symsWl;
|
||||
size_t symsWlCnt;
|
||||
} arch_netbsd;
|
||||
} honggfuzz_t;
|
||||
|
||||
typedef enum {
|
||||
_HF_RS_UNKNOWN = 0,
|
||||
_HF_RS_WAITING_FOR_INITIAL_READY = 1,
|
||||
_HF_RS_WAITING_FOR_READY = 2,
|
||||
_HF_RS_SEND_DATA = 3,
|
||||
} runState_t;
|
||||
|
||||
typedef struct {
|
||||
honggfuzz_t* global;
|
||||
pid_t pid;
|
||||
int64_t timeStartedUSecs;
|
||||
char crashFileName[PATH_MAX];
|
||||
uint64_t pc;
|
||||
uint64_t backtrace;
|
||||
uint64_t access;
|
||||
int exception;
|
||||
char report[_HF_REPORT_SIZE];
|
||||
bool mainWorker;
|
||||
unsigned mutationsPerRun;
|
||||
dynfile_t* dynfile;
|
||||
bool staticFileTryMore;
|
||||
uint32_t fuzzNo;
|
||||
int persistentSock;
|
||||
runState_t runState;
|
||||
bool tmOutSignaled;
|
||||
char* args[_HF_ARGS_MAX + 1];
|
||||
int perThreadCovFeedbackFd;
|
||||
unsigned triesLeft;
|
||||
dynfile_t* current;
|
||||
#if !defined(_HF_ARCH_DARWIN)
|
||||
timer_t timerId;
|
||||
#endif // !defined(_HF_ARCH_DARWIN)
|
||||
hwcnt_t hwCnts;
|
||||
|
||||
struct {
|
||||
/* For Linux code */
|
||||
uint8_t* perfMmapBuf;
|
||||
uint8_t* perfMmapAux;
|
||||
int cpuInstrFd;
|
||||
int cpuBranchFd;
|
||||
int cpuIptBtsFd;
|
||||
} arch_linux;
|
||||
} run_t;
|
||||
|
||||
#endif
|
106
custom_mutators/honggfuzz/input.h
Normal file
106
custom_mutators/honggfuzz/input.h
Normal file
@ -0,0 +1,106 @@
|
||||
#ifndef _HG_INPUT_
|
||||
#define _HG_INPUT_
|
||||
|
||||
#include <stdarg.h>
|
||||
#ifdef __clang__
|
||||
#include <stdatomic.h>
|
||||
#endif
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "honggfuzz.h"
|
||||
#include "afl-fuzz.h"
|
||||
|
||||
/*
|
||||
* Go-style defer scoped implementation
|
||||
*
|
||||
* If compiled with clang, use: -fblocks -lBlocksRuntime
|
||||
*
|
||||
* Example of use:
|
||||
*
|
||||
* {
|
||||
* int fd = open(fname, O_RDONLY);
|
||||
* if (fd == -1) {
|
||||
* error(....);
|
||||
* return;
|
||||
* }
|
||||
* defer { close(fd); };
|
||||
* ssize_t sz = read(fd, buf, sizeof(buf));
|
||||
* ...
|
||||
* ...
|
||||
* }
|
||||
*
|
||||
*/
|
||||
|
||||
#define __STRMERGE(a, b) a##b
|
||||
#define _STRMERGE(a, b) __STRMERGE(a, b)
|
||||
#ifdef __clang__
|
||||
#if __has_extension(blocks)
|
||||
static void __attribute__((unused)) __clang_cleanup_func(void (^*dfunc)(void)) {
|
||||
(*dfunc)();
|
||||
}
|
||||
|
||||
#define defer \
|
||||
void (^_STRMERGE(__defer_f_, __COUNTER__))(void) \
|
||||
__attribute__((cleanup(__clang_cleanup_func))) __attribute__((unused)) = ^
|
||||
|
||||
#else /* __has_extension(blocks) */
|
||||
#define defer UNIMPLEMENTED - NO - SUPPORT - FOR - BLOCKS - IN - YOUR - CLANG - ENABLED
|
||||
#endif /* __has_extension(blocks) */
|
||||
#else /* !__clang__, e.g.: gcc */
|
||||
|
||||
#define __block
|
||||
#define _DEFER(a, count) \
|
||||
auto void _STRMERGE(__defer_f_, count)(void* _defer_arg __attribute__((unused))); \
|
||||
int _STRMERGE(__defer_var_, count) __attribute__((cleanup(_STRMERGE(__defer_f_, count)))) \
|
||||
__attribute__((unused)); \
|
||||
void _STRMERGE(__defer_f_, count)(void* _defer_arg __attribute__((unused)))
|
||||
#define defer _DEFER(a, __COUNTER__)
|
||||
#endif /* ifdef __clang__ */
|
||||
|
||||
#define HF_MIN(x, y) (x <= y ? x : y)
|
||||
#define HF_MAX(x, y) (x >= y ? x : y)
|
||||
#define ATOMIC_GET
|
||||
#define ARRAYSIZE(x) (sizeof(x) / sizeof(*x))
|
||||
#define HF_ATTR_UNUSED __attribute__((unused))
|
||||
#define util_Malloc(x) malloc(x)
|
||||
|
||||
extern uint8_t * queue_input;
|
||||
extern size_t queue_input_size;
|
||||
extern afl_state_t * afl_struct;
|
||||
|
||||
inline void wmb() { }
|
||||
inline void LOG_F(const char *format, ...) { }
|
||||
static inline uint64_t util_rndGet(uint64_t min, uint64_t max) {
|
||||
return min + rand_below(afl_struct, max - min + 1);
|
||||
}
|
||||
static inline uint64_t util_rnd64() { return rand_below(afl_struct, 1 << 30); }
|
||||
|
||||
static inline size_t input_getRandomInputAsBuf(run_t *run, const uint8_t **buf) {
|
||||
*buf = queue_input;
|
||||
run->dynfile->data = queue_input;
|
||||
run->dynfile->size = queue_input_size;
|
||||
return queue_input_size;
|
||||
}
|
||||
static inline void input_setSize(run_t* run, size_t sz) {
|
||||
run->dynfile->size = sz;
|
||||
}
|
||||
static inline void util_turnToPrintable(uint8_t* buf, size_t sz) {
|
||||
for (size_t i = 0; i < sz; i++)
|
||||
buf[i] = buf[i] % 95 + 32;
|
||||
}
|
||||
static inline void util_rndBuf(uint8_t* buf, size_t sz) {
|
||||
if (sz == 0) return;
|
||||
for (size_t i = 0; i < sz; i++)
|
||||
buf[i] = (uint8_t)rand_below(afl_struct, 256);
|
||||
}
|
||||
static inline uint8_t util_rndPrintable() {
|
||||
return 32 + rand_below(afl_struct, 127 - 32);
|
||||
}
|
||||
static inline void util_rndBufPrintable(uint8_t* buf, size_t sz) {
|
||||
for (size_t i = 0; i < sz; i++)
|
||||
buf[i] = util_rndPrintable();
|
||||
}
|
||||
|
||||
#endif
|
1
custom_mutators/honggfuzz/libhfcommon
Symbolic link
1
custom_mutators/honggfuzz/libhfcommon
Symbolic link
@ -0,0 +1 @@
|
||||
.
|
1
custom_mutators/honggfuzz/log.h
Symbolic link
1
custom_mutators/honggfuzz/log.h
Symbolic link
@ -0,0 +1 @@
|
||||
common.h
|
1037
custom_mutators/honggfuzz/mangle.c
Normal file
1037
custom_mutators/honggfuzz/mangle.c
Normal file
File diff suppressed because it is too large
Load Diff
31
custom_mutators/honggfuzz/mangle.h
Normal file
31
custom_mutators/honggfuzz/mangle.h
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
*
|
||||
* honggfuzz - buffer mangling routines
|
||||
* -----------------------------------------
|
||||
*
|
||||
* Author: Robert Swiecki <swiecki@google.com>
|
||||
*
|
||||
* Copyright 2010-2018 by Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License. You may obtain
|
||||
* a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _HF_MANGLE_H_
|
||||
#define _HF_MANGLE_H_
|
||||
|
||||
#include "honggfuzz.h"
|
||||
|
||||
extern void mangle_mangleContent(run_t* run, int speed_factor);
|
||||
|
||||
#endif
|
1
custom_mutators/honggfuzz/util.h
Symbolic link
1
custom_mutators/honggfuzz/util.h
Symbolic link
@ -0,0 +1 @@
|
||||
common.h
|
30
custom_mutators/radamsa/GNUmakefile
Normal file
30
custom_mutators/radamsa/GNUmakefile
Normal file
@ -0,0 +1,30 @@
|
||||
CUR_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||
|
||||
all: radamsa-mutator.so
|
||||
|
||||
# These can be overriden:
|
||||
CFLAGS ?= $(CFLAGS_FLTO)
|
||||
|
||||
# These are required: (otherwise radamsa gets very very slooooow)
|
||||
CFLAGS += -O3 -funroll-loops
|
||||
|
||||
#libradamsa.so: libradamsa.a
|
||||
# $(CC) $(CFLAGS) -shared libradamsa.a -o libradamsa.so
|
||||
|
||||
libradamsa.a: libradamsa.c radamsa.h
|
||||
@echo " ***************************************************************"
|
||||
@echo " * Compiling libradamsa, wait some minutes (~3 on modern CPUs) *"
|
||||
@echo " ***************************************************************"
|
||||
$(CC) -fPIC $(CFLAGS) $(CPPFLAGS) -I $(CUR_DIR) -o libradamsa.a -c libradamsa.c
|
||||
|
||||
radamsa-mutator.so: radamsa-mutator.c libradamsa.a
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -g -I. -I../../include -shared -fPIC -c radamsa-mutator.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -shared -fPIC -o radamsa-mutator.so radamsa-mutator.o libradamsa.a
|
||||
|
||||
test: libradamsa.a libradamsa-test.c
|
||||
$(CC) $(CFLAGS) $(CPPFLAGS) -I $(CUR_DIR) -o libradamsa-test libradamsa-test.c libradamsa.a
|
||||
./libradamsa-test libradamsa-test.c | grep "library test passed"
|
||||
rm /tmp/libradamsa-*.fuzz
|
||||
|
||||
clean:
|
||||
rm -f radamsa-mutator.so libradamsa.a libradamsa-test *.o *~ core
|
@ -1,4 +1,4 @@
|
||||
# libradamsa
|
||||
# custum mutator: libradamsa
|
||||
|
||||
Pretranslated radamsa library. This code belongs to the radamsa author.
|
||||
|
342
custom_mutators/radamsa/custom_mutator_helpers.h
Normal file
342
custom_mutators/radamsa/custom_mutator_helpers.h
Normal file
@ -0,0 +1,342 @@
|
||||
#ifndef CUSTOM_MUTATOR_HELPERS
|
||||
#define CUSTOM_MUTATOR_HELPERS
|
||||
|
||||
#include "config.h"
|
||||
#include "types.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#define INITIAL_GROWTH_SIZE (64)
|
||||
|
||||
#define RAND_BELOW(limit) (rand() % (limit))
|
||||
|
||||
/* Use in a struct: creates a name_buf and a name_size variable. */
|
||||
#define BUF_VAR(type, name) \
|
||||
type * name##_buf; \
|
||||
size_t name##_size;
|
||||
/* this filles in `&structptr->something_buf, &structptr->something_size`. */
|
||||
#define BUF_PARAMS(struct, name) \
|
||||
(void **)&struct->name##_buf, &struct->name##_size
|
||||
|
||||
typedef struct {
|
||||
|
||||
} afl_t;
|
||||
|
||||
static void surgical_havoc_mutate(u8 *out_buf, s32 begin, s32 end) {
|
||||
|
||||
static s8 interesting_8[] = {INTERESTING_8};
|
||||
static s16 interesting_16[] = {INTERESTING_8, INTERESTING_16};
|
||||
static s32 interesting_32[] = {INTERESTING_8, INTERESTING_16, INTERESTING_32};
|
||||
|
||||
switch (RAND_BELOW(12)) {
|
||||
|
||||
case 0: {
|
||||
|
||||
/* Flip a single bit somewhere. Spooky! */
|
||||
|
||||
s32 bit_idx = ((RAND_BELOW(end - begin) + begin) << 3) + RAND_BELOW(8);
|
||||
|
||||
out_buf[bit_idx >> 3] ^= 128 >> (bit_idx & 7);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 1: {
|
||||
|
||||
/* Set byte to interesting value. */
|
||||
|
||||
u8 val = interesting_8[RAND_BELOW(sizeof(interesting_8))];
|
||||
out_buf[(RAND_BELOW(end - begin) + begin)] = val;
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 2: {
|
||||
|
||||
/* Set word to interesting value, randomly choosing endian. */
|
||||
|
||||
if (end - begin < 2) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 1) break;
|
||||
|
||||
switch (RAND_BELOW(2)) {
|
||||
|
||||
case 0:
|
||||
*(u16 *)(out_buf + byte_idx) =
|
||||
interesting_16[RAND_BELOW(sizeof(interesting_16) >> 1)];
|
||||
break;
|
||||
case 1:
|
||||
*(u16 *)(out_buf + byte_idx) =
|
||||
SWAP16(interesting_16[RAND_BELOW(sizeof(interesting_16) >> 1)]);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 3: {
|
||||
|
||||
/* Set dword to interesting value, randomly choosing endian. */
|
||||
|
||||
if (end - begin < 4) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 3) break;
|
||||
|
||||
switch (RAND_BELOW(2)) {
|
||||
|
||||
case 0:
|
||||
*(u32 *)(out_buf + byte_idx) =
|
||||
interesting_32[RAND_BELOW(sizeof(interesting_32) >> 2)];
|
||||
break;
|
||||
case 1:
|
||||
*(u32 *)(out_buf + byte_idx) =
|
||||
SWAP32(interesting_32[RAND_BELOW(sizeof(interesting_32) >> 2)]);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 4: {
|
||||
|
||||
/* Set qword to interesting value, randomly choosing endian. */
|
||||
|
||||
if (end - begin < 8) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 7) break;
|
||||
|
||||
switch (RAND_BELOW(2)) {
|
||||
|
||||
case 0:
|
||||
*(u64 *)(out_buf + byte_idx) =
|
||||
(s64)interesting_32[RAND_BELOW(sizeof(interesting_32) >> 2)];
|
||||
break;
|
||||
case 1:
|
||||
*(u64 *)(out_buf + byte_idx) = SWAP64(
|
||||
(s64)interesting_32[RAND_BELOW(sizeof(interesting_32) >> 2)]);
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 5: {
|
||||
|
||||
/* Randomly subtract from byte. */
|
||||
|
||||
out_buf[(RAND_BELOW(end - begin) + begin)] -= 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 6: {
|
||||
|
||||
/* Randomly add to byte. */
|
||||
|
||||
out_buf[(RAND_BELOW(end - begin) + begin)] += 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 7: {
|
||||
|
||||
/* Randomly subtract from word, random endian. */
|
||||
|
||||
if (end - begin < 2) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 1) break;
|
||||
|
||||
if (RAND_BELOW(2)) {
|
||||
|
||||
*(u16 *)(out_buf + byte_idx) -= 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
} else {
|
||||
|
||||
u16 num = 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
*(u16 *)(out_buf + byte_idx) =
|
||||
SWAP16(SWAP16(*(u16 *)(out_buf + byte_idx)) - num);
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 8: {
|
||||
|
||||
/* Randomly add to word, random endian. */
|
||||
|
||||
if (end - begin < 2) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 1) break;
|
||||
|
||||
if (RAND_BELOW(2)) {
|
||||
|
||||
*(u16 *)(out_buf + byte_idx) += 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
} else {
|
||||
|
||||
u16 num = 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
*(u16 *)(out_buf + byte_idx) =
|
||||
SWAP16(SWAP16(*(u16 *)(out_buf + byte_idx)) + num);
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 9: {
|
||||
|
||||
/* Randomly subtract from dword, random endian. */
|
||||
|
||||
if (end - begin < 4) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 3) break;
|
||||
|
||||
if (RAND_BELOW(2)) {
|
||||
|
||||
*(u32 *)(out_buf + byte_idx) -= 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
} else {
|
||||
|
||||
u32 num = 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
*(u32 *)(out_buf + byte_idx) =
|
||||
SWAP32(SWAP32(*(u32 *)(out_buf + byte_idx)) - num);
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 10: {
|
||||
|
||||
/* Randomly add to dword, random endian. */
|
||||
|
||||
if (end - begin < 4) break;
|
||||
|
||||
s32 byte_idx = (RAND_BELOW(end - begin) + begin);
|
||||
|
||||
if (byte_idx >= end - 3) break;
|
||||
|
||||
if (RAND_BELOW(2)) {
|
||||
|
||||
*(u32 *)(out_buf + byte_idx) += 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
} else {
|
||||
|
||||
u32 num = 1 + RAND_BELOW(ARITH_MAX);
|
||||
|
||||
*(u32 *)(out_buf + byte_idx) =
|
||||
SWAP32(SWAP32(*(u32 *)(out_buf + byte_idx)) + num);
|
||||
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
case 11: {
|
||||
|
||||
/* Just set a random byte to a random value. Because,
|
||||
why not. We use XOR with 1-255 to eliminate the
|
||||
possibility of a no-op. */
|
||||
|
||||
out_buf[(RAND_BELOW(end - begin) + begin)] ^= 1 + RAND_BELOW(255);
|
||||
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* This function calculates the next power of 2 greater or equal its argument.
|
||||
@return The rounded up power of 2 (if no overflow) or 0 on overflow.
|
||||
*/
|
||||
static inline size_t next_pow2(size_t in) {
|
||||
|
||||
if (in == 0 || in > (size_t)-1)
|
||||
return 0; /* avoid undefined behaviour under-/overflow */
|
||||
size_t out = in - 1;
|
||||
out |= out >> 1;
|
||||
out |= out >> 2;
|
||||
out |= out >> 4;
|
||||
out |= out >> 8;
|
||||
out |= out >> 16;
|
||||
return out + 1;
|
||||
|
||||
}
|
||||
|
||||
/* This function makes sure *size is > size_needed after call.
|
||||
It will realloc *buf otherwise.
|
||||
*size will grow exponentially as per:
|
||||
https://blog.mozilla.org/nnethercote/2014/11/04/please-grow-your-buffers-exponentially/
|
||||
Will return NULL and free *buf if size_needed is <1 or realloc failed.
|
||||
@return For convenience, this function returns *buf.
|
||||
*/
|
||||
static inline void *maybe_grow(void **buf, size_t *size, size_t size_needed) {
|
||||
|
||||
/* No need to realloc */
|
||||
if (likely(size_needed && *size >= size_needed)) return *buf;
|
||||
|
||||
/* No initial size was set */
|
||||
if (size_needed < INITIAL_GROWTH_SIZE) size_needed = INITIAL_GROWTH_SIZE;
|
||||
|
||||
/* grow exponentially */
|
||||
size_t next_size = next_pow2(size_needed);
|
||||
|
||||
/* handle overflow */
|
||||
if (!next_size) { next_size = size_needed; }
|
||||
|
||||
/* alloc */
|
||||
*buf = realloc(*buf, next_size);
|
||||
*size = *buf ? next_size : 0;
|
||||
|
||||
return *buf;
|
||||
|
||||
}
|
||||
|
||||
/* Swaps buf1 ptr and buf2 ptr, as well as their sizes */
|
||||
static inline void afl_swap_bufs(void **buf1, size_t *size1, void **buf2,
|
||||
size_t *size2) {
|
||||
|
||||
void * scratch_buf = *buf1;
|
||||
size_t scratch_size = *size1;
|
||||
*buf1 = *buf2;
|
||||
*size1 = *size2;
|
||||
*buf2 = scratch_buf;
|
||||
*size2 = scratch_size;
|
||||
|
||||
}
|
||||
|
||||
#undef INITIAL_GROWTH_SIZE
|
||||
|
||||
#endif
|
||||
|
81
custom_mutators/radamsa/libradamsa-test.c
Normal file
81
custom_mutators/radamsa/libradamsa-test.c
Normal file
@ -0,0 +1,81 @@
|
||||
#include <radamsa.h>
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
size_t filesize(char *filename) {
|
||||
|
||||
struct stat st;
|
||||
stat(filename, &st);
|
||||
return st.st_size;
|
||||
|
||||
}
|
||||
|
||||
#define BUFSIZE 1024 * 1024
|
||||
|
||||
void fail(char *why) {
|
||||
|
||||
printf("fail: %s\n", why);
|
||||
exit(1);
|
||||
|
||||
}
|
||||
|
||||
void write_output(char *data, size_t len, int num) {
|
||||
|
||||
char path[32];
|
||||
int fd;
|
||||
int wrote;
|
||||
sprintf(path, "/tmp/libradamsa-%d.fuzz", num);
|
||||
fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
|
||||
printf("Opened %s -> %d\n", path, fd);
|
||||
if (fd < 0) { fail("failed to open output file"); }
|
||||
wrote = write(fd, data, len);
|
||||
printf("wrote %d of %zu bytes\n", wrote, len);
|
||||
if (wrote != len) { fail("failed to write all of output at once"); }
|
||||
close(fd);
|
||||
printf("Wrote %zu bytes to %s\n", len, path);
|
||||
|
||||
}
|
||||
|
||||
int main(int nargs, char **argv) {
|
||||
|
||||
char * spath = argv[1];
|
||||
int fd = open(spath, O_RDONLY, 0);
|
||||
size_t len;
|
||||
char * input;
|
||||
char * output;
|
||||
int seed = 0;
|
||||
if (fd < 0) { fail("cannot open input file"); }
|
||||
len = filesize(spath);
|
||||
input = malloc(len);
|
||||
output = malloc(BUFSIZE);
|
||||
if (!input || !output) { fail("failed to allocate buffers\n"); }
|
||||
radamsa_init();
|
||||
if (len != read(fd, input, len)) {
|
||||
|
||||
fail("failed to read the entire sample at once");
|
||||
|
||||
}
|
||||
|
||||
while (seed++ < 100) {
|
||||
|
||||
size_t n;
|
||||
n = radamsa((uint8_t *)input, len, (uint8_t *)output, BUFSIZE, seed);
|
||||
write_output(output, n, seed);
|
||||
printf("Fuzzed %zu -> %zu bytes\n", len, n);
|
||||
|
||||
}
|
||||
|
||||
printf("library test passed\n");
|
||||
free(output);
|
||||
free(input);
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
61880
custom_mutators/radamsa/libradamsa.c
Normal file
61880
custom_mutators/radamsa/libradamsa.c
Normal file
File diff suppressed because it is too large
Load Diff
70
custom_mutators/radamsa/radamsa-mutator.c
Normal file
70
custom_mutators/radamsa/radamsa-mutator.c
Normal file
@ -0,0 +1,70 @@
|
||||
// This simple example just creates random buffer <= 100 filled with 'A'
|
||||
// needs -I /path/to/AFLplusplus/include
|
||||
//#include "custom_mutator_helpers.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "radamsa.h"
|
||||
#include "custom_mutator_helpers.h"
|
||||
|
||||
typedef struct my_mutator {
|
||||
|
||||
afl_t *afl;
|
||||
|
||||
u8 *mutator_buf;
|
||||
|
||||
unsigned int seed;
|
||||
|
||||
} my_mutator_t;
|
||||
|
||||
my_mutator_t *afl_custom_init(afl_t *afl, unsigned int seed) {
|
||||
|
||||
srand(seed);
|
||||
my_mutator_t *data = calloc(1, sizeof(my_mutator_t));
|
||||
if (!data) {
|
||||
|
||||
perror("afl_custom_init alloc");
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
if ((data->mutator_buf = malloc(MAX_FILE)) == NULL) {
|
||||
|
||||
perror("mutator_buf alloc");
|
||||
return NULL;
|
||||
|
||||
}
|
||||
|
||||
data->afl = afl;
|
||||
data->seed = seed;
|
||||
|
||||
radamsa_init();
|
||||
|
||||
return data;
|
||||
|
||||
}
|
||||
|
||||
size_t afl_custom_fuzz(my_mutator_t *data, uint8_t *buf, size_t buf_size,
|
||||
u8 **out_buf, uint8_t *add_buf, size_t add_buf_size,
|
||||
size_t max_size) {
|
||||
|
||||
*out_buf = data->mutator_buf;
|
||||
return radamsa(buf, buf_size, data->mutator_buf, max_size, data->seed++);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Deinitialize everything
|
||||
*
|
||||
* @param data The data ptr from afl_custom_init
|
||||
*/
|
||||
void afl_custom_deinit(my_mutator_t *data) {
|
||||
|
||||
free(data->mutator_buf);
|
||||
free(data);
|
||||
|
||||
}
|
||||
|
10
custom_mutators/radamsa/radamsa.h
Normal file
10
custom_mutators/radamsa/radamsa.h
Normal file
@ -0,0 +1,10 @@
|
||||
#include <inttypes.h>
|
||||
#include <stddef.h>
|
||||
|
||||
void radamsa_init(void);
|
||||
|
||||
size_t radamsa(uint8_t *ptr, size_t len, uint8_t *target, size_t max,
|
||||
unsigned int seed);
|
||||
|
||||
size_t radamsa_inplace(uint8_t *ptr, size_t len, size_t max, unsigned int seed);
|
||||
|
@ -8,6 +8,9 @@ grammar of some of the more verbose data formats or languages. The basic
|
||||
principle behind the operation of fuzzer dictionaries is outlined in section 10
|
||||
of the "main" README.md for the project.
|
||||
|
||||
These sets were done by Michal Zalewski, various contributors, and imported
|
||||
from oss-fuzz, go-fuzz and libfuzzer.
|
||||
|
||||
Custom dictionaries can be added at will. They should consist of a
|
||||
reasonably-sized set of rudimentary syntax units that the fuzzer will then try
|
||||
to clobber together in various ways. Snippets between 2 and 16 bytes are
|
||||
|
73
dictionaries/aff.dict
Normal file
73
dictionaries/aff.dict
Normal file
@ -0,0 +1,73 @@
|
||||
# https://www.systutorials.com/docs/linux/man/4-hunspell/
|
||||
|
||||
# Affix keywords
|
||||
"AF"
|
||||
"AM"
|
||||
"BREAK"
|
||||
"CHECKCOMPOUNDCASE"
|
||||
"CHECKCOMPOUNDDUP"
|
||||
"CHECKCOMPOUNDPATTERN"
|
||||
"CHECKCOMPOUNDREP"
|
||||
"CHECKCOMPOUNDTRIPLE"
|
||||
"COMPLEXPREFIXES"
|
||||
"COMPOUNDBEGIN"
|
||||
"COMPOUNDFLAG"
|
||||
"COMPOUNDFORBIDFLAG"
|
||||
"COMPOUNDLAST"
|
||||
"COMPOUNDMIDDLE"
|
||||
"COMPOUNDMIN"
|
||||
"COMPOUNDPERMITFLAG"
|
||||
"COMPOUNDROOT"
|
||||
"COMPOUNDRULE"
|
||||
"COMPOUNDSYLLABLE"
|
||||
"COMPOUNDWORDMAX"
|
||||
"FLAG"
|
||||
"FORBIDWARN"
|
||||
"FORCEUCASE"
|
||||
"IGNORE"
|
||||
"KEY"
|
||||
"LANG"
|
||||
"MAP"
|
||||
"MAXCODSUGS"
|
||||
"MAXDIFF"
|
||||
"MAXNGRAMSUGS"
|
||||
"NOSPLITSUGS"
|
||||
"NOSUGGEST"
|
||||
"ONLYINCOMPOUND"
|
||||
"ONLYMAXDIFF"
|
||||
"PFX"
|
||||
"PHONE"
|
||||
"REP"
|
||||
"SET"
|
||||
"SFX"
|
||||
"SIMPLIFIEDTRIPLE"
|
||||
"SUGWITHDOTS"
|
||||
"SYLLABLENUM"
|
||||
"TRY"
|
||||
"WARN"
|
||||
"CIRCUMFIX"
|
||||
"FORBIDDENWORD"
|
||||
"FULLSTRIP"
|
||||
"KEEPCASE"
|
||||
"ICONV"
|
||||
"OCONV"
|
||||
"LEMMA_PRESENT"
|
||||
"NEEDAFFIX"
|
||||
"PSEUDOROOT"
|
||||
"SUBSTANDARD"
|
||||
"WORDCHARS"
|
||||
"CHECKSHARPS"
|
||||
|
||||
# Optional data fields
|
||||
"ph:"
|
||||
"st:"
|
||||
"al:"
|
||||
"po:"
|
||||
"ds:"
|
||||
"is:"
|
||||
"ts:"
|
||||
"sp:"
|
||||
"pa:"
|
||||
"dp:"
|
||||
"ip:"
|
||||
"tp:"
|
112
dictionaries/ass.dict
Normal file
112
dictionaries/ass.dict
Normal file
@ -0,0 +1,112 @@
|
||||
"0x"
|
||||
"\\1a"
|
||||
"\\2a"
|
||||
"\\2c"
|
||||
"\\3a"
|
||||
"\\3c"
|
||||
"\\4a"
|
||||
"\\4c"
|
||||
"\\a"
|
||||
"\\alpha"
|
||||
"\\an"
|
||||
"Arial"
|
||||
"\\b"
|
||||
"Banner;"
|
||||
"\\be"
|
||||
"\\blur"
|
||||
"\\bord"
|
||||
"\\c"
|
||||
"CFF"
|
||||
"CID Type 1"
|
||||
"\\clip"
|
||||
"clip"
|
||||
"Courier"
|
||||
"Courier New"
|
||||
"Default"
|
||||
"Dialogue:"
|
||||
"[Events]"
|
||||
"\\fade"
|
||||
"\\fax"
|
||||
"\\fay"
|
||||
"\\fe"
|
||||
"\\fn"
|
||||
"fontname:"
|
||||
"[Fonts]"
|
||||
"Format:"
|
||||
"\\frx"
|
||||
"\\fry"
|
||||
"\\frz"
|
||||
"\\fs"
|
||||
"\\fsc"
|
||||
"\\fscx"
|
||||
"\\fscy"
|
||||
"\\fsp"
|
||||
"&h"
|
||||
"Helvetica"
|
||||
"\\i"
|
||||
"\\iclip"
|
||||
"iclip"
|
||||
"\\k"
|
||||
"Kerning:"
|
||||
"Kerning"
|
||||
"\\kf"
|
||||
"\\ko"
|
||||
"Language:"
|
||||
"monospace"
|
||||
"\\move"
|
||||
"move"
|
||||
"none"
|
||||
"\\org"
|
||||
"org"
|
||||
"OverrideStyle"
|
||||
"\\p"
|
||||
"p"
|
||||
"\\pbo"
|
||||
"pbo"
|
||||
"pc.240m"
|
||||
"pc.601"
|
||||
"pc.709"
|
||||
"pc.fcc"
|
||||
"PlayResX:"
|
||||
"PlayResX"
|
||||
"PlayResY:"
|
||||
"PlayResY"
|
||||
"\\pos"
|
||||
"pos"
|
||||
"\\q"
|
||||
"\\r"
|
||||
"\\s"
|
||||
"sans-serif"
|
||||
"ScaledBorderAndShadow:"
|
||||
"ScaledBorderAndShadow"
|
||||
"[Script Info]"
|
||||
"Scroll down;"
|
||||
"Scroll up;"
|
||||
"serif"
|
||||
"\\shad"
|
||||
"Style:"
|
||||
"\\t"
|
||||
"Text"
|
||||
"Timer:"
|
||||
"Timer"
|
||||
"Times"
|
||||
"Times New Roman"
|
||||
"tv.240m"
|
||||
"tv.601"
|
||||
"tv.709"
|
||||
"tv.fcc"
|
||||
"Type 1"
|
||||
"Type 42"
|
||||
"\\u"
|
||||
"UTF-8"
|
||||
"[V4 Styles]"
|
||||
"[V4+ Styles]"
|
||||
"WrapStyle:"
|
||||
"WrapStyle"
|
||||
"\\xbord"
|
||||
"\\xshad"
|
||||
"\\ybord"
|
||||
"YCbCr Matrix:"
|
||||
"YCbCr Matrix"
|
||||
"yes"
|
||||
"\\yshad"
|
33
dictionaries/atom.dict
Normal file
33
dictionaries/atom.dict
Normal file
@ -0,0 +1,33 @@
|
||||
# https://validator.w3.org/feed/docs/atom.html
|
||||
# https://tools.ietf.org/html/rfc4287
|
||||
|
||||
"<?xml version='1.0' encoding='utf-8'?>"
|
||||
"<feed xmlns='http://www.w3.org/2005/Atom'>"
|
||||
|
||||
"<alternate>"
|
||||
"<author>"
|
||||
"<category>"
|
||||
"<content>"
|
||||
"<contributor>"
|
||||
"<email>"
|
||||
"<entry>"
|
||||
"<feed>"
|
||||
"<first>"
|
||||
"<generator>"
|
||||
"<icon>"
|
||||
"<id>"
|
||||
"<last>"
|
||||
"<link>"
|
||||
"<logo>"
|
||||
"<modified/>
|
||||
"<name>"
|
||||
"<next>"
|
||||
"<previous>"
|
||||
"<published>"
|
||||
"<rights>"
|
||||
"<source>"
|
||||
"<subtitle>"
|
||||
"<summary>"
|
||||
"<title>"
|
||||
"<updated>"
|
||||
"<uri>"
|
5
dictionaries/av1_dc.dict
Normal file
5
dictionaries/av1_dc.dict
Normal file
@ -0,0 +1,5 @@
|
||||
# IVF Signature + version (bytes 0-5)
|
||||
kw1="DKIF\x00\x00"
|
||||
|
||||
# AV1 codec fourCC (bytes 8-11)
|
||||
kw2="AV01"
|
152
dictionaries/bash.dict
Normal file
152
dictionaries/bash.dict
Normal file
@ -0,0 +1,152 @@
|
||||
# Keywords taken from
|
||||
# - https://www.gnu.org/software/bash/manual/html_node/Bash-Variables.html
|
||||
# - https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Builtins.html
|
||||
# - https://www.gnu.org/software/bash/manual/html_node/Bourne-Shell-Variables.html
|
||||
# - https://www.gnu.org/software/bash/manual/html_node/Reserved-Word-Index.html
|
||||
|
||||
"!"
|
||||
"."
|
||||
":"
|
||||
"["
|
||||
"[["
|
||||
"]]"
|
||||
"{"
|
||||
"}"
|
||||
"BASH"
|
||||
"BASH_ALIASES"
|
||||
"BASH_ARGC"
|
||||
"BASH_ARGV"
|
||||
"BASH_ARGV0"
|
||||
"BASH_CMDS"
|
||||
"BASH_COMMAND"
|
||||
"BASH_COMPAT"
|
||||
"BASH_ENV"
|
||||
"BASH_EXECUTION_STRING"
|
||||
"BASH_LINENO"
|
||||
"BASH_LOADABLES_PATH"
|
||||
"BASHOPTS"
|
||||
"BASHPID"
|
||||
"BASH_REMATCH"
|
||||
"BASH_SOURCE"
|
||||
"BASH_SUBSHELL"
|
||||
"BASH_VERSINFO"
|
||||
"BASH_VERSION"
|
||||
"BASH_XTRACEFD"
|
||||
"break"
|
||||
"case"
|
||||
"cd"
|
||||
"CDPATH"
|
||||
"CHILD_MAX"
|
||||
"COLUMNS"
|
||||
"COMP_CWORD"
|
||||
"COMP_KEY"
|
||||
"COMP_LINE"
|
||||
"COMP_POINT"
|
||||
"COMPREPLY"
|
||||
"COMP_TYPE"
|
||||
"COMP_WORDBREAKS"
|
||||
"COMP_WORDS"
|
||||
"continue"
|
||||
"COPROC"
|
||||
"DIRSTACK"
|
||||
"do"
|
||||
"done"
|
||||
"elif"
|
||||
"else"
|
||||
"EMACS"
|
||||
"ENV"
|
||||
"EPOCHREALTIME"
|
||||
"EPOCHSECONDS"
|
||||
"esac"
|
||||
"EUID"
|
||||
"eval"
|
||||
"exec"
|
||||
"EXECIGNORE"
|
||||
"exit"
|
||||
"export"
|
||||
"FCEDIT"
|
||||
"fi"
|
||||
"FIGNORE"
|
||||
"for"
|
||||
"FUNCNAME"
|
||||
"FUNCNEST"
|
||||
"function"
|
||||
"getopts"
|
||||
"GLOBIGNORE"
|
||||
"GROUPS"
|
||||
"hash"
|
||||
"histchars"
|
||||
"HISTCMD"
|
||||
"HISTCONTROL"
|
||||
"HISTFILE"
|
||||
"HISTFILESIZE"
|
||||
"HISTIGNORE"
|
||||
"HISTSIZE"
|
||||
"HISTTIMEFORMAT"
|
||||
"HOME"
|
||||
"HOSTFILE"
|
||||
"HOSTNAME"
|
||||
"HOSTTYPE"
|
||||
"if"
|
||||
"IFS"
|
||||
"IGNOREEOF"
|
||||
"in"
|
||||
"INPUTRC"
|
||||
"INSIDE_EMACS"
|
||||
"LANG"
|
||||
"LC_ALL"
|
||||
"LC_COLLATE"
|
||||
"LC_CTYPE"
|
||||
"LC_MESSAGES"
|
||||
"LC_NUMERIC"
|
||||
"LC_TIME"
|
||||
"LINENO"
|
||||
"LINES"
|
||||
"MACHTYPE"
|
||||
"MAIL"
|
||||
"MAILCHECK"
|
||||
"MAILPATH"
|
||||
"MAPFILE"
|
||||
"OLDPWD"
|
||||
"OPTARG"
|
||||
"OPTERR"
|
||||
"OPTIND"
|
||||
"OSTYPE"
|
||||
"PATH"
|
||||
"PIPESTATUS"
|
||||
"POSIXLY_CORRECT"
|
||||
"PPID"
|
||||
"PROMPT_COMMAND"
|
||||
"PROMPT_DIRTRIM"
|
||||
"PS0"
|
||||
"PS1"
|
||||
"PS2"
|
||||
"PS3"
|
||||
"PS4"
|
||||
"pwd"
|
||||
"PWD"
|
||||
"RANDOM"
|
||||
"READLINE_LINE"
|
||||
"READLINE_POINT"
|
||||
"readonly"
|
||||
"REPLY"
|
||||
"return"
|
||||
"SECONDS"
|
||||
"select"
|
||||
"SHELL"
|
||||
"SHELLOPTS"
|
||||
"shift"
|
||||
"SHLVL"
|
||||
"test"
|
||||
"then"
|
||||
"time"
|
||||
"TIMEFORMAT"
|
||||
"times"
|
||||
"TMOUT"
|
||||
"TMPDIR"
|
||||
"trap"
|
||||
"UID"
|
||||
"umask"
|
||||
"unset"
|
||||
"until"
|
||||
"while"
|
30
dictionaries/bdf.dict
Normal file
30
dictionaries/bdf.dict
Normal file
@ -0,0 +1,30 @@
|
||||
# https://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format
|
||||
# https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5005.BDF_Spec.pdf
|
||||
|
||||
"STARTFONT"
|
||||
"COMMENT"
|
||||
"CONTENTVERSION"
|
||||
"FONT"
|
||||
"SIZE"
|
||||
"FONTBOUNDINGBOX"
|
||||
"METRICSSET"
|
||||
"SWIDTH"
|
||||
"DWIDTH"
|
||||
"SWIDTH1"
|
||||
"DWIDTH1"
|
||||
"VVECTOR"
|
||||
"STARTPROPERTIES"
|
||||
"ENDPROPERTIES"
|
||||
"CHARS"
|
||||
"STARTCHAR"
|
||||
"ENCODING"
|
||||
"BBX"
|
||||
"BITMAP"
|
||||
"ENDCHAR"
|
||||
"ENDFONT"
|
||||
|
||||
# misc
|
||||
"255"
|
||||
"-1"
|
||||
"0"
|
||||
"2.1"
|
10
dictionaries/bmp.dict
Normal file
10
dictionaries/bmp.dict
Normal file
@ -0,0 +1,10 @@
|
||||
windows="BM"
|
||||
os2_bitmap="BA"
|
||||
os2_icon="CI"
|
||||
os2_pointer="CP"
|
||||
os2_struct="IC"
|
||||
os2_ptr="PT"
|
||||
windows_color_space="Win "
|
||||
srgb="sRGB"
|
||||
link="LINK"
|
||||
mbed="MBED"
|
3
dictionaries/bz2.dict
Normal file
3
dictionaries/bz2.dict
Normal file
@ -0,0 +1,3 @@
|
||||
magic="BZ"
|
||||
compress_magic="\x31\x41\x59\x26\x53\x59"
|
||||
eos_magic="\x17\x72\x45\x38\x50\x90"
|
14
dictionaries/creole.dict
Normal file
14
dictionaries/creole.dict
Normal file
@ -0,0 +1,14 @@
|
||||
# http://www.wikicreole.org/wiki/Creole1.0
|
||||
|
||||
bold="**"
|
||||
italic="//"
|
||||
heading="=="
|
||||
link1="[[a|b]]"
|
||||
link2="[[a:b]]"
|
||||
hr="----"
|
||||
img=" {{a|b}}"
|
||||
table_heading="|=a |=b |"
|
||||
raw="{{{a}}}"
|
||||
escape="~"
|
||||
placeholder="<<<x>>>"
|
||||
line_break="\\\\"
|
354
dictionaries/css.dict
Normal file
354
dictionaries/css.dict
Normal file
@ -0,0 +1,354 @@
|
||||
# https://en.wikipedia.org/wiki/Cascading_Style_Sheets
|
||||
|
||||
# selectors
|
||||
"::after"
|
||||
"::before"
|
||||
"::first-letter"
|
||||
"::first-line"
|
||||
"::placeholder"
|
||||
"::selection"
|
||||
":active"
|
||||
":checked"
|
||||
":default"
|
||||
":disabled"
|
||||
":empty"
|
||||
":enabled"
|
||||
":first-child"
|
||||
":first-of-type"
|
||||
":focus"
|
||||
":hover"
|
||||
":in-range"
|
||||
":indeterminate"
|
||||
":invalid"
|
||||
":lang("
|
||||
":last-child"
|
||||
":last-of-type"
|
||||
":link"
|
||||
":not("
|
||||
":nth-child("
|
||||
":nth-last-child("
|
||||
":nth-last-of-type("
|
||||
":nth-of-type("
|
||||
":only-child"
|
||||
":only-of-type"
|
||||
":optional"
|
||||
":out-of-range"
|
||||
":read-only"
|
||||
":read-write"
|
||||
":required"
|
||||
":root"
|
||||
":target"
|
||||
":valid"
|
||||
":visited"
|
||||
|
||||
# units
|
||||
"ch"
|
||||
"cm"
|
||||
"em"
|
||||
"ex"
|
||||
"in"
|
||||
"mm"
|
||||
"pc"
|
||||
"pt"
|
||||
"px"
|
||||
"rem"
|
||||
"vh"
|
||||
"vmax"
|
||||
"vmin"
|
||||
"vw"
|
||||
|
||||
# functions
|
||||
"attr("
|
||||
"calc("
|
||||
"cubic-bezier("
|
||||
"hsl("
|
||||
"hsls("
|
||||
"linear-gradient("
|
||||
"radial-gradient("
|
||||
"repeating-linear-gradient("
|
||||
"repeating-radial-gradient("
|
||||
"rgb("
|
||||
"rgba("
|
||||
"var("
|
||||
|
||||
# prefixes
|
||||
"-moz"
|
||||
"-webkit"
|
||||
|
||||
# properties
|
||||
"@charset"
|
||||
"@font-face"
|
||||
"@font-feature-values"
|
||||
"@import"
|
||||
"@keyframes"
|
||||
"@media"
|
||||
"align-items"
|
||||
"align-self"
|
||||
"all"
|
||||
"animation"
|
||||
"animation-delay"
|
||||
"animation-direction"
|
||||
"animation-duration"
|
||||
"animation-fill-mode"
|
||||
"animation-iteration-count"
|
||||
"animation-name"
|
||||
"animation-play-state"
|
||||
"animation-timing-function"
|
||||
"backface-visibility"
|
||||
"background"
|
||||
"background-attachment"
|
||||
"background-blend-mode"
|
||||
"background-clip"
|
||||
"background-color"
|
||||
"background-image"
|
||||
"background-origin"
|
||||
"background-position"
|
||||
"background-repeat"
|
||||
"background-size"
|
||||
"border"
|
||||
"border-bottom"
|
||||
"border-bottom-color"
|
||||
"border-bottom-left-radius"
|
||||
"border-bottom-right-radius"
|
||||
"border-bottom-style"
|
||||
"border-bottom-width"
|
||||
"border-collapse"
|
||||
"border-color"
|
||||
"border-image"
|
||||
"border-image-outset"
|
||||
"border-image-repeat"
|
||||
"border-image-slice"
|
||||
"border-image-source"
|
||||
"border-image-width"
|
||||
"border-left"
|
||||
"border-left-color"
|
||||
"border-left-style"
|
||||
"border-left-width"
|
||||
"border-radius"
|
||||
"border-right"
|
||||
"border-right-color"
|
||||
"border-right-style"
|
||||
"border-right-width"
|
||||
"border-spacing"
|
||||
"border-style"
|
||||
"border-top"
|
||||
"border-top-color"
|
||||
"border-top-left-radius"
|
||||
"border-top-right-radius"
|
||||
"border-top-style"
|
||||
"border-top-width"
|
||||
"border-width"
|
||||
"bottom"
|
||||
"box-decoration-break"
|
||||
"box-shadow"
|
||||
"box-sizing"
|
||||
"break-after"
|
||||
"break-before"
|
||||
"break-inside"
|
||||
"caption-side"
|
||||
"caret-color"
|
||||
"clear"
|
||||
"clip"
|
||||
"color"
|
||||
"column-count"
|
||||
"column-fill"
|
||||
"column-gap"
|
||||
"column-rule"
|
||||
"column-rule-color"
|
||||
"column-rule-style"
|
||||
"column-rule-width"
|
||||
"column-span"
|
||||
"column-width"
|
||||
"columns"
|
||||
"content"
|
||||
"counter-increment"
|
||||
"counter-reset"
|
||||
"cursor"
|
||||
"direction"
|
||||
"display"
|
||||
"empty-cells"
|
||||
"filter"
|
||||
"flex"
|
||||
"flex-basis"
|
||||
"flex-direction"
|
||||
"flex-flow"
|
||||
"flex-grow"
|
||||
"flex-shrink"
|
||||
"flex-wrap"
|
||||
"float"
|
||||
"font"
|
||||
"font-family"
|
||||
"font-feature-settings"
|
||||
"font-kerning"
|
||||
"font-language-override"
|
||||
"font-size"
|
||||
"font-size-adjust"
|
||||
"font-stretch"
|
||||
"font-style"
|
||||
"font-synthesis"
|
||||
"font-variant"
|
||||
"font-variant-alternates"
|
||||
"font-variant-caps"
|
||||
"font-variant-east-asian"
|
||||
"font-variant-ligatures"
|
||||
"font-variant-numeric"
|
||||
"font-variant-position"
|
||||
"font-weight"
|
||||
"from"
|
||||
"grid"
|
||||
"grid-area"
|
||||
"grid-auto-columns"
|
||||
"grid-auto-flow"
|
||||
"grid-auto-rows"
|
||||
"grid-column"
|
||||
"grid-column-end"
|
||||
"grid-column-gap"
|
||||
"grid-column-start"
|
||||
"grid-gap"
|
||||
"grid-row"
|
||||
"grid-row-end"
|
||||
"grid-row-gap"
|
||||
"grid-row-start"
|
||||
"grid-template"
|
||||
"grid-template-areas"
|
||||
"grid-template-columns"
|
||||
"grid-template-rows"
|
||||
"hanging-punctuation"
|
||||
"height"
|
||||
"hyphens"
|
||||
"image-rendering"
|
||||
"isolation"
|
||||
"justify-content"
|
||||
"left"
|
||||
"letter-spacing"
|
||||
"line-break"
|
||||
"line-height"
|
||||
"list-style"
|
||||
"list-style-image"
|
||||
"list-style-position"
|
||||
"list-style-type"
|
||||
"margin"
|
||||
"margin-bottom"
|
||||
"margin-left"
|
||||
"margin-right"
|
||||
"margin-top"
|
||||
"max-height"
|
||||
"max-width"
|
||||
"min-height"
|
||||
"min-width"
|
||||
"mix-blend-mode"
|
||||
"object-fit"
|
||||
"object-position"
|
||||
"opacity"
|
||||
"order"
|
||||
"orphans"
|
||||
"outline"
|
||||
"outline-color"
|
||||
"outline-offset"
|
||||
"outline-style"
|
||||
"outline-width"
|
||||
"overflow"
|
||||
"overflow-wrap"
|
||||
"overflow-x"
|
||||
"overflow-y"
|
||||
"padding"
|
||||
"padding-bottom"
|
||||
"padding-left"
|
||||
"padding-right"
|
||||
"padding-top"
|
||||
"page-break-after"
|
||||
"page-break-before"
|
||||
"page-break-inside"
|
||||
"perspective"
|
||||
"perspective-origin"
|
||||
"pointer-events"
|
||||
"position"
|
||||
"quotes"
|
||||
"resize"
|
||||
"right"
|
||||
"scroll-behavior"
|
||||
"tab-size"
|
||||
"table-layout"
|
||||
"text-align"
|
||||
"text-align-last"
|
||||
"text-combine-upright"
|
||||
"text-decoration"
|
||||
"text-decoration-color"
|
||||
"text-decoration-line"
|
||||
"text-decoration-style"
|
||||
"text-indent"
|
||||
"text-justify"
|
||||
"text-orientation"
|
||||
"text-overflow"
|
||||
"text-shadow"
|
||||
"text-transform"
|
||||
"text-underline-position"
|
||||
"to"
|
||||
"top"
|
||||
"transform"
|
||||
"transform-origin"
|
||||
"transform-style"
|
||||
"transition"
|
||||
"transition-delay"
|
||||
"transition-duration"
|
||||
"transition-property"
|
||||
"transition-timing-function"
|
||||
"unicode-bidi"
|
||||
"user-select"
|
||||
"vertical-align"
|
||||
"visibility"
|
||||
"white-space"
|
||||
"widows"
|
||||
"width"
|
||||
"word-break"
|
||||
"word-spacing"
|
||||
"word-wrap"
|
||||
"writing-mode"
|
||||
"z-index"
|
||||
|
||||
|
||||
# aural - https://www.w3schools.com/cssref/css_ref_aural.asp
|
||||
"above"
|
||||
"azimuth"
|
||||
"below"
|
||||
"center"
|
||||
"code"
|
||||
"continuous"
|
||||
"cue"
|
||||
"cue-after"
|
||||
"cue-before"
|
||||
"elevation"
|
||||
"generic-voice"
|
||||
"left"
|
||||
"left-side"
|
||||
"leftwards"
|
||||
"lower"
|
||||
"medium"
|
||||
"mix"
|
||||
"none"
|
||||
"once"
|
||||
"pause"
|
||||
"pause-after"
|
||||
"pause-before"
|
||||
"pitch"
|
||||
"pitch-range"
|
||||
"play-during"
|
||||
"richness"
|
||||
"right"
|
||||
"right-side"
|
||||
"slower"
|
||||
"speak"
|
||||
"speak-header"
|
||||
"speak-numeral"
|
||||
"speak-punctuation"
|
||||
"speech-rate"
|
||||
"stress"
|
||||
"url"
|
||||
"voice-family"
|
||||
"volume"
|
||||
"x-fast"
|
||||
"x-high"
|
||||
"x-loud"
|
||||
"x-low"
|
||||
"x-slow"
|
||||
"x-soft"
|
6
dictionaries/csv.dict
Normal file
6
dictionaries/csv.dict
Normal file
@ -0,0 +1,6 @@
|
||||
"\x00"
|
||||
"\r\n"
|
||||
";;"
|
||||
",,"
|
||||
"\t;"
|
||||
"\n;"
|
35
dictionaries/dds.dict
Normal file
35
dictionaries/dds.dict
Normal file
@ -0,0 +1,35 @@
|
||||
# See http://www.mindcontrol.org/~hplus/graphics/dds-info/
|
||||
|
||||
magic="\x20\x53\x44\x44"
|
||||
|
||||
# Headers
|
||||
"\x00\x00\x00\x01"
|
||||
"\x00\x00\x00\x02"
|
||||
"\x00\x00\x00\x04"
|
||||
"\x00\x00\x00\x08"
|
||||
"\x00\x00\x10\x00"
|
||||
"\x00\x02\x00\x00"
|
||||
"\x00\x08\x00\x00"
|
||||
"\x00\x80\x00\x00"
|
||||
"\x00\x00\x00\x01"
|
||||
"\x00\x00\x00\x04"
|
||||
"\x00\x00\x00\x20"
|
||||
"\x00\x00\x00\x40"
|
||||
"\x00\x00\x00\x08"
|
||||
"\x00\x00\x10\x00"
|
||||
"\x00\x40\x00\x00"
|
||||
"\x00\x00\x02\x00"
|
||||
"\x00\x00\x04\x00"
|
||||
"\x00\x00\x08\x00"
|
||||
"\x00\x00\x10\x00"
|
||||
"\x00\x00\x20\x00"
|
||||
"\x00\x00\x40\x00"
|
||||
"\x00\x00\x80\x00"
|
||||
"\x00\x20\x00\x00"
|
||||
|
||||
#formats
|
||||
"1TXD"
|
||||
"2TXD"
|
||||
"3TXD"
|
||||
"4TXD"
|
||||
"5TXD"
|
34
dictionaries/djvu.dict
Normal file
34
dictionaries/djvu.dict
Normal file
@ -0,0 +1,34 @@
|
||||
"ANTa"
|
||||
"ANTz"
|
||||
"BG2k"
|
||||
"BG44"
|
||||
"BGjp"
|
||||
"BM44"
|
||||
"CELX"
|
||||
"DIRM"
|
||||
"DJVI"
|
||||
"DJVM"
|
||||
"DJVU"
|
||||
"Djbz"
|
||||
"FAKE"
|
||||
"FG2k"
|
||||
"FG44"
|
||||
"FGbz"
|
||||
"FGjp"
|
||||
"FORM"
|
||||
"INCL"
|
||||
"INFO"
|
||||
"LINK"
|
||||
"METa"
|
||||
"METz"
|
||||
"NAVM"
|
||||
"NDIR"
|
||||
"PM44"
|
||||
"SINF"
|
||||
"Sjbz"
|
||||
"Smmr"
|
||||
"TH44"
|
||||
"THUM"
|
||||
"TXTa"
|
||||
"TXTz"
|
||||
"WMRM"
|
688
dictionaries/docommand.dict
Normal file
688
dictionaries/docommand.dict
Normal file
@ -0,0 +1,688 @@
|
||||
#SELECT WORD FROM INFORMATION_SCHEMA.KEYWORDS;
|
||||
ACCESSIBLE="ACCESSIBLE"
|
||||
ACCOUNT="ACCOUNT"
|
||||
ACTION="ACTION"
|
||||
ACTIVE="ACTIVE"
|
||||
ADD="ADD"
|
||||
ADMIN="ADMIN"
|
||||
AFTER="AFTER"
|
||||
AGAINST="AGAINST"
|
||||
AGGREGATE="AGGREGATE"
|
||||
ALGORITHM="ALGORITHM"
|
||||
ALL="ALL"
|
||||
ALTER="ALTER"
|
||||
ALWAYS="ALWAYS"
|
||||
ANALYZE="ANALYZE"
|
||||
AND="AND"
|
||||
ANY="ANY"
|
||||
AS="AS"
|
||||
ASC="ASC"
|
||||
ASCII="ASCII"
|
||||
ASENSITIVE="ASENSITIVE"
|
||||
AT="AT"
|
||||
AUTOEXTEND_SIZE="AUTOEXTEND_SIZE"
|
||||
AUTO_INCREMENT="AUTO_INCREMENT"
|
||||
AVG="AVG"
|
||||
AVG_ROW_LENGTH="AVG_ROW_LENGTH"
|
||||
BACKUP="BACKUP"
|
||||
BEFORE="BEFORE"
|
||||
BEGIN="BEGIN"
|
||||
BETWEEN="BETWEEN"
|
||||
BIGINT="BIGINT"
|
||||
BINARY="BINARY"
|
||||
BINLOG="BINLOG"
|
||||
BIT="BIT"
|
||||
BLOB="BLOB"
|
||||
BLOCK="BLOCK"
|
||||
BOOL="BOOL"
|
||||
BOOLEAN="BOOLEAN"
|
||||
BOTH="BOTH"
|
||||
BTREE="BTREE"
|
||||
BUCKETS="BUCKETS"
|
||||
BY="BY"
|
||||
BYTE="BYTE"
|
||||
CACHE="CACHE"
|
||||
CALL="CALL"
|
||||
CASCADE="CASCADE"
|
||||
CASCADED="CASCADED"
|
||||
CASE="CASE"
|
||||
CATALOG_NAME="CATALOG_NAME"
|
||||
CHAIN="CHAIN"
|
||||
CHANGE="CHANGE"
|
||||
CHANGED="CHANGED"
|
||||
CHANNEL="CHANNEL"
|
||||
CHAR="CHAR"
|
||||
CHARACTER="CHARACTER"
|
||||
CHARSET="CHARSET"
|
||||
CHECK="CHECK"
|
||||
CHECKSUM="CHECKSUM"
|
||||
CIPHER="CIPHER"
|
||||
CLASS_ORIGIN="CLASS_ORIGIN"
|
||||
CLIENT="CLIENT"
|
||||
CLONE="CLONE"
|
||||
CLOSE="CLOSE"
|
||||
COALESCE="COALESCE"
|
||||
CODE="CODE"
|
||||
COLLATE="COLLATE"
|
||||
COLLATION="COLLATION"
|
||||
COLUMN="COLUMN"
|
||||
COLUMNS="COLUMNS"
|
||||
COLUMN_FORMAT="COLUMN_FORMAT"
|
||||
COLUMN_NAME="COLUMN_NAME"
|
||||
COMMENT="COMMENT"
|
||||
COMMIT="COMMIT"
|
||||
COMMITTED="COMMITTED"
|
||||
COMPACT="COMPACT"
|
||||
COMPLETION="COMPLETION"
|
||||
COMPONENT="COMPONENT"
|
||||
COMPRESSED="COMPRESSED"
|
||||
COMPRESSION="COMPRESSION"
|
||||
CONCURRENT="CONCURRENT"
|
||||
CONDITION="CONDITION"
|
||||
CONNECTION="CONNECTION"
|
||||
CONSISTENT="CONSISTENT"
|
||||
CONSTRAINT="CONSTRAINT"
|
||||
CONSTRAINT_CATALOG="CONSTRAINT_CATALOG"
|
||||
CONSTRAINT_NAME="CONSTRAINT_NAME"
|
||||
CONSTRAINT_SCHEMA="CONSTRAINT_SCHEMA"
|
||||
CONTAINS="CONTAINS"
|
||||
CONTEXT="CONTEXT"
|
||||
CONTINUE="CONTINUE"
|
||||
CONVERT="CONVERT"
|
||||
CPU="CPU"
|
||||
CREATE="CREATE"
|
||||
CROSS="CROSS"
|
||||
CUBE="CUBE"
|
||||
CUME_DIST="CUME_DIST"
|
||||
CURRENT="CURRENT"
|
||||
CURRENT_DATE="CURRENT_DATE"
|
||||
CURRENT_TIME="CURRENT_TIME"
|
||||
CURRENT_TIMESTAMP="CURRENT_TIMESTAMP"
|
||||
CURRENT_USER="CURRENT_USER"
|
||||
CURSOR="CURSOR"
|
||||
CURSOR_NAME="CURSOR_NAME"
|
||||
DATA="DATA"
|
||||
DATABASE="DATABASE"
|
||||
DATABASES="DATABASES"
|
||||
DATAFILE="DATAFILE"
|
||||
DATE="DATE"
|
||||
DATETIME="DATETIME"
|
||||
DAY="DAY"
|
||||
DAY_HOUR="DAY_HOUR"
|
||||
DAY_MICROSECOND="DAY_MICROSECOND"
|
||||
DAY_MINUTE="DAY_MINUTE"
|
||||
DAY_SECOND="DAY_SECOND"
|
||||
DEALLOCATE="DEALLOCATE"
|
||||
DEC="DEC"
|
||||
DECIMAL="DECIMAL"
|
||||
DECLARE="DECLARE"
|
||||
DEFAULT="DEFAULT"
|
||||
DEFAULT_AUTH="DEFAULT_AUTH"
|
||||
DEFINER="DEFINER"
|
||||
DEFINITION="DEFINITION"
|
||||
DELAYED="DELAYED"
|
||||
DELAY_KEY_WRITE="DELAY_KEY_WRITE"
|
||||
DELETE="DELETE"
|
||||
DENSE_RANK="DENSE_RANK"
|
||||
DESC="DESC"
|
||||
DESCRIBE="DESCRIBE"
|
||||
DESCRIPTION="DESCRIPTION"
|
||||
DETERMINISTIC="DETERMINISTIC"
|
||||
DIAGNOSTICS="DIAGNOSTICS"
|
||||
DIRECTORY="DIRECTORY"
|
||||
DISABLE="DISABLE"
|
||||
DISCARD="DISCARD"
|
||||
DISK="DISK"
|
||||
DISTINCT="DISTINCT"
|
||||
DISTINCTROW="DISTINCTROW"
|
||||
DIV="DIV"
|
||||
DO="DO"
|
||||
DOUBLE="DOUBLE"
|
||||
DROP="DROP"
|
||||
DUAL="DUAL"
|
||||
DUMPFILE="DUMPFILE"
|
||||
DUPLICATE="DUPLICATE"
|
||||
DYNAMIC="DYNAMIC"
|
||||
EACH="EACH"
|
||||
ELSE="ELSE"
|
||||
ELSEIF="ELSEIF"
|
||||
EMPTY="EMPTY"
|
||||
ENABLE="ENABLE"
|
||||
ENCLOSED="ENCLOSED"
|
||||
ENCRYPTION="ENCRYPTION"
|
||||
END="END"
|
||||
ENDS="ENDS"
|
||||
ENFORCED="ENFORCED"
|
||||
ENGINE="ENGINE"
|
||||
ENGINES="ENGINES"
|
||||
ENUM="ENUM"
|
||||
ERROR="ERROR"
|
||||
ERRORS="ERRORS"
|
||||
ESCAPE="ESCAPE"
|
||||
ESCAPED="ESCAPED"
|
||||
EVENT="EVENT"
|
||||
EVENTS="EVENTS"
|
||||
EVERY="EVERY"
|
||||
EXCEPT="EXCEPT"
|
||||
EXCHANGE="EXCHANGE"
|
||||
EXCLUDE="EXCLUDE"
|
||||
EXECUTE="EXECUTE"
|
||||
EXISTS="EXISTS"
|
||||
EXIT="EXIT"
|
||||
EXPANSION="EXPANSION"
|
||||
EXPIRE="EXPIRE"
|
||||
EXPLAIN="EXPLAIN"
|
||||
EXPORT="EXPORT"
|
||||
EXTENDED="EXTENDED"
|
||||
EXTENT_SIZE="EXTENT_SIZE"
|
||||
FALSE="FALSE"
|
||||
FAST="FAST"
|
||||
FAULTS="FAULTS"
|
||||
FETCH="FETCH"
|
||||
FIELDS="FIELDS"
|
||||
FILE="FILE"
|
||||
FILE_BLOCK_SIZE="FILE_BLOCK_SIZE"
|
||||
FILTER="FILTER"
|
||||
FIRST="FIRST"
|
||||
FIRST_VALUE="FIRST_VALUE"
|
||||
FIXED="FIXED"
|
||||
FLOAT="FLOAT"
|
||||
FLOAT4="FLOAT4"
|
||||
FLOAT8="FLOAT8"
|
||||
FLUSH="FLUSH"
|
||||
FOLLOWING="FOLLOWING"
|
||||
FOLLOWS="FOLLOWS"
|
||||
FOR="FOR"
|
||||
FORCE="FORCE"
|
||||
FOREIGN="FOREIGN"
|
||||
FORMAT="FORMAT"
|
||||
FOUND="FOUND"
|
||||
FROM="FROM"
|
||||
FULL="FULL"
|
||||
FULLTEXT="FULLTEXT"
|
||||
FUNCTION="FUNCTION"
|
||||
GENERAL="GENERAL"
|
||||
GENERATED="GENERATED"
|
||||
GEOMCOLLECTION="GEOMCOLLECTION"
|
||||
GEOMETRY="GEOMETRY"
|
||||
GEOMETRYCOLLECTION="GEOMETRYCOLLECTION"
|
||||
GET="GET"
|
||||
GET_FORMAT="GET_FORMAT"
|
||||
GET_MASTER_PUBLIC_KEY="GET_MASTER_PUBLIC_KEY"
|
||||
GLOBAL="GLOBAL"
|
||||
GRANT="GRANT"
|
||||
GRANTS="GRANTS"
|
||||
GROUP="GROUP"
|
||||
GROUPING="GROUPING"
|
||||
GROUPS="GROUPS"
|
||||
GROUP_REPLICATION="GROUP_REPLICATION"
|
||||
HANDLER="HANDLER"
|
||||
HASH="HASH"
|
||||
HAVING="HAVING"
|
||||
HELP="HELP"
|
||||
HIGH_PRIORITY="HIGH_PRIORITY"
|
||||
HISTOGRAM="HISTOGRAM"
|
||||
HISTORY="HISTORY"
|
||||
HOST="HOST"
|
||||
HOSTS="HOSTS"
|
||||
HOUR="HOUR"
|
||||
HOUR_MICROSECOND="HOUR_MICROSECOND"
|
||||
HOUR_MINUTE="HOUR_MINUTE"
|
||||
HOUR_SECOND="HOUR_SECOND"
|
||||
IDENTIFIED="IDENTIFIED"
|
||||
IF="IF"
|
||||
IGNORE="IGNORE"
|
||||
IGNORE_SERVER_IDS="IGNORE_SERVER_IDS"
|
||||
IMPORT="IMPORT"
|
||||
IN="IN"
|
||||
INACTIVE="INACTIVE"
|
||||
INDEX="INDEX"
|
||||
INDEXES="INDEXES"
|
||||
INFILE="INFILE"
|
||||
INITIAL_SIZE="INITIAL_SIZE"
|
||||
INNER="INNER"
|
||||
INOUT="INOUT"
|
||||
INSENSITIVE="INSENSITIVE"
|
||||
INSERT="INSERT"
|
||||
INSERT_METHOD="INSERT_METHOD"
|
||||
INSTALL="INSTALL"
|
||||
INSTANCE="INSTANCE"
|
||||
INT="INT"
|
||||
INT1="INT1"
|
||||
INT2="INT2"
|
||||
INT3="INT3"
|
||||
INT4="INT4"
|
||||
INT8="INT8"
|
||||
INTEGER="INTEGER"
|
||||
INTERVAL="INTERVAL"
|
||||
INTO="INTO"
|
||||
INVISIBLE="INVISIBLE"
|
||||
INVOKER="INVOKER"
|
||||
IO="IO"
|
||||
IO_AFTER_GTIDS="IO_AFTER_GTIDS"
|
||||
IO_BEFORE_GTIDS="IO_BEFORE_GTIDS"
|
||||
IO_THREAD="IO_THREAD"
|
||||
IPC="IPC"
|
||||
IS="IS"
|
||||
ISOLATION="ISOLATION"
|
||||
ISSUER="ISSUER"
|
||||
ITERATE="ITERATE"
|
||||
JOIN="JOIN"
|
||||
JSON="JSON"
|
||||
JSON_TABLE="JSON_TABLE"
|
||||
KEY="KEY"
|
||||
KEYS="KEYS"
|
||||
KEY_BLOCK_SIZE="KEY_BLOCK_SIZE"
|
||||
KILL="KILL"
|
||||
LAG="LAG"
|
||||
LANGUAGE="LANGUAGE"
|
||||
LAST="LAST"
|
||||
LAST_VALUE="LAST_VALUE"
|
||||
LATERAL="LATERAL"
|
||||
LEAD="LEAD"
|
||||
LEADING="LEADING"
|
||||
LEAVE="LEAVE"
|
||||
LEAVES="LEAVES"
|
||||
LEFT="LEFT"
|
||||
LESS="LESS"
|
||||
LEVEL="LEVEL"
|
||||
LIKE="LIKE"
|
||||
LIMIT="LIMIT"
|
||||
LINEAR="LINEAR"
|
||||
LINES="LINES"
|
||||
LINESTRING="LINESTRING"
|
||||
LIST="LIST"
|
||||
LOAD="LOAD"
|
||||
LOCAL="LOCAL"
|
||||
LOCALTIME="LOCALTIME"
|
||||
LOCALTIMESTAMP="LOCALTIMESTAMP"
|
||||
LOCK="LOCK"
|
||||
LOCKED="LOCKED"
|
||||
LOCKS="LOCKS"
|
||||
LOGFILE="LOGFILE"
|
||||
LOGS="LOGS"
|
||||
LONG="LONG"
|
||||
LONGBLOB="LONGBLOB"
|
||||
LONGTEXT="LONGTEXT"
|
||||
LOOP="LOOP"
|
||||
LOW_PRIORITY="LOW_PRIORITY"
|
||||
MASTER="MASTER"
|
||||
MASTER_AUTO_POSITION="MASTER_AUTO_POSITION"
|
||||
MASTER_BIND="MASTER_BIND"
|
||||
MASTER_CONNECT_RETRY="MASTER_CONNECT_RETRY"
|
||||
MASTER_DELAY="MASTER_DELAY"
|
||||
MASTER_HEARTBEAT_PERIOD="MASTER_HEARTBEAT_PERIOD"
|
||||
MASTER_HOST="MASTER_HOST"
|
||||
MASTER_LOG_FILE="MASTER_LOG_FILE"
|
||||
MASTER_LOG_POS="MASTER_LOG_POS"
|
||||
MASTER_PASSWORD="MASTER_PASSWORD"
|
||||
MASTER_PORT="MASTER_PORT"
|
||||
MASTER_PUBLIC_KEY_PATH="MASTER_PUBLIC_KEY_PATH"
|
||||
MASTER_RETRY_COUNT="MASTER_RETRY_COUNT"
|
||||
MASTER_SERVER_ID="MASTER_SERVER_ID"
|
||||
MASTER_SSL="MASTER_SSL"
|
||||
MASTER_SSL_CA="MASTER_SSL_CA"
|
||||
MASTER_SSL_CAPATH="MASTER_SSL_CAPATH"
|
||||
MASTER_SSL_CERT="MASTER_SSL_CERT"
|
||||
MASTER_SSL_CIPHER="MASTER_SSL_CIPHER"
|
||||
MASTER_SSL_CRL="MASTER_SSL_CRL"
|
||||
MASTER_SSL_CRLPATH="MASTER_SSL_CRLPATH"
|
||||
MASTER_SSL_KEY="MASTER_SSL_KEY"
|
||||
MASTER_SSL_VERIFY_SERVER_CERT="MASTER_SSL_VERIFY_SERVER_CERT"
|
||||
MASTER_TLS_VERSION="MASTER_TLS_VERSION"
|
||||
MASTER_USER="MASTER_USER"
|
||||
MATCH="MATCH"
|
||||
MAXVALUE="MAXVALUE"
|
||||
MAX_CONNECTIONS_PER_HOUR="MAX_CONNECTIONS_PER_HOUR"
|
||||
MAX_QUERIES_PER_HOUR="MAX_QUERIES_PER_HOUR"
|
||||
MAX_ROWS="MAX_ROWS"
|
||||
MAX_SIZE="MAX_SIZE"
|
||||
MAX_UPDATES_PER_HOUR="MAX_UPDATES_PER_HOUR"
|
||||
MAX_USER_CONNECTIONS="MAX_USER_CONNECTIONS"
|
||||
MEDIUM="MEDIUM"
|
||||
MEDIUMBLOB="MEDIUMBLOB"
|
||||
MEDIUMINT="MEDIUMINT"
|
||||
MEDIUMTEXT="MEDIUMTEXT"
|
||||
MEMORY="MEMORY"
|
||||
MERGE="MERGE"
|
||||
MESSAGE_TEXT="MESSAGE_TEXT"
|
||||
MICROSECOND="MICROSECOND"
|
||||
MIDDLEINT="MIDDLEINT"
|
||||
MIGRATE="MIGRATE"
|
||||
MINUTE="MINUTE"
|
||||
MINUTE_MICROSECOND="MINUTE_MICROSECOND"
|
||||
MINUTE_SECOND="MINUTE_SECOND"
|
||||
MIN_ROWS="MIN_ROWS"
|
||||
MOD="MOD"
|
||||
MODE="MODE"
|
||||
MODIFIES="MODIFIES"
|
||||
MODIFY="MODIFY"
|
||||
MONTH="MONTH"
|
||||
MULTILINESTRING="MULTILINESTRING"
|
||||
MULTIPOINT="MULTIPOINT"
|
||||
MULTIPOLYGON="MULTIPOLYGON"
|
||||
MUTEX="MUTEX"
|
||||
MYSQL_ERRNO="MYSQL_ERRNO"
|
||||
NAME="NAME"
|
||||
NAMES="NAMES"
|
||||
NATIONAL="NATIONAL"
|
||||
NATURAL="NATURAL"
|
||||
NCHAR="NCHAR"
|
||||
NDB="NDB"
|
||||
NDBCLUSTER="NDBCLUSTER"
|
||||
NESTED="NESTED"
|
||||
NETWORK_NAMESPACE="NETWORK_NAMESPACE"
|
||||
NEVER="NEVER"
|
||||
NEW="NEW"
|
||||
NEXT="NEXT"
|
||||
NO="NO"
|
||||
NODEGROUP="NODEGROUP"
|
||||
NONE="NONE"
|
||||
NOT="NOT"
|
||||
NOWAIT="NOWAIT"
|
||||
NO_WAIT="NO_WAIT"
|
||||
NO_WRITE_TO_BINLOG="NO_WRITE_TO_BINLOG"
|
||||
NTH_VALUE="NTH_VALUE"
|
||||
NTILE="NTILE"
|
||||
NULL="NULL"
|
||||
NULLS="NULLS"
|
||||
NUMBER="NUMBER"
|
||||
NUMERIC="NUMERIC"
|
||||
NVARCHAR="NVARCHAR"
|
||||
OF="OF"
|
||||
OFFSET="OFFSET"
|
||||
OJ="OJ"
|
||||
OLD="OLD"
|
||||
ON="ON"
|
||||
ONE="ONE"
|
||||
ONLY="ONLY"
|
||||
OPEN="OPEN"
|
||||
OPTIMIZE="OPTIMIZE"
|
||||
OPTIMIZER_COSTS="OPTIMIZER_COSTS"
|
||||
OPTION="OPTION"
|
||||
OPTIONAL="OPTIONAL"
|
||||
OPTIONALLY="OPTIONALLY"
|
||||
OPTIONS="OPTIONS"
|
||||
OR="OR"
|
||||
ORDER="ORDER"
|
||||
ORDINALITY="ORDINALITY"
|
||||
ORGANIZATION="ORGANIZATION"
|
||||
OTHERS="OTHERS"
|
||||
OUT="OUT"
|
||||
OUTER="OUTER"
|
||||
OUTFILE="OUTFILE"
|
||||
OVER="OVER"
|
||||
OWNER="OWNER"
|
||||
PACK_KEYS="PACK_KEYS"
|
||||
PAGE="PAGE"
|
||||
PARSER="PARSER"
|
||||
PARTIAL="PARTIAL"
|
||||
PARTITION="PARTITION"
|
||||
PARTITIONING="PARTITIONING"
|
||||
PARTITIONS="PARTITIONS"
|
||||
PASSWORD="PASSWORD"
|
||||
PATH="PATH"
|
||||
PERCENT_RANK="PERCENT_RANK"
|
||||
PERSIST="PERSIST"
|
||||
PERSIST_ONLY="PERSIST_ONLY"
|
||||
PHASE="PHASE"
|
||||
PLUGIN="PLUGIN"
|
||||
PLUGINS="PLUGINS"
|
||||
PLUGIN_DIR="PLUGIN_DIR"
|
||||
POINT="POINT"
|
||||
POLYGON="POLYGON"
|
||||
PORT="PORT"
|
||||
PRECEDES="PRECEDES"
|
||||
PRECEDING="PRECEDING"
|
||||
PRECISION="PRECISION"
|
||||
PREPARE="PREPARE"
|
||||
PRESERVE="PRESERVE"
|
||||
PREV="PREV"
|
||||
PRIMARY="PRIMARY"
|
||||
PRIVILEGES="PRIVILEGES"
|
||||
PROCEDURE="PROCEDURE"
|
||||
PROCESS="PROCESS"
|
||||
PROCESSLIST="PROCESSLIST"
|
||||
PROFILE="PROFILE"
|
||||
PROFILES="PROFILES"
|
||||
PROXY="PROXY"
|
||||
PURGE="PURGE"
|
||||
QUARTER="QUARTER"
|
||||
QUERY="QUERY"
|
||||
QUICK="QUICK"
|
||||
RANGE="RANGE"
|
||||
RANK="RANK"
|
||||
READ="READ"
|
||||
READS="READS"
|
||||
READ_ONLY="READ_ONLY"
|
||||
READ_WRITE="READ_WRITE"
|
||||
REAL="REAL"
|
||||
REBUILD="REBUILD"
|
||||
RECOVER="RECOVER"
|
||||
RECURSIVE="RECURSIVE"
|
||||
REDO_BUFFER_SIZE="REDO_BUFFER_SIZE"
|
||||
REDUNDANT="REDUNDANT"
|
||||
REFERENCE="REFERENCE"
|
||||
REFERENCES="REFERENCES"
|
||||
REGEXP="REGEXP"
|
||||
RELAY="RELAY"
|
||||
RELAYLOG="RELAYLOG"
|
||||
RELAY_LOG_FILE="RELAY_LOG_FILE"
|
||||
RELAY_LOG_POS="RELAY_LOG_POS"
|
||||
RELAY_THREAD="RELAY_THREAD"
|
||||
RELEASE="RELEASE"
|
||||
RELOAD="RELOAD"
|
||||
REMOVE="REMOVE"
|
||||
RENAME="RENAME"
|
||||
REORGANIZE="REORGANIZE"
|
||||
REPAIR="REPAIR"
|
||||
REPEAT="REPEAT"
|
||||
REPEATABLE="REPEATABLE"
|
||||
REPLACE="REPLACE"
|
||||
REPLICATE_DO_DB="REPLICATE_DO_DB"
|
||||
REPLICATE_DO_TABLE="REPLICATE_DO_TABLE"
|
||||
REPLICATE_IGNORE_DB="REPLICATE_IGNORE_DB"
|
||||
REPLICATE_IGNORE_TABLE="REPLICATE_IGNORE_TABLE"
|
||||
REPLICATE_REWRITE_DB="REPLICATE_REWRITE_DB"
|
||||
REPLICATE_WILD_DO_TABLE="REPLICATE_WILD_DO_TABLE"
|
||||
REPLICATE_WILD_IGNORE_TABLE="REPLICATE_WILD_IGNORE_TABLE"
|
||||
REPLICATION="REPLICATION"
|
||||
REQUIRE="REQUIRE"
|
||||
RESET="RESET"
|
||||
RESIGNAL="RESIGNAL"
|
||||
RESOURCE="RESOURCE"
|
||||
RESPECT="RESPECT"
|
||||
RESTART="RESTART"
|
||||
RESTORE="RESTORE"
|
||||
RESTRICT="RESTRICT"
|
||||
RESUME="RESUME"
|
||||
RETAIN="RETAIN"
|
||||
RETURN="RETURN"
|
||||
RETURNED_SQLSTATE="RETURNED_SQLSTATE"
|
||||
RETURNS="RETURNS"
|
||||
REUSE="REUSE"
|
||||
REVERSE="REVERSE"
|
||||
REVOKE="REVOKE"
|
||||
RIGHT="RIGHT"
|
||||
RLIKE="RLIKE"
|
||||
ROLE="ROLE"
|
||||
ROLLBACK="ROLLBACK"
|
||||
ROLLUP="ROLLUP"
|
||||
ROTATE="ROTATE"
|
||||
ROUTINE="ROUTINE"
|
||||
ROW="ROW"
|
||||
ROWS="ROWS"
|
||||
ROW_COUNT="ROW_COUNT"
|
||||
ROW_FORMAT="ROW_FORMAT"
|
||||
ROW_NUMBER="ROW_NUMBER"
|
||||
RTREE="RTREE"
|
||||
SAVEPOINT="SAVEPOINT"
|
||||
SCHEDULE="SCHEDULE"
|
||||
SCHEMA="SCHEMA"
|
||||
SCHEMAS="SCHEMAS"
|
||||
SCHEMA_NAME="SCHEMA_NAME"
|
||||
SECOND="SECOND"
|
||||
SECONDARY="SECONDARY"
|
||||
SECONDARY_ENGINE="SECONDARY_ENGINE"
|
||||
SECONDARY_LOAD="SECONDARY_LOAD"
|
||||
SECONDARY_UNLOAD="SECONDARY_UNLOAD"
|
||||
SECOND_MICROSECOND="SECOND_MICROSECOND"
|
||||
SECURITY="SECURITY"
|
||||
SELECT="SELECT"
|
||||
SENSITIVE="SENSITIVE"
|
||||
SEPARATOR="SEPARATOR"
|
||||
SERIAL="SERIAL"
|
||||
SERIALIZABLE="SERIALIZABLE"
|
||||
SERVER="SERVER"
|
||||
SESSION="SESSION"
|
||||
SET="SET"
|
||||
SHARE="SHARE"
|
||||
SHOW="SHOW"
|
||||
SHUTDOWN="SHUTDOWN"
|
||||
SIGNAL="SIGNAL"
|
||||
SIGNED="SIGNED"
|
||||
SIMPLE="SIMPLE"
|
||||
SKIP="SKIP"
|
||||
SLAVE="SLAVE"
|
||||
SLOW="SLOW"
|
||||
SMALLINT="SMALLINT"
|
||||
SNAPSHOT="SNAPSHOT"
|
||||
SOCKET="SOCKET"
|
||||
SOME="SOME"
|
||||
SONAME="SONAME"
|
||||
SOUNDS="SOUNDS"
|
||||
SOURCE="SOURCE"
|
||||
SPATIAL="SPATIAL"
|
||||
SPECIFIC="SPECIFIC"
|
||||
SQL="SQL"
|
||||
SQLEXCEPTION="SQLEXCEPTION"
|
||||
SQLSTATE="SQLSTATE"
|
||||
SQLWARNING="SQLWARNING"
|
||||
SQL_AFTER_GTIDS="SQL_AFTER_GTIDS"
|
||||
SQL_AFTER_MTS_GAPS="SQL_AFTER_MTS_GAPS"
|
||||
SQL_BEFORE_GTIDS="SQL_BEFORE_GTIDS"
|
||||
SQL_BIG_RESULT="SQL_BIG_RESULT"
|
||||
SQL_BUFFER_RESULT="SQL_BUFFER_RESULT"
|
||||
SQL_CALC_FOUND_ROWS="SQL_CALC_FOUND_ROWS"
|
||||
SQL_NO_CACHE="SQL_NO_CACHE"
|
||||
SQL_SMALL_RESULT="SQL_SMALL_RESULT"
|
||||
SQL_THREAD="SQL_THREAD"
|
||||
SQL_TSI_DAY="SQL_TSI_DAY"
|
||||
SQL_TSI_HOUR="SQL_TSI_HOUR"
|
||||
SQL_TSI_MINUTE="SQL_TSI_MINUTE"
|
||||
SQL_TSI_MONTH="SQL_TSI_MONTH"
|
||||
SQL_TSI_QUARTER="SQL_TSI_QUARTER"
|
||||
SQL_TSI_SECOND="SQL_TSI_SECOND"
|
||||
SQL_TSI_WEEK="SQL_TSI_WEEK"
|
||||
SQL_TSI_YEAR="SQL_TSI_YEAR"
|
||||
SRID="SRID"
|
||||
SSL="SSL"
|
||||
STACKED="STACKED"
|
||||
START="START"
|
||||
STARTING="STARTING"
|
||||
STARTS="STARTS"
|
||||
STATS_AUTO_RECALC="STATS_AUTO_RECALC"
|
||||
STATS_PERSISTENT="STATS_PERSISTENT"
|
||||
STATS_SAMPLE_PAGES="STATS_SAMPLE_PAGES"
|
||||
STATUS="STATUS"
|
||||
STOP="STOP"
|
||||
STORAGE="STORAGE"
|
||||
STORED="STORED"
|
||||
STRAIGHT_JOIN="STRAIGHT_JOIN"
|
||||
STRING="STRING"
|
||||
SUBCLASS_ORIGIN="SUBCLASS_ORIGIN"
|
||||
SUBJECT="SUBJECT"
|
||||
SUBPARTITION="SUBPARTITION"
|
||||
SUBPARTITIONS="SUBPARTITIONS"
|
||||
SUPER="SUPER"
|
||||
SUSPEND="SUSPEND"
|
||||
SWAPS="SWAPS"
|
||||
SWITCHES="SWITCHES"
|
||||
SYSTEM="SYSTEM"
|
||||
TABLE="TABLE"
|
||||
TABLES="TABLES"
|
||||
TABLESPACE="TABLESPACE"
|
||||
TABLE_CHECKSUM="TABLE_CHECKSUM"
|
||||
TABLE_NAME="TABLE_NAME"
|
||||
TEMPORARY="TEMPORARY"
|
||||
TEMPTABLE="TEMPTABLE"
|
||||
TERMINATED="TERMINATED"
|
||||
TEXT="TEXT"
|
||||
THAN="THAN"
|
||||
THEN="THEN"
|
||||
THREAD_PRIORITY="THREAD_PRIORITY"
|
||||
TIES="TIES"
|
||||
TIME="TIME"
|
||||
TIMESTAMP="TIMESTAMP"
|
||||
TIMESTAMPADD="TIMESTAMPADD"
|
||||
TIMESTAMPDIFF="TIMESTAMPDIFF"
|
||||
TINYBLOB="TINYBLOB"
|
||||
TINYINT="TINYINT"
|
||||
TINYTEXT="TINYTEXT"
|
||||
TO="TO"
|
||||
TRAILING="TRAILING"
|
||||
TRANSACTION="TRANSACTION"
|
||||
TRIGGER="TRIGGER"
|
||||
TRIGGERS="TRIGGERS"
|
||||
TRUE="TRUE"
|
||||
TRUNCATE="TRUNCATE"
|
||||
TYPE="TYPE"
|
||||
TYPES="TYPES"
|
||||
UNBOUNDED="UNBOUNDED"
|
||||
UNCOMMITTED="UNCOMMITTED"
|
||||
UNDEFINED="UNDEFINED"
|
||||
UNDO="UNDO"
|
||||
UNDOFILE="UNDOFILE"
|
||||
UNDO_BUFFER_SIZE="UNDO_BUFFER_SIZE"
|
||||
UNICODE="UNICODE"
|
||||
UNINSTALL="UNINSTALL"
|
||||
UNION="UNION"
|
||||
UNIQUE="UNIQUE"
|
||||
UNKNOWN="UNKNOWN"
|
||||
UNLOCK="UNLOCK"
|
||||
UNSIGNED="UNSIGNED"
|
||||
UNTIL="UNTIL"
|
||||
UPDATE="UPDATE"
|
||||
UPGRADE="UPGRADE"
|
||||
USAGE="USAGE"
|
||||
USE="USE"
|
||||
USER="USER"
|
||||
USER_RESOURCES="USER_RESOURCES"
|
||||
USE_FRM="USE_FRM"
|
||||
USING="USING"
|
||||
UTC_DATE="UTC_DATE"
|
||||
UTC_TIME="UTC_TIME"
|
||||
UTC_TIMESTAMP="UTC_TIMESTAMP"
|
||||
VALIDATION="VALIDATION"
|
||||
VALUE="VALUE"
|
||||
VALUES="VALUES"
|
||||
VARBINARY="VARBINARY"
|
||||
VARCHAR="VARCHAR"
|
||||
VARCHARACTER="VARCHARACTER"
|
||||
VARIABLES="VARIABLES"
|
||||
VARYING="VARYING"
|
||||
VCPU="VCPU"
|
||||
VIEW="VIEW"
|
||||
VIRTUAL="VIRTUAL"
|
||||
VISIBLE="VISIBLE"
|
||||
WAIT="WAIT"
|
||||
WARNINGS="WARNINGS"
|
||||
WEEK="WEEK"
|
||||
WEIGHT_STRING="WEIGHT_STRING"
|
||||
WHEN="WHEN"
|
||||
WHERE="WHERE"
|
||||
WHILE="WHILE"
|
||||
WINDOW="WINDOW"
|
||||
WITH="WITH"
|
||||
WITHOUT="WITHOUT"
|
||||
WORK="WORK"
|
||||
WRAPPER="WRAPPER"
|
||||
WRITE="WRITE"
|
||||
X509="X509"
|
||||
XA="XA"
|
||||
XID="XID"
|
||||
XML="XML"
|
||||
XOR="XOR"
|
||||
YEAR="YEAR"
|
||||
YEAR_MONTH="YEAR_MONTH"
|
||||
ZEROFILL="ZEROFILL"
|
222
dictionaries/exif.dict
Normal file
222
dictionaries/exif.dict
Normal file
@ -0,0 +1,222 @@
|
||||
"\x00\x01"
|
||||
"\x00\x02"
|
||||
"\x00\x10"
|
||||
"\x00\x90"
|
||||
"\x00\xa0"
|
||||
"\x00\xa3"
|
||||
"\x00\xa5"
|
||||
"\x00\xfe"
|
||||
"\x01\x00"
|
||||
"\x01\x01"
|
||||
"\x01\x02"
|
||||
"\x01\x03"
|
||||
"\x01\x06"
|
||||
"\x01\x0a"
|
||||
"\x01\x0d"
|
||||
"\x01\x0e"
|
||||
"\x01\x0f"
|
||||
"\x01\x10"
|
||||
"\x01\x11"
|
||||
"\x01\x12"
|
||||
"\x01\x15"
|
||||
"\x01\x16"
|
||||
"\x01\x17"
|
||||
"\x01\x1a"
|
||||
"\x01\x1b"
|
||||
"\x01\x1c"
|
||||
"\x01\x28"
|
||||
"\x01\x2d"
|
||||
"\x01\x31"
|
||||
"\x01\x32"
|
||||
"\x01\x3b"
|
||||
"\x01\x3e"
|
||||
"\x01\x3f"
|
||||
"\x01\x4a"
|
||||
"\x01\x56"
|
||||
"\x01\x91"
|
||||
"\x01\x92"
|
||||
"\x01\xa0"
|
||||
"\x01\xa3"
|
||||
"\x01\xa4"
|
||||
"\x02\x00"
|
||||
"\x02\x01"
|
||||
"\x02\x02"
|
||||
"\x02\x10"
|
||||
"\x02\x11"
|
||||
"\x02\x12"
|
||||
"\x02\x13"
|
||||
"\x02\x14"
|
||||
"\x02\x91"
|
||||
"\x02\x92"
|
||||
"\x02\xa0"
|
||||
"\x02\xa3"
|
||||
"\x02\xa4"
|
||||
"\x02\xbc"
|
||||
"\x03\x01"
|
||||
"\x03\x90"
|
||||
"\x03\x92"
|
||||
"\x03\xa0"
|
||||
"\x03\xa4"
|
||||
"\x04\x90"
|
||||
"\x04\x92"
|
||||
"\x04\xa0"
|
||||
"\x04\xa4"
|
||||
"\x05\x92"
|
||||
"\x05\xa0"
|
||||
"\x05\xa4"
|
||||
"\x06\x01"
|
||||
"\x06\x92"
|
||||
"\x06\xa4"
|
||||
"\x07\x92"
|
||||
"\x07\xa4"
|
||||
"\x08\x92"
|
||||
"\x08\xa4"
|
||||
"\x09\x92"
|
||||
"\x09\xa4"
|
||||
"\x0a\x01"
|
||||
"\x0a\x92"
|
||||
"\x0a\xa4"
|
||||
"\x0b\xa2"
|
||||
"\x0b\xa4"
|
||||
"\x0c\xa2"
|
||||
"\x0c\xa4"
|
||||
"\x0d\x01"
|
||||
"\x0e\x01"
|
||||
"\x0e\xa2"
|
||||
"\x0f\x01"
|
||||
"\x0f\xa2"
|
||||
"\x10\x00"
|
||||
"\x10\x01"
|
||||
"\x10\x02"
|
||||
"\x10\xa2"
|
||||
"\x11\x01"
|
||||
"\x11\x02"
|
||||
"\x12\x01"
|
||||
"\x12\x02"
|
||||
"\x13\x02"
|
||||
"\x14\x02"
|
||||
"\x14\x92"
|
||||
"\x14\xa2"
|
||||
"\x15\x01"
|
||||
"\x15\xa2"
|
||||
"\x16\x01"
|
||||
"\x16\x92"
|
||||
"\x17\x01"
|
||||
"\x17\xa2"
|
||||
"\x1a\x01"
|
||||
"\x1b\x01"
|
||||
"\x1c\x01"
|
||||
"\x1c\xea"
|
||||
"\x20\xa4"
|
||||
"\x22\x88"
|
||||
"\x24\x88"
|
||||
"\x25\x88"
|
||||
"\x27\x88"
|
||||
"\x28\x01"
|
||||
"\x28\x88"
|
||||
"\x2a\x88"
|
||||
"\x2d\x01"
|
||||
"\x31\x01"
|
||||
"\x32\x01"
|
||||
"\x3b\x01"
|
||||
"\x3e\x01"
|
||||
"\x3f\x01"
|
||||
"\x49\x86"
|
||||
"\x4a\x01"
|
||||
"\x56\x01"
|
||||
"\x69\x87"
|
||||
"\x73\x87"
|
||||
"\x7c\x92"
|
||||
"\x82\x8d"
|
||||
"\x82\x8e"
|
||||
"\x82\x8f"
|
||||
"\x82\x98"
|
||||
"\x82\x9a"
|
||||
"\x82\x9d"
|
||||
"\x83\xbb"
|
||||
"\x86\x49"
|
||||
"\x86\x92"
|
||||
"\x87\x69"
|
||||
"\x87\x73"
|
||||
"\x88\x22"
|
||||
"\x88\x24"
|
||||
"\x88\x25"
|
||||
"\x88\x27"
|
||||
"\x88\x28"
|
||||
"\x88\x2a"
|
||||
"\x8d\x82"
|
||||
"\x8e\x82"
|
||||
"\x8f\x82"
|
||||
"\x90\x00"
|
||||
"\x90\x03"
|
||||
"\x90\x04"
|
||||
"\x90\x92"
|
||||
"\x91\x01"
|
||||
"\x91\x02"
|
||||
"\x91\x92"
|
||||
"\x92\x01"
|
||||
"\x92\x02"
|
||||
"\x92\x03"
|
||||
"\x92\x04"
|
||||
"\x92\x05"
|
||||
"\x92\x06"
|
||||
"\x92\x07"
|
||||
"\x92\x08"
|
||||
"\x92\x09"
|
||||
"\x92\x0a"
|
||||
"\x92\x14"
|
||||
"\x92\x16"
|
||||
"\x92\x7c"
|
||||
"\x92\x86"
|
||||
"\x92\x90"
|
||||
"\x92\x91"
|
||||
"\x92\x92"
|
||||
"\x98\x82"
|
||||
"\x9a\x82"
|
||||
"\x9b\x9c"
|
||||
"\x9c\x9b"
|
||||
"\x9c\x9c"
|
||||
"\x9c\x9d"
|
||||
"\x9c\x9e"
|
||||
"\x9c\x9f"
|
||||
"\x9d\x82"
|
||||
"\x9d\x9c"
|
||||
"\x9e\x9c"
|
||||
"\x9f\x9c"
|
||||
"\xa0\x00"
|
||||
"\xa0\x01"
|
||||
"\xa0\x02"
|
||||
"\xa0\x03"
|
||||
"\xa0\x04"
|
||||
"\xa0\x05"
|
||||
"\xa2\x0b"
|
||||
"\xa2\x0c"
|
||||
"\xa2\x0e"
|
||||
"\xa2\x0f"
|
||||
"\xa2\x10"
|
||||
"\xa2\x14"
|
||||
"\xa2\x15"
|
||||
"\xa2\x17"
|
||||
"\xa3\x00"
|
||||
"\xa3\x01"
|
||||
"\xa3\x02"
|
||||
"\xa4\x01"
|
||||
"\xa4\x02"
|
||||
"\xa4\x03"
|
||||
"\xa4\x04"
|
||||
"\xa4\x05"
|
||||
"\xa4\x06"
|
||||
"\xa4\x07"
|
||||
"\xa4\x08"
|
||||
"\xa4\x09"
|
||||
"\xa4\x0a"
|
||||
"\xa4\x0b"
|
||||
"\xa4\x0c"
|
||||
"\xa4\x20"
|
||||
"\xa5\x00"
|
||||
"\xa5\xc4"
|
||||
"\xbb\x83"
|
||||
"\xbc\x02"
|
||||
"\xc4\xa5"
|
||||
"\xea\x1c"
|
||||
"\xfe\x00"
|
42
dictionaries/fbs.dict
Normal file
42
dictionaries/fbs.dict
Normal file
@ -0,0 +1,42 @@
|
||||
# spec: https://google.github.io/flatbuffers/flatbuffers_grammar.html
|
||||
|
||||
attribute="attribute"
|
||||
bool="bool"
|
||||
byte="byte"
|
||||
double="double"
|
||||
enum="enum"
|
||||
false="false"
|
||||
file_extension="file_extension"
|
||||
float32="float32"
|
||||
float64="float64"
|
||||
float="float"
|
||||
include="include"
|
||||
inf="inf"
|
||||
infinity="infinity"
|
||||
int16="int16"
|
||||
int32="int32"
|
||||
int64="int64"
|
||||
int8="int8"
|
||||
int="int"
|
||||
long="long"
|
||||
namespace="namespace"
|
||||
nan="nan"
|
||||
root_type="root_type"
|
||||
root_type="root_type"
|
||||
rpc_service="rpc_service"
|
||||
short="short"
|
||||
string="string"
|
||||
struct="struct"
|
||||
table="table"
|
||||
true="true"
|
||||
ubyte="ubyte"
|
||||
uint16="uint16"
|
||||
uint32="uint32"
|
||||
uint64="uint64"
|
||||
uint="uint"
|
||||
ulong="ulong"
|
||||
union="union"
|
||||
ushort="ushort"
|
||||
|
||||
separator=":"
|
||||
eol=";"
|
124
dictionaries/ftp.dict
Normal file
124
dictionaries/ftp.dict
Normal file
@ -0,0 +1,124 @@
|
||||
# from https://github.com/antonio-morales/Fuzzing/Dictionaries/FTP/Example.dict.txt
|
||||
#Parameters
|
||||
#tls = {0,1,2,3}
|
||||
|
||||
#Input1
|
||||
"user"
|
||||
"pass"
|
||||
"syst"
|
||||
"acct"
|
||||
"feat"
|
||||
"noop"
|
||||
"help"
|
||||
"stat"
|
||||
"stru"
|
||||
"adat"
|
||||
"site"
|
||||
|
||||
#Input2
|
||||
"mkd"
|
||||
"cwd"
|
||||
"pwd"
|
||||
"cdup"
|
||||
|
||||
#Input3
|
||||
"port"
|
||||
"list"
|
||||
"mlst"
|
||||
"nlst"
|
||||
"mlsd"
|
||||
|
||||
#Input4
|
||||
"rmd"
|
||||
|
||||
#Input5
|
||||
"stor"
|
||||
|
||||
#Input6
|
||||
"retr"
|
||||
|
||||
#Input7
|
||||
"dele"
|
||||
|
||||
#Input8
|
||||
"pasv"
|
||||
|
||||
#Input9
|
||||
"epsv"
|
||||
|
||||
#Input10
|
||||
"type"
|
||||
"size"
|
||||
|
||||
#Input11
|
||||
"mode"
|
||||
|
||||
#Input12
|
||||
"rnfr"
|
||||
"rnto"
|
||||
|
||||
#Input13
|
||||
"appe"
|
||||
|
||||
#Input14
|
||||
"allo"
|
||||
"quit"
|
||||
|
||||
#Input15
|
||||
"connect"
|
||||
|
||||
#Input16
|
||||
"esta"
|
||||
"estp"
|
||||
|
||||
#Input17
|
||||
"mdtm"
|
||||
"opts"
|
||||
"eprt"
|
||||
|
||||
#Input18
|
||||
"mfmt"
|
||||
"pret"
|
||||
"stou"
|
||||
"rest"
|
||||
|
||||
|
||||
#-------------------------------------
|
||||
"\x00"
|
||||
"\x0d\x0a"
|
||||
"\x0d"
|
||||
"\x0a"
|
||||
"-"
|
||||
"-a "
|
||||
"-C "
|
||||
"-d "
|
||||
"-F "
|
||||
"-l "
|
||||
"-r "
|
||||
"-R "
|
||||
"-S "
|
||||
"-t"
|
||||
" "
|
||||
"fuzzing"
|
||||
"test"
|
||||
"teste"
|
||||
".txt"
|
||||
"test.txt"
|
||||
" UTC"
|
||||
"C"
|
||||
"E"
|
||||
"P"
|
||||
"S"
|
||||
"abor"
|
||||
|
||||
#ifdef WITH_TLS
|
||||
"pbsz"
|
||||
"auth"
|
||||
"prot"
|
||||
"ccc"
|
||||
|
||||
#ifdef DEBUG
|
||||
"xdbg"
|
||||
|
||||
# ifdef WITH_DIRALIASES
|
||||
"alias"
|
373
dictionaries/graphviz.dict
Normal file
373
dictionaries/graphviz.dict
Normal file
@ -0,0 +1,373 @@
|
||||
# Semi-manually curated list of interesting words within a graphviz input file.
|
||||
# TODO(robhart): Consider expanding from:
|
||||
# - htmllex.c
|
||||
# - ?
|
||||
# Not included exhaustive list of colortables, fontnames, etc. that are unlikely
|
||||
# to influence core graphviz behaviour.
|
||||
|
||||
# Attributes (from http://www.graphviz.org/doc/info/attrs.html)
|
||||
"Damping"
|
||||
"K"
|
||||
"URL"
|
||||
"_background"
|
||||
"area"
|
||||
"arrowhead"
|
||||
"arrowsize"
|
||||
"arrowtail"
|
||||
"bb"
|
||||
"bgcolor"
|
||||
"colorList"
|
||||
"center"
|
||||
"charset"
|
||||
"clusterrank"
|
||||
"color"
|
||||
"colorList"
|
||||
"colorscheme"
|
||||
"comment"
|
||||
"compound"
|
||||
"concentrate"
|
||||
"constraint"
|
||||
"decorate"
|
||||
"defaultdist"
|
||||
"dim"
|
||||
"dimen"
|
||||
"dir"
|
||||
"diredgeconstraints"
|
||||
"distortion"
|
||||
"dpi"
|
||||
"edgeURL"
|
||||
"edgehref"
|
||||
"edgetarget"
|
||||
"edgetooltip"
|
||||
"epsilon"
|
||||
"esep"
|
||||
"fillcolor"
|
||||
"fixedsize"
|
||||
"fontcolor"
|
||||
"fontname"
|
||||
"fontnames"
|
||||
"fontpath"
|
||||
"fontsize"
|
||||
"forcelabels"
|
||||
"gradientangle"
|
||||
"group"
|
||||
"headURL"
|
||||
"head_lp"
|
||||
"headclip"
|
||||
"headhref"
|
||||
"headlabel"
|
||||
"headport"
|
||||
"headtarget"
|
||||
"headtooltip"
|
||||
"height"
|
||||
"href"
|
||||
"id"
|
||||
"image"
|
||||
"imagepath"
|
||||
"imagescale"
|
||||
"inputscale"
|
||||
"label"
|
||||
"labelURL"
|
||||
"label_scheme"
|
||||
"labelangle"
|
||||
"labeldistance"
|
||||
"labelfloat"
|
||||
"labelfontcolor"
|
||||
"labelfontname"
|
||||
"labelfontsize"
|
||||
"labelhref"
|
||||
"labeljust"
|
||||
"labelloc"
|
||||
"labeltarget"
|
||||
"labeltooltip"
|
||||
"landscape"
|
||||
"layer"
|
||||
"layerlistsep"
|
||||
"layers"
|
||||
"layerselect"
|
||||
"layersep"
|
||||
"layout"
|
||||
"len"
|
||||
"levels"
|
||||
"levelsgap"
|
||||
"lhead"
|
||||
"lheight"
|
||||
"lp"
|
||||
"ltail"
|
||||
"lwidth"
|
||||
"margin"
|
||||
"maxiter"
|
||||
"mclimit"
|
||||
"mindist"
|
||||
"minlen"
|
||||
"mode"
|
||||
"model"
|
||||
"mosek"
|
||||
"newrank"
|
||||
"nodesep"
|
||||
"nojustify"
|
||||
"normalize"
|
||||
"notranslate"
|
||||
"nslimit "
|
||||
"nslimit1"
|
||||
"ordering"
|
||||
"orientation"
|
||||
"OrientationGraph"
|
||||
"outputorder"
|
||||
"overlap"
|
||||
"overlap_scaling"
|
||||
"overlap_shrink"
|
||||
"pack"
|
||||
"packmode"
|
||||
"pad"
|
||||
"point"
|
||||
"page"
|
||||
"point"
|
||||
"pagedir"
|
||||
"pencolor"
|
||||
"penwidth"
|
||||
"peripheries"
|
||||
"pin"
|
||||
"pos"
|
||||
"splineType"
|
||||
"quadtree"
|
||||
"quantum"
|
||||
"rank"
|
||||
"rankdir"
|
||||
"ranksep"
|
||||
"ratio"
|
||||
"string"
|
||||
"rects"
|
||||
"regular"
|
||||
"remincross"
|
||||
"RemoveOverlaps"
|
||||
"repulsiveforce"
|
||||
"resolution"
|
||||
"root"
|
||||
"rotate"
|
||||
"rotation"
|
||||
"samehead"
|
||||
"sametail"
|
||||
"samplepoints"
|
||||
"scale"
|
||||
"searchsize"
|
||||
"sep"
|
||||
"setlinewidth"
|
||||
"shape"
|
||||
"shapefile"
|
||||
"showboxes"
|
||||
"sides"
|
||||
"size"
|
||||
"skew"
|
||||
"smoothing"
|
||||
"sortv"
|
||||
"splines"
|
||||
"string"
|
||||
"start"
|
||||
"style"
|
||||
"stylesheet"
|
||||
"tailURL"
|
||||
"tail_lp"
|
||||
"tailclip"
|
||||
"tailhref"
|
||||
"taillabel"
|
||||
"tailport"
|
||||
"tailtarget"
|
||||
"tailtooltip"
|
||||
"target"
|
||||
"tooltip"
|
||||
"truecolor"
|
||||
"vertices"
|
||||
"viewport"
|
||||
"voro_margin"
|
||||
"weight"
|
||||
"width"
|
||||
"xdotversion"
|
||||
"xlabel"
|
||||
"xlp"
|
||||
"z"
|
||||
|
||||
# Shapes (from shapes.c)
|
||||
"box"
|
||||
"polygon"
|
||||
"ellipse"
|
||||
"oval"
|
||||
"circle"
|
||||
"point"
|
||||
"egg"
|
||||
"triangle"
|
||||
"none"
|
||||
"plaintext"
|
||||
"plain"
|
||||
"diamond"
|
||||
"trapezium"
|
||||
"parallelogram"
|
||||
"house"
|
||||
"pentagon"
|
||||
"hexagon"
|
||||
"septagon"
|
||||
"octagon"
|
||||
"note"
|
||||
"tab"
|
||||
"folder"
|
||||
"box3d"
|
||||
"component"
|
||||
"cylinder"
|
||||
"rect"
|
||||
"rectangle"
|
||||
"square"
|
||||
"doublecircle"
|
||||
"doubleoctagon"
|
||||
"tripleoctagon"
|
||||
"invtriangle"
|
||||
"invtrapezium"
|
||||
"invhouse"
|
||||
"underline"
|
||||
"Mdiamond"
|
||||
"Msquare"
|
||||
"Mcircle"
|
||||
"DotGraphs"
|
||||
|
||||
"promoter"
|
||||
"cds"
|
||||
"terminator"
|
||||
"utr"
|
||||
"insulator"
|
||||
"ribosite"
|
||||
"rnastab"
|
||||
"proteasesite"
|
||||
"proteinstab"
|
||||
|
||||
"primersite"
|
||||
"restrictionsite"
|
||||
"fivepoverhang"
|
||||
"threepoverhang"
|
||||
"noverhang"
|
||||
"assembly"
|
||||
"signature"
|
||||
"rpromoter"
|
||||
"larrow"
|
||||
"rarrow"
|
||||
"lpromoter"
|
||||
|
||||
"record"
|
||||
"Mrecord"
|
||||
"epsf"
|
||||
"star"
|
||||
|
||||
# styles
|
||||
"bold"
|
||||
"dashed"
|
||||
"diagonals"
|
||||
"dotted"
|
||||
"filled"
|
||||
"invis"
|
||||
"radial"
|
||||
"rounded"
|
||||
"solid"
|
||||
"striped"
|
||||
"tapered"
|
||||
"wedged"
|
||||
|
||||
|
||||
# misc -- https://graphviz.gitlab.io/_pages/doc/info/lang.html
|
||||
"node"
|
||||
"edge"
|
||||
"digraph"
|
||||
"subgraph"
|
||||
"strict"
|
||||
"same"
|
||||
"->"
|
||||
"--"
|
||||
" {A B} "
|
||||
" a -- b "
|
||||
# Special value for the "shape" attribute
|
||||
"epsf"
|
||||
|
||||
# html
|
||||
"=\""
|
||||
"<table"
|
||||
"<tr"
|
||||
"<td"
|
||||
"<font"
|
||||
"<br"
|
||||
"<img"
|
||||
"<i"
|
||||
"<b"
|
||||
"<u"
|
||||
"<o"
|
||||
"<sub"
|
||||
"<sup"
|
||||
"<s"
|
||||
"<hr"
|
||||
"<vr"
|
||||
|
||||
# html attributes
|
||||
"align"
|
||||
"balign"
|
||||
"bgcolor"
|
||||
"border"
|
||||
"cellborder"
|
||||
"cellpadding"
|
||||
"cellspacing"
|
||||
"color"
|
||||
"colspan"
|
||||
"columns"
|
||||
"face"
|
||||
"fixedsize"
|
||||
"gradientangle"
|
||||
"height"
|
||||
"href"
|
||||
"id"
|
||||
"point-size"
|
||||
"port"
|
||||
"rows"
|
||||
"rowspan"
|
||||
"scale"
|
||||
"sides"
|
||||
"src"
|
||||
"style"
|
||||
"target"
|
||||
"title"
|
||||
"tooltip"
|
||||
"valign"
|
||||
"width"
|
||||
|
||||
# arrow spaces
|
||||
"box"
|
||||
"crow"
|
||||
"curve"
|
||||
"icurve"
|
||||
"diamond"
|
||||
"dot"
|
||||
"inv"
|
||||
"none"
|
||||
"normal"
|
||||
"tee"
|
||||
"vee"
|
||||
|
||||
|
||||
# Examples of parameters
|
||||
"%f"
|
||||
"50,50,.5,'2.8 BSD'"
|
||||
"100,100,2,450,-1"
|
||||
"none"
|
||||
"avg_dist"
|
||||
"graph_dist"
|
||||
"power_dist"
|
||||
"rng"
|
||||
"spring"
|
||||
"triangle"
|
||||
"same"
|
||||
"min"
|
||||
"source"
|
||||
"max"
|
||||
"sink"
|
||||
"node"
|
||||
"clust"
|
||||
"graph"
|
||||
"array_flags"
|
||||
"%2x"
|
||||
"%s"
|
||||
"%99$p"
|
||||
"%n"
|
76
dictionaries/heif.dict
Normal file
76
dictionaries/heif.dict
Normal file
@ -0,0 +1,76 @@
|
||||
# https://standards.iso.org/ittf/PubliclyAvailableStandards/c066067_ISO_IEC_23008-12_2017.zip
|
||||
|
||||
"altr"
|
||||
"auxC"
|
||||
"auxc"
|
||||
"auxi"
|
||||
"auxv"
|
||||
"avcC"
|
||||
"avci"
|
||||
"avcs"
|
||||
"ccst"
|
||||
"cdsc"
|
||||
"clap"
|
||||
"colr"
|
||||
"dimg"
|
||||
"dinf"
|
||||
"dref"
|
||||
"elst"
|
||||
"equi"
|
||||
"free"
|
||||
"frma"
|
||||
"ftyp"
|
||||
"grid"
|
||||
"grp1"
|
||||
"hdlr"
|
||||
"heic"
|
||||
"heim"
|
||||
"heis"
|
||||
"heix"
|
||||
"hevc"
|
||||
"hevx"
|
||||
"hvc1"
|
||||
"hvc2"
|
||||
"hvcC"
|
||||
"idat"
|
||||
"iden"
|
||||
"iinf"
|
||||
"iloc"
|
||||
"imir"
|
||||
"infe"
|
||||
"iovl"
|
||||
"ipro"
|
||||
"iprp"
|
||||
"iref"
|
||||
"irot"
|
||||
"ispe"
|
||||
"jpeg"
|
||||
"jpgC"
|
||||
"jpgs"
|
||||
"lhv1"
|
||||
"lhvC"
|
||||
"lsel"
|
||||
"mdat"
|
||||
"meta"
|
||||
"mif1"
|
||||
"mime"
|
||||
"mjpg"
|
||||
"msf1"
|
||||
"oinf"
|
||||
"pasp"
|
||||
"pict"
|
||||
"pitm"
|
||||
"pixi"
|
||||
"refs"
|
||||
"rloc"
|
||||
"schi"
|
||||
"schm"
|
||||
"sgpd"
|
||||
"sinf"
|
||||
"skip"
|
||||
"stsz"
|
||||
"subs"
|
||||
"thmb"
|
||||
"tkhd"
|
||||
"tols"
|
||||
"trak"
|
49
dictionaries/hoextdown.dict
Normal file
49
dictionaries/hoextdown.dict
Normal file
@ -0,0 +1,49 @@
|
||||
asterisk="*"
|
||||
attr_generic=" a=\"1\""
|
||||
attr_href=" href=\"1\""
|
||||
attr_xml_lang=" xml:lang=\"1\""
|
||||
attr_xmlns=" xmlns=\"1\""
|
||||
backslash="\\"
|
||||
backtick="`"
|
||||
colon=":"
|
||||
dashes="---"
|
||||
double_quote="\""
|
||||
entity_builtin="<"
|
||||
entity_decimal=""
|
||||
entity_external="&a;"
|
||||
entity_hex=""
|
||||
equals="==="
|
||||
exclamation="!"
|
||||
greater_than=">"
|
||||
hash="#"
|
||||
hyphen="-"
|
||||
indent=" "
|
||||
left_bracket="["
|
||||
left_paren="("
|
||||
less_than="<"
|
||||
plus="+"
|
||||
right_bracket="]"
|
||||
right_paren=")"
|
||||
single_quote="'"
|
||||
string_any="ANY"
|
||||
string_brackets="[]"
|
||||
string_cdata="CDATA"
|
||||
string_dashes="--"
|
||||
string_empty_dblquotes="\"\""
|
||||
string_empty_quotes="''"
|
||||
string_idrefs="IDREFS"
|
||||
string_parentheses="()"
|
||||
string_pcdata="#PCDATA"
|
||||
tag_cdata="<![CDATA["
|
||||
tag_close="</a>"
|
||||
tag_doctype="<!DOCTYPE"
|
||||
tag_element="<!ELEMENT"
|
||||
tag_entity="<!ENTITY"
|
||||
tag_notation="<!NOTATION"
|
||||
tag_open="<a>"
|
||||
tag_open_close="<a />"
|
||||
tag_open_exclamation="<!"
|
||||
tag_open_q="<?"
|
||||
tag_sq2_close="]]>"
|
||||
tag_xml_q="<?xml?>"
|
||||
underscore="_"
|
119
dictionaries/http.dict
Normal file
119
dictionaries/http.dict
Normal file
@ -0,0 +1,119 @@
|
||||
# Sources: https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
|
||||
|
||||
# misc
|
||||
"HTTP/1.1"
|
||||
|
||||
# verbs
|
||||
"CONNECT"
|
||||
"DELETE"
|
||||
"GET"
|
||||
"HEAD"
|
||||
"OPTIONS"
|
||||
"PATCH"
|
||||
"POST"
|
||||
"PUT"
|
||||
"TRACE"
|
||||
|
||||
|
||||
# Fields
|
||||
"A-IM"
|
||||
"Accept"
|
||||
"Accept-Charset"
|
||||
"Accept-Datetime"
|
||||
"Accept-Encoding"
|
||||
"Accept-Language"
|
||||
"Accept-Patch"
|
||||
"Accept-Ranges"
|
||||
"Access-Control-Allow-Credentials"
|
||||
"Access-Control-Allow-Headers"
|
||||
"Access-Control-Allow-Methods"
|
||||
"Access-Control-Allow-Origin"
|
||||
"Access-Control-Expose-Headers"
|
||||
"Access-Control-Max-Age"
|
||||
"Access-Control-Request-Headers"
|
||||
"Access-Control-Request-Method"
|
||||
"Age"
|
||||
"Allow"
|
||||
"Alt-Svc"
|
||||
"Authorization"
|
||||
"Cache-Control"
|
||||
"Connection"
|
||||
"Connection:"
|
||||
"Content-Disposition"
|
||||
"Content-Encoding"
|
||||
"Content-Language"
|
||||
"Content-Length"
|
||||
"Content-Location"
|
||||
"Content-MD5"
|
||||
"Content-Range"
|
||||
"Content-Security-Policy"
|
||||
"Content-Type"
|
||||
"Cookie"
|
||||
"DNT"
|
||||
"Date"
|
||||
"Delta-Base"
|
||||
"ETag"
|
||||
"Expect"
|
||||
"Expires"
|
||||
"Forwarded"
|
||||
"From"
|
||||
"Front-End-Https"
|
||||
"HTTP2-Settings"
|
||||
"Host"
|
||||
"IM"
|
||||
"If-Match"
|
||||
"If-Modified-Since"
|
||||
"If-None-Match"
|
||||
"If-Range"
|
||||
"If-Unmodified-Since"
|
||||
"Last-Modified"
|
||||
"Link"
|
||||
"Location"
|
||||
"Max-Forwards"
|
||||
"Origin"
|
||||
"P3P"
|
||||
"Pragma"
|
||||
"Proxy-Authenticate"
|
||||
"Proxy-Authorization"
|
||||
"Proxy-Connection"
|
||||
"Public-Key-Pins"
|
||||
"Range"
|
||||
"Referer"
|
||||
"Refresh"
|
||||
"Retry-After"
|
||||
"Save-Data"
|
||||
"Server"
|
||||
"Set-Cookie"
|
||||
"Status"
|
||||
"Strict-Transport-Security"
|
||||
"TE"
|
||||
"Timing-Allow-Origin"
|
||||
"Tk"
|
||||
"Trailer"
|
||||
"Transfer-Encoding"
|
||||
"Upgrade"
|
||||
"Upgrade-Insecure-Requests"
|
||||
"User-Agent"
|
||||
"Vary"
|
||||
"Via"
|
||||
"WWW-Authenticate"
|
||||
"Warning"
|
||||
"X-ATT-DeviceId"
|
||||
"X-Content-Duration"
|
||||
"X-Content-Security-Policy"
|
||||
"X-Content-Type-Options"
|
||||
"X-Correlation-ID"
|
||||
"X-Csrf-Token"
|
||||
"X-Forwarded-For"
|
||||
"X-Forwarded-Host"
|
||||
"X-Forwarded-Proto"
|
||||
"X-Frame-Options"
|
||||
"X-Http-Method-Override"
|
||||
"X-Powered-By"
|
||||
"X-Request-ID"
|
||||
"X-Requested-With"
|
||||
"X-UA-Compatible"
|
||||
"X-UIDH"
|
||||
"X-Wap-Profile"
|
||||
"X-WebKit-CSP"
|
||||
"X-XSS-Protection"
|
591
dictionaries/icc.dict
Normal file
591
dictionaries/icc.dict
Normal file
@ -0,0 +1,591 @@
|
||||
# See http://www.color.org/specification/ICC.2-2019.pdf
|
||||
|
||||
magic="acsp"
|
||||
|
||||
# spectral encoding
|
||||
"rs"
|
||||
"ts"
|
||||
"es"
|
||||
"bs"
|
||||
"sm"
|
||||
"mc"
|
||||
|
||||
# Profile classes
|
||||
"scnr"
|
||||
"mntr"
|
||||
"prtr"
|
||||
"link"
|
||||
"spac"
|
||||
"abst"
|
||||
"nmcl"
|
||||
"cenc"
|
||||
"mod "
|
||||
"mlnk"
|
||||
"mvis"
|
||||
|
||||
# Data colour space field
|
||||
"XYZ "
|
||||
"Lab "
|
||||
"Luv "
|
||||
"YVbr"
|
||||
"Yxy "
|
||||
"LMS "
|
||||
"RGB "
|
||||
"GRAY"
|
||||
"HSV "
|
||||
"HLS "
|
||||
"CMYK"
|
||||
"CMY "
|
||||
"2CLR"
|
||||
"3CLR"
|
||||
"4CLR"
|
||||
"5CLR"
|
||||
"6CLR"
|
||||
"7CLR"
|
||||
"8CLR"
|
||||
"9CLR"
|
||||
"ACLR"
|
||||
"BCLR"
|
||||
"CCLR"
|
||||
"DCLR"
|
||||
"ECLR"
|
||||
"FCLR"
|
||||
"nc"
|
||||
"YCC"
|
||||
|
||||
# primary platforms
|
||||
"APPL"
|
||||
"MSFT"
|
||||
"SGI "
|
||||
"SUNW"
|
||||
|
||||
|
||||
# Tags
|
||||
"A2B0"
|
||||
"A2B1"
|
||||
"A2B2"
|
||||
"A2B3"
|
||||
"A2M0"
|
||||
"bcp0"
|
||||
"bcp1"
|
||||
"bcp2"
|
||||
"bcp3"
|
||||
"bsp0"
|
||||
"bsp1"
|
||||
"bsp2"
|
||||
"bsp3"
|
||||
"bAB0"
|
||||
"bAB1"
|
||||
"bAB2"
|
||||
"bAB3"
|
||||
"bBA0"
|
||||
"bBA1"
|
||||
"bBA2"
|
||||
"bBA3"
|
||||
"bBD0"
|
||||
"bBD1"
|
||||
"bBD2"
|
||||
"bBD3"
|
||||
"bDB0"
|
||||
"bDB1"
|
||||
"bDB2"
|
||||
"bDB3"
|
||||
"bMB0"
|
||||
"bMB1"
|
||||
"bMB2"
|
||||
"bMB3"
|
||||
"bMS0"
|
||||
"bMS1"
|
||||
"bMS2"
|
||||
"bMS3"
|
||||
"B2A0"
|
||||
"B2A1"
|
||||
"B2A2"
|
||||
"B2A3"
|
||||
"B2D0"
|
||||
"B2D1"
|
||||
"B2D2"
|
||||
"B2D3"
|
||||
"calt"
|
||||
"targ"
|
||||
"cept"
|
||||
"csnm"
|
||||
"clro"
|
||||
"cloo"
|
||||
"clin"
|
||||
"clio"
|
||||
"ciis"
|
||||
"cprt"
|
||||
"c2sp"
|
||||
"cxF "
|
||||
"dmnd"
|
||||
"dmdd"
|
||||
"dAB0"
|
||||
"dAB2"
|
||||
"dAB3"
|
||||
"dAB4"
|
||||
"dBA0"
|
||||
"dBA1"
|
||||
"dBA2"
|
||||
"dBA3"
|
||||
"dBD0"
|
||||
"dBD1"
|
||||
"dBD2"
|
||||
"dBD3"
|
||||
"dDB0"
|
||||
"dDB1"
|
||||
"dDB2"
|
||||
"dDB3"
|
||||
"d2B0"
|
||||
"d2B1"
|
||||
"d2B2"
|
||||
"d2B3"
|
||||
"gbd0"
|
||||
"gbd1"
|
||||
"gbd2"
|
||||
"gbd3"
|
||||
"mdv "
|
||||
"mcta"
|
||||
"minf"
|
||||
"miin"
|
||||
"wtpt"
|
||||
"meta"
|
||||
"M2A0"
|
||||
"M2B0"
|
||||
"M2B1"
|
||||
"M2B2"
|
||||
"M2B3"
|
||||
"M2S0"
|
||||
"M2S1"
|
||||
"M2S2"
|
||||
"M2S3"
|
||||
"nmcl"
|
||||
"rig0"
|
||||
"desc"
|
||||
"psin"
|
||||
"rfnm"
|
||||
"rig2"
|
||||
"svcn"
|
||||
"swpt"
|
||||
"s2cp"
|
||||
"smap"
|
||||
"tech"
|
||||
|
||||
# tag types
|
||||
"clro"
|
||||
"curv"
|
||||
"data"
|
||||
"dtim"
|
||||
"dict"
|
||||
"ehim"
|
||||
"enim"
|
||||
"fl16"
|
||||
"fl32"
|
||||
"fl64"
|
||||
"gbd "
|
||||
"mAB "
|
||||
"mBA "
|
||||
"meas"
|
||||
"mluc"
|
||||
"mpet"
|
||||
"para"
|
||||
"sf32"
|
||||
"sig "
|
||||
"smat"
|
||||
"tary"
|
||||
"tstr"
|
||||
"ui32"
|
||||
"ui64"
|
||||
"ui08"
|
||||
"ut16"
|
||||
"utf8"
|
||||
"zut8"
|
||||
"zxml"
|
||||
|
||||
# Function operands
|
||||
"calc"
|
||||
"func"
|
||||
"true"
|
||||
"ndef"
|
||||
"env "
|
||||
"in "
|
||||
"out "
|
||||
"tget"
|
||||
"tput"
|
||||
"tsav"
|
||||
"curv"
|
||||
"mtx "
|
||||
"clut"
|
||||
"tint"
|
||||
"elem"
|
||||
"copy"
|
||||
"rotl"
|
||||
"rotr"
|
||||
"posd"
|
||||
"flip"
|
||||
"pop "
|
||||
"solv"
|
||||
"tran"
|
||||
"sum "
|
||||
"prod"
|
||||
"min "
|
||||
"max "
|
||||
"and "
|
||||
"or "
|
||||
"pi "
|
||||
"+INF"
|
||||
"-INF"
|
||||
"NaN "
|
||||
"add "
|
||||
"sub "
|
||||
"mul "
|
||||
"dic "
|
||||
"mod "
|
||||
"pow "
|
||||
"gama"
|
||||
"sadd"
|
||||
"ssub"
|
||||
"sdiv"
|
||||
"smul"
|
||||
"sq "
|
||||
"sqrt"
|
||||
"cb "
|
||||
"cbrt"
|
||||
"abs "
|
||||
"neg "
|
||||
"rond"
|
||||
"flor"
|
||||
"ceil"
|
||||
"trnc"
|
||||
"sign"
|
||||
"exp "
|
||||
"log "
|
||||
"ln "
|
||||
"sin "
|
||||
"cos "
|
||||
"tan "
|
||||
"asin"
|
||||
"acos"
|
||||
"atan"
|
||||
"atn2"
|
||||
"ctop"
|
||||
"ptoc"
|
||||
"rnum"
|
||||
"lt "
|
||||
"le "
|
||||
"eq"
|
||||
"near"
|
||||
"ge "
|
||||
"gt "
|
||||
"vmin"
|
||||
"vmax"
|
||||
"vand"
|
||||
"vor "
|
||||
"tLab"
|
||||
"tXYZ"
|
||||
"if "
|
||||
"else"
|
||||
"sel "
|
||||
"case"
|
||||
"dflt"
|
||||
"cvst"
|
||||
"sngf"
|
||||
"curf"
|
||||
"parf"
|
||||
"smaf"
|
||||
"clut"
|
||||
"eclt"
|
||||
"emtx"
|
||||
"eobs"
|
||||
"xclt"
|
||||
"iemx"
|
||||
"JtoX"
|
||||
"matf"
|
||||
"smet"
|
||||
"rclt"
|
||||
"robs"
|
||||
"tint"
|
||||
"XtoJ"
|
||||
"bACS"
|
||||
"eACS"
|
||||
"brdf"
|
||||
"type"
|
||||
"func"
|
||||
"nump"
|
||||
"xfrm"
|
||||
"BPh0"
|
||||
"BPh1"
|
||||
"CT10"
|
||||
"CT20"
|
||||
"CT30"
|
||||
"CT11"
|
||||
"CT21"
|
||||
"CT31"
|
||||
"War0"
|
||||
"War1"
|
||||
"La10"
|
||||
"La20"
|
||||
"La30"
|
||||
"La11"
|
||||
"La21"
|
||||
"La31"
|
||||
"name"
|
||||
"lcnm"
|
||||
"pcs "
|
||||
"spec"
|
||||
"spcb"
|
||||
"spcg"
|
||||
"ncol"
|
||||
"pinf"
|
||||
|
||||
# from oss-fuzz, some duplicates
|
||||
# Fuzzing dictionary for icc
|
||||
# Extracted from lcms2.h of Little-CMS project 2.8.
|
||||
|
||||
magic="acsp"
|
||||
sig="lcms"
|
||||
|
||||
# Base ICC type definitions
|
||||
"chrm"
|
||||
"clro"
|
||||
"clrt"
|
||||
"crdi"
|
||||
"curv"
|
||||
"data"
|
||||
"dict"
|
||||
"dtim"
|
||||
"devs"
|
||||
"mft2"
|
||||
"mft1"
|
||||
"mAB "
|
||||
"mBA "
|
||||
"meas"
|
||||
"mluc"
|
||||
"mpet"
|
||||
"ncol"
|
||||
"ncl2"
|
||||
"para"
|
||||
"pseq"
|
||||
"psid"
|
||||
"rcs2"
|
||||
"sf32"
|
||||
"scrn"
|
||||
"sig "
|
||||
"text"
|
||||
"desc"
|
||||
"uf32"
|
||||
"bfd "
|
||||
"ui16"
|
||||
"ui32"
|
||||
"ui64"
|
||||
"ui08"
|
||||
"vcgt"
|
||||
"view"
|
||||
"XYZ "
|
||||
|
||||
# Base ICC tag definitions
|
||||
"A2B0"
|
||||
"A2B1"
|
||||
"A2B2"
|
||||
"bXYZ"
|
||||
"bXYZ"
|
||||
"bTRC"
|
||||
"B2A0"
|
||||
"B2A1"
|
||||
"B2A2"
|
||||
"calt"
|
||||
"targ"
|
||||
"chad"
|
||||
"chrm"
|
||||
"clro"
|
||||
"clrt"
|
||||
"clot"
|
||||
"ciis"
|
||||
"cprt"
|
||||
"crdi"
|
||||
"data"
|
||||
"dtim"
|
||||
"dmnd"
|
||||
"dmdd"
|
||||
"devs"
|
||||
"D2B0"
|
||||
"D2B1"
|
||||
"D2B2"
|
||||
"D2B3"
|
||||
"B2D0"
|
||||
"B2D1"
|
||||
"B2D2"
|
||||
"B2D3"
|
||||
"gamt"
|
||||
"kTRC"
|
||||
"gXYZ"
|
||||
"gXYZ"
|
||||
"gTRC"
|
||||
"lumi"
|
||||
"meas"
|
||||
"bkpt"
|
||||
"wtpt"
|
||||
"ncol"
|
||||
"ncl2"
|
||||
"resp"
|
||||
"rig0"
|
||||
"pre0"
|
||||
"pre1"
|
||||
"pre2"
|
||||
"desc"
|
||||
"dscm"
|
||||
"pseq"
|
||||
"psid"
|
||||
"psd0"
|
||||
"psd1"
|
||||
"psd2"
|
||||
"psd3"
|
||||
"ps2s"
|
||||
"ps2i"
|
||||
"rXYZ"
|
||||
"rXYZ"
|
||||
"rTRC"
|
||||
"rig2"
|
||||
"scrd"
|
||||
"scrn"
|
||||
"tech"
|
||||
"bfd "
|
||||
"vued"
|
||||
"view"
|
||||
"vcgt"
|
||||
"meta"
|
||||
"arts"
|
||||
|
||||
# ICC Technology tag
|
||||
"dcam"
|
||||
"fscn"
|
||||
"rscn"
|
||||
"ijet"
|
||||
"twax"
|
||||
"epho"
|
||||
"esta"
|
||||
"dsub"
|
||||
"rpho"
|
||||
"fprn"
|
||||
"vidm"
|
||||
"vidc"
|
||||
"pjtv"
|
||||
"CRT "
|
||||
"PMD "
|
||||
"AMD "
|
||||
"KPCD"
|
||||
"imgs"
|
||||
"grav"
|
||||
"offs"
|
||||
"silk"
|
||||
"flex"
|
||||
"mpfs"
|
||||
"mpfr"
|
||||
"dmpc"
|
||||
"dcpj"
|
||||
|
||||
# ICC Color spaces
|
||||
"XYZ "
|
||||
"Lab "
|
||||
"Luv "
|
||||
"YCbr"
|
||||
"Yxy "
|
||||
"RGB "
|
||||
"GRAY"
|
||||
"HSV "
|
||||
"HLS "
|
||||
"CMYK"
|
||||
"CMY "
|
||||
"MCH1"
|
||||
"MCH2"
|
||||
"MCH3"
|
||||
"MCH4"
|
||||
"MCH5"
|
||||
"MCH6"
|
||||
"MCH7"
|
||||
"MCH8"
|
||||
"MCH9"
|
||||
"MCHA"
|
||||
"MCHB"
|
||||
"MCHC"
|
||||
"MCHD"
|
||||
"MCHE"
|
||||
"MCHF"
|
||||
"nmcl"
|
||||
"1CLR"
|
||||
"2CLR"
|
||||
"3CLR"
|
||||
"4CLR"
|
||||
"5CLR"
|
||||
"6CLR"
|
||||
"7CLR"
|
||||
"8CLR"
|
||||
"9CLR"
|
||||
"ACLR"
|
||||
"BCLR"
|
||||
"CCLR"
|
||||
"DCLR"
|
||||
"ECLR"
|
||||
"FCLR"
|
||||
"LuvK"
|
||||
|
||||
# ICC Profile Class
|
||||
"scnr"
|
||||
"mntr"
|
||||
"prtr"
|
||||
"link"
|
||||
"abst"
|
||||
"spac"
|
||||
"nmcl"
|
||||
|
||||
# ICC Platforms
|
||||
"APPL"
|
||||
"MSFT"
|
||||
"SUNW"
|
||||
"SGI "
|
||||
"TGNT"
|
||||
"*nix"
|
||||
|
||||
# Reference gamut
|
||||
"prmg"
|
||||
|
||||
# For cmsSigColorimetricIntentImageStateTag
|
||||
"scoe"
|
||||
"sape"
|
||||
"fpce"
|
||||
"rhoc"
|
||||
"rpoc"
|
||||
|
||||
# Multi process elements types
|
||||
"cvst"
|
||||
"matf"
|
||||
"clut"
|
||||
"bACS"
|
||||
"eACS"
|
||||
"l2x "
|
||||
"x2l "
|
||||
"ncl "
|
||||
"2 4 "
|
||||
"4 2 "
|
||||
"idn "
|
||||
"d2l "
|
||||
"l2d "
|
||||
"d2x "
|
||||
"x2d "
|
||||
"clp "
|
||||
|
||||
# Types of CurveElements
|
||||
"parf"
|
||||
"samf"
|
||||
"curf"
|
||||
|
||||
# Used in ResponseCurveType
|
||||
"StaA"
|
||||
"StaE"
|
||||
"StaI"
|
||||
"StaT"
|
||||
"StaM"
|
||||
"DN "
|
||||
"DN P"
|
||||
"DNN "
|
||||
"DNNP"
|
25
dictionaries/iccprofile.dict
Normal file
25
dictionaries/iccprofile.dict
Normal file
@ -0,0 +1,25 @@
|
||||
# Dict for ICC profiles parsed by skcms.
|
||||
|
||||
"mft1"
|
||||
"mft2"
|
||||
"mAB "
|
||||
"rXYZ"
|
||||
"gXYZ"
|
||||
"bXYZ"
|
||||
"rTRC"
|
||||
"gTRC"
|
||||
"bTRC"
|
||||
"kTRC"
|
||||
"A2B0"
|
||||
"curv"
|
||||
"para"
|
||||
"mluc"
|
||||
"XYZ "
|
||||
"Lab "
|
||||
"RGB "
|
||||
"CMYK"
|
||||
"GRAY"
|
||||
"mntr"
|
||||
"scnr"
|
||||
"prtr"
|
||||
"spac"
|
43
dictionaries/icns.dict
Normal file
43
dictionaries/icns.dict
Normal file
@ -0,0 +1,43 @@
|
||||
# https://en.wikipedia.org/wiki/Apple_Icon_Image_format
|
||||
|
||||
"ICN#"
|
||||
"ICON"
|
||||
"TOC "
|
||||
"h8mk"
|
||||
"ic04"
|
||||
"ic05"
|
||||
"ic07"
|
||||
"ic08"
|
||||
"ic09"
|
||||
"ic10"
|
||||
"ic11"
|
||||
"ic12"
|
||||
"ic13"
|
||||
"ic14"
|
||||
"ich#"
|
||||
"ich4"
|
||||
"ich8"
|
||||
"icl4"
|
||||
"icl8"
|
||||
"icm#"
|
||||
"icm4"
|
||||
"icm8"
|
||||
"icnV"
|
||||
"icns"
|
||||
"icp4"
|
||||
"icp5"
|
||||
"icp6"
|
||||
"ics#"
|
||||
"ics4"
|
||||
"ics8"
|
||||
"icsB"
|
||||
"icsb"
|
||||
"ih32"
|
||||
"il32"
|
||||
"info"
|
||||
"is32"
|
||||
"it32"
|
||||
"l8mk"
|
||||
"name"
|
||||
"s8mk"
|
||||
"t8mk"
|
688
dictionaries/initfile.dict
Normal file
688
dictionaries/initfile.dict
Normal file
@ -0,0 +1,688 @@
|
||||
#SELECT WORD FROM INFORMATION_SCHEMA.KEYWORDS;
|
||||
ACCESSIBLE="ACCESSIBLE"
|
||||
ACCOUNT="ACCOUNT"
|
||||
ACTION="ACTION"
|
||||
ACTIVE="ACTIVE"
|
||||
ADD="ADD"
|
||||
ADMIN="ADMIN"
|
||||
AFTER="AFTER"
|
||||
AGAINST="AGAINST"
|
||||
AGGREGATE="AGGREGATE"
|
||||
ALGORITHM="ALGORITHM"
|
||||
ALL="ALL"
|
||||
ALTER="ALTER"
|
||||
ALWAYS="ALWAYS"
|
||||
ANALYZE="ANALYZE"
|
||||
AND="AND"
|
||||
ANY="ANY"
|
||||
AS="AS"
|
||||
ASC="ASC"
|
||||
ASCII="ASCII"
|
||||
ASENSITIVE="ASENSITIVE"
|
||||
AT="AT"
|
||||
AUTOEXTEND_SIZE="AUTOEXTEND_SIZE"
|
||||
AUTO_INCREMENT="AUTO_INCREMENT"
|
||||
AVG="AVG"
|
||||
AVG_ROW_LENGTH="AVG_ROW_LENGTH"
|
||||
BACKUP="BACKUP"
|
||||
BEFORE="BEFORE"
|
||||
BEGIN="BEGIN"
|
||||
BETWEEN="BETWEEN"
|
||||
BIGINT="BIGINT"
|
||||
BINARY="BINARY"
|
||||
BINLOG="BINLOG"
|
||||
BIT="BIT"
|
||||
BLOB="BLOB"
|
||||
BLOCK="BLOCK"
|
||||
BOOL="BOOL"
|
||||
BOOLEAN="BOOLEAN"
|
||||
BOTH="BOTH"
|
||||
BTREE="BTREE"
|
||||
BUCKETS="BUCKETS"
|
||||
BY="BY"
|
||||
BYTE="BYTE"
|
||||
CACHE="CACHE"
|
||||
CALL="CALL"
|
||||
CASCADE="CASCADE"
|
||||
CASCADED="CASCADED"
|
||||
CASE="CASE"
|
||||
CATALOG_NAME="CATALOG_NAME"
|
||||
CHAIN="CHAIN"
|
||||
CHANGE="CHANGE"
|
||||
CHANGED="CHANGED"
|
||||
CHANNEL="CHANNEL"
|
||||
CHAR="CHAR"
|
||||
CHARACTER="CHARACTER"
|
||||
CHARSET="CHARSET"
|
||||
CHECK="CHECK"
|
||||
CHECKSUM="CHECKSUM"
|
||||
CIPHER="CIPHER"
|
||||
CLASS_ORIGIN="CLASS_ORIGIN"
|
||||
CLIENT="CLIENT"
|
||||
CLONE="CLONE"
|
||||
CLOSE="CLOSE"
|
||||
COALESCE="COALESCE"
|
||||
CODE="CODE"
|
||||
COLLATE="COLLATE"
|
||||
COLLATION="COLLATION"
|
||||
COLUMN="COLUMN"
|
||||
COLUMNS="COLUMNS"
|
||||
COLUMN_FORMAT="COLUMN_FORMAT"
|
||||
COLUMN_NAME="COLUMN_NAME"
|
||||
COMMENT="COMMENT"
|
||||
COMMIT="COMMIT"
|
||||
COMMITTED="COMMITTED"
|
||||
COMPACT="COMPACT"
|
||||
COMPLETION="COMPLETION"
|
||||
COMPONENT="COMPONENT"
|
||||
COMPRESSED="COMPRESSED"
|
||||
COMPRESSION="COMPRESSION"
|
||||
CONCURRENT="CONCURRENT"
|
||||
CONDITION="CONDITION"
|
||||
CONNECTION="CONNECTION"
|
||||
CONSISTENT="CONSISTENT"
|
||||
CONSTRAINT="CONSTRAINT"
|
||||
CONSTRAINT_CATALOG="CONSTRAINT_CATALOG"
|
||||
CONSTRAINT_NAME="CONSTRAINT_NAME"
|
||||
CONSTRAINT_SCHEMA="CONSTRAINT_SCHEMA"
|
||||
CONTAINS="CONTAINS"
|
||||
CONTEXT="CONTEXT"
|
||||
CONTINUE="CONTINUE"
|
||||
CONVERT="CONVERT"
|
||||
CPU="CPU"
|
||||
CREATE="CREATE"
|
||||
CROSS="CROSS"
|
||||
CUBE="CUBE"
|
||||
CUME_DIST="CUME_DIST"
|
||||
CURRENT="CURRENT"
|
||||
CURRENT_DATE="CURRENT_DATE"
|
||||
CURRENT_TIME="CURRENT_TIME"
|
||||
CURRENT_TIMESTAMP="CURRENT_TIMESTAMP"
|
||||
CURRENT_USER="CURRENT_USER"
|
||||
CURSOR="CURSOR"
|
||||
CURSOR_NAME="CURSOR_NAME"
|
||||
DATA="DATA"
|
||||
DATABASE="DATABASE"
|
||||
DATABASES="DATABASES"
|
||||
DATAFILE="DATAFILE"
|
||||
DATE="DATE"
|
||||
DATETIME="DATETIME"
|
||||
DAY="DAY"
|
||||
DAY_HOUR="DAY_HOUR"
|
||||
DAY_MICROSECOND="DAY_MICROSECOND"
|
||||
DAY_MINUTE="DAY_MINUTE"
|
||||
DAY_SECOND="DAY_SECOND"
|
||||
DEALLOCATE="DEALLOCATE"
|
||||
DEC="DEC"
|
||||
DECIMAL="DECIMAL"
|
||||
DECLARE="DECLARE"
|
||||
DEFAULT="DEFAULT"
|
||||
DEFAULT_AUTH="DEFAULT_AUTH"
|
||||
DEFINER="DEFINER"
|
||||
DEFINITION="DEFINITION"
|
||||
DELAYED="DELAYED"
|
||||
DELAY_KEY_WRITE="DELAY_KEY_WRITE"
|
||||
DELETE="DELETE"
|
||||
DENSE_RANK="DENSE_RANK"
|
||||
DESC="DESC"
|
||||
DESCRIBE="DESCRIBE"
|
||||
DESCRIPTION="DESCRIPTION"
|
||||
DETERMINISTIC="DETERMINISTIC"
|
||||
DIAGNOSTICS="DIAGNOSTICS"
|
||||
DIRECTORY="DIRECTORY"
|
||||
DISABLE="DISABLE"
|
||||
DISCARD="DISCARD"
|
||||
DISK="DISK"
|
||||
DISTINCT="DISTINCT"
|
||||
DISTINCTROW="DISTINCTROW"
|
||||
DIV="DIV"
|
||||
DO="DO"
|
||||
DOUBLE="DOUBLE"
|
||||
DROP="DROP"
|
||||
DUAL="DUAL"
|
||||
DUMPFILE="DUMPFILE"
|
||||
DUPLICATE="DUPLICATE"
|
||||
DYNAMIC="DYNAMIC"
|
||||
EACH="EACH"
|
||||
ELSE="ELSE"
|
||||
ELSEIF="ELSEIF"
|
||||
EMPTY="EMPTY"
|
||||
ENABLE="ENABLE"
|
||||
ENCLOSED="ENCLOSED"
|
||||
ENCRYPTION="ENCRYPTION"
|
||||
END="END"
|
||||
ENDS="ENDS"
|
||||
ENFORCED="ENFORCED"
|
||||
ENGINE="ENGINE"
|
||||
ENGINES="ENGINES"
|
||||
ENUM="ENUM"
|
||||
ERROR="ERROR"
|
||||
ERRORS="ERRORS"
|
||||
ESCAPE="ESCAPE"
|
||||
ESCAPED="ESCAPED"
|
||||
EVENT="EVENT"
|
||||
EVENTS="EVENTS"
|
||||
EVERY="EVERY"
|
||||
EXCEPT="EXCEPT"
|
||||
EXCHANGE="EXCHANGE"
|
||||
EXCLUDE="EXCLUDE"
|
||||
EXECUTE="EXECUTE"
|
||||
EXISTS="EXISTS"
|
||||
EXIT="EXIT"
|
||||
EXPANSION="EXPANSION"
|
||||
EXPIRE="EXPIRE"
|
||||
EXPLAIN="EXPLAIN"
|
||||
EXPORT="EXPORT"
|
||||
EXTENDED="EXTENDED"
|
||||
EXTENT_SIZE="EXTENT_SIZE"
|
||||
FALSE="FALSE"
|
||||
FAST="FAST"
|
||||
FAULTS="FAULTS"
|
||||
FETCH="FETCH"
|
||||
FIELDS="FIELDS"
|
||||
FILE="FILE"
|
||||
FILE_BLOCK_SIZE="FILE_BLOCK_SIZE"
|
||||
FILTER="FILTER"
|
||||
FIRST="FIRST"
|
||||
FIRST_VALUE="FIRST_VALUE"
|
||||
FIXED="FIXED"
|
||||
FLOAT="FLOAT"
|
||||
FLOAT4="FLOAT4"
|
||||
FLOAT8="FLOAT8"
|
||||
FLUSH="FLUSH"
|
||||
FOLLOWING="FOLLOWING"
|
||||
FOLLOWS="FOLLOWS"
|
||||
FOR="FOR"
|
||||
FORCE="FORCE"
|
||||
FOREIGN="FOREIGN"
|
||||
FORMAT="FORMAT"
|
||||
FOUND="FOUND"
|
||||
FROM="FROM"
|
||||
FULL="FULL"
|
||||
FULLTEXT="FULLTEXT"
|
||||
FUNCTION="FUNCTION"
|
||||
GENERAL="GENERAL"
|
||||
GENERATED="GENERATED"
|
||||
GEOMCOLLECTION="GEOMCOLLECTION"
|
||||
GEOMETRY="GEOMETRY"
|
||||
GEOMETRYCOLLECTION="GEOMETRYCOLLECTION"
|
||||
GET="GET"
|
||||
GET_FORMAT="GET_FORMAT"
|
||||
GET_MASTER_PUBLIC_KEY="GET_MASTER_PUBLIC_KEY"
|
||||
GLOBAL="GLOBAL"
|
||||
GRANT="GRANT"
|
||||
GRANTS="GRANTS"
|
||||
GROUP="GROUP"
|
||||
GROUPING="GROUPING"
|
||||
GROUPS="GROUPS"
|
||||
GROUP_REPLICATION="GROUP_REPLICATION"
|
||||
HANDLER="HANDLER"
|
||||
HASH="HASH"
|
||||
HAVING="HAVING"
|
||||
HELP="HELP"
|
||||
HIGH_PRIORITY="HIGH_PRIORITY"
|
||||
HISTOGRAM="HISTOGRAM"
|
||||
HISTORY="HISTORY"
|
||||
HOST="HOST"
|
||||
HOSTS="HOSTS"
|
||||
HOUR="HOUR"
|
||||
HOUR_MICROSECOND="HOUR_MICROSECOND"
|
||||
HOUR_MINUTE="HOUR_MINUTE"
|
||||
HOUR_SECOND="HOUR_SECOND"
|
||||
IDENTIFIED="IDENTIFIED"
|
||||
IF="IF"
|
||||
IGNORE="IGNORE"
|
||||
IGNORE_SERVER_IDS="IGNORE_SERVER_IDS"
|
||||
IMPORT="IMPORT"
|
||||
IN="IN"
|
||||
INACTIVE="INACTIVE"
|
||||
INDEX="INDEX"
|
||||
INDEXES="INDEXES"
|
||||
INFILE="INFILE"
|
||||
INITIAL_SIZE="INITIAL_SIZE"
|
||||
INNER="INNER"
|
||||
INOUT="INOUT"
|
||||
INSENSITIVE="INSENSITIVE"
|
||||
INSERT="INSERT"
|
||||
INSERT_METHOD="INSERT_METHOD"
|
||||
INSTALL="INSTALL"
|
||||
INSTANCE="INSTANCE"
|
||||
INT="INT"
|
||||
INT1="INT1"
|
||||
INT2="INT2"
|
||||
INT3="INT3"
|
||||
INT4="INT4"
|
||||
INT8="INT8"
|
||||
INTEGER="INTEGER"
|
||||
INTERVAL="INTERVAL"
|
||||
INTO="INTO"
|
||||
INVISIBLE="INVISIBLE"
|
||||
INVOKER="INVOKER"
|
||||
IO="IO"
|
||||
IO_AFTER_GTIDS="IO_AFTER_GTIDS"
|
||||
IO_BEFORE_GTIDS="IO_BEFORE_GTIDS"
|
||||
IO_THREAD="IO_THREAD"
|
||||
IPC="IPC"
|
||||
IS="IS"
|
||||
ISOLATION="ISOLATION"
|
||||
ISSUER="ISSUER"
|
||||
ITERATE="ITERATE"
|
||||
JOIN="JOIN"
|
||||
JSON="JSON"
|
||||
JSON_TABLE="JSON_TABLE"
|
||||
KEY="KEY"
|
||||
KEYS="KEYS"
|
||||
KEY_BLOCK_SIZE="KEY_BLOCK_SIZE"
|
||||
KILL="KILL"
|
||||
LAG="LAG"
|
||||
LANGUAGE="LANGUAGE"
|
||||
LAST="LAST"
|
||||
LAST_VALUE="LAST_VALUE"
|
||||
LATERAL="LATERAL"
|
||||
LEAD="LEAD"
|
||||
LEADING="LEADING"
|
||||
LEAVE="LEAVE"
|
||||
LEAVES="LEAVES"
|
||||
LEFT="LEFT"
|
||||
LESS="LESS"
|
||||
LEVEL="LEVEL"
|
||||
LIKE="LIKE"
|
||||
LIMIT="LIMIT"
|
||||
LINEAR="LINEAR"
|
||||
LINES="LINES"
|
||||
LINESTRING="LINESTRING"
|
||||
LIST="LIST"
|
||||
LOAD="LOAD"
|
||||
LOCAL="LOCAL"
|
||||
LOCALTIME="LOCALTIME"
|
||||
LOCALTIMESTAMP="LOCALTIMESTAMP"
|
||||
LOCK="LOCK"
|
||||
LOCKED="LOCKED"
|
||||
LOCKS="LOCKS"
|
||||
LOGFILE="LOGFILE"
|
||||
LOGS="LOGS"
|
||||
LONG="LONG"
|
||||
LONGBLOB="LONGBLOB"
|
||||
LONGTEXT="LONGTEXT"
|
||||
LOOP="LOOP"
|
||||
LOW_PRIORITY="LOW_PRIORITY"
|
||||
MASTER="MASTER"
|
||||
MASTER_AUTO_POSITION="MASTER_AUTO_POSITION"
|
||||
MASTER_BIND="MASTER_BIND"
|
||||
MASTER_CONNECT_RETRY="MASTER_CONNECT_RETRY"
|
||||
MASTER_DELAY="MASTER_DELAY"
|
||||
MASTER_HEARTBEAT_PERIOD="MASTER_HEARTBEAT_PERIOD"
|
||||
MASTER_HOST="MASTER_HOST"
|
||||
MASTER_LOG_FILE="MASTER_LOG_FILE"
|
||||
MASTER_LOG_POS="MASTER_LOG_POS"
|
||||
MASTER_PASSWORD="MASTER_PASSWORD"
|
||||
MASTER_PORT="MASTER_PORT"
|
||||
MASTER_PUBLIC_KEY_PATH="MASTER_PUBLIC_KEY_PATH"
|
||||
MASTER_RETRY_COUNT="MASTER_RETRY_COUNT"
|
||||
MASTER_SERVER_ID="MASTER_SERVER_ID"
|
||||
MASTER_SSL="MASTER_SSL"
|
||||
MASTER_SSL_CA="MASTER_SSL_CA"
|
||||
MASTER_SSL_CAPATH="MASTER_SSL_CAPATH"
|
||||
MASTER_SSL_CERT="MASTER_SSL_CERT"
|
||||
MASTER_SSL_CIPHER="MASTER_SSL_CIPHER"
|
||||
MASTER_SSL_CRL="MASTER_SSL_CRL"
|
||||
MASTER_SSL_CRLPATH="MASTER_SSL_CRLPATH"
|
||||
MASTER_SSL_KEY="MASTER_SSL_KEY"
|
||||
MASTER_SSL_VERIFY_SERVER_CERT="MASTER_SSL_VERIFY_SERVER_CERT"
|
||||
MASTER_TLS_VERSION="MASTER_TLS_VERSION"
|
||||
MASTER_USER="MASTER_USER"
|
||||
MATCH="MATCH"
|
||||
MAXVALUE="MAXVALUE"
|
||||
MAX_CONNECTIONS_PER_HOUR="MAX_CONNECTIONS_PER_HOUR"
|
||||
MAX_QUERIES_PER_HOUR="MAX_QUERIES_PER_HOUR"
|
||||
MAX_ROWS="MAX_ROWS"
|
||||
MAX_SIZE="MAX_SIZE"
|
||||
MAX_UPDATES_PER_HOUR="MAX_UPDATES_PER_HOUR"
|
||||
MAX_USER_CONNECTIONS="MAX_USER_CONNECTIONS"
|
||||
MEDIUM="MEDIUM"
|
||||
MEDIUMBLOB="MEDIUMBLOB"
|
||||
MEDIUMINT="MEDIUMINT"
|
||||
MEDIUMTEXT="MEDIUMTEXT"
|
||||
MEMORY="MEMORY"
|
||||
MERGE="MERGE"
|
||||
MESSAGE_TEXT="MESSAGE_TEXT"
|
||||
MICROSECOND="MICROSECOND"
|
||||
MIDDLEINT="MIDDLEINT"
|
||||
MIGRATE="MIGRATE"
|
||||
MINUTE="MINUTE"
|
||||
MINUTE_MICROSECOND="MINUTE_MICROSECOND"
|
||||
MINUTE_SECOND="MINUTE_SECOND"
|
||||
MIN_ROWS="MIN_ROWS"
|
||||
MOD="MOD"
|
||||
MODE="MODE"
|
||||
MODIFIES="MODIFIES"
|
||||
MODIFY="MODIFY"
|
||||
MONTH="MONTH"
|
||||
MULTILINESTRING="MULTILINESTRING"
|
||||
MULTIPOINT="MULTIPOINT"
|
||||
MULTIPOLYGON="MULTIPOLYGON"
|
||||
MUTEX="MUTEX"
|
||||
MYSQL_ERRNO="MYSQL_ERRNO"
|
||||
NAME="NAME"
|
||||
NAMES="NAMES"
|
||||
NATIONAL="NATIONAL"
|
||||
NATURAL="NATURAL"
|
||||
NCHAR="NCHAR"
|
||||
NDB="NDB"
|
||||
NDBCLUSTER="NDBCLUSTER"
|
||||
NESTED="NESTED"
|
||||
NETWORK_NAMESPACE="NETWORK_NAMESPACE"
|
||||
NEVER="NEVER"
|
||||
NEW="NEW"
|
||||
NEXT="NEXT"
|
||||
NO="NO"
|
||||
NODEGROUP="NODEGROUP"
|
||||
NONE="NONE"
|
||||
NOT="NOT"
|
||||
NOWAIT="NOWAIT"
|
||||
NO_WAIT="NO_WAIT"
|
||||
NO_WRITE_TO_BINLOG="NO_WRITE_TO_BINLOG"
|
||||
NTH_VALUE="NTH_VALUE"
|
||||
NTILE="NTILE"
|
||||
NULL="NULL"
|
||||
NULLS="NULLS"
|
||||
NUMBER="NUMBER"
|
||||
NUMERIC="NUMERIC"
|
||||
NVARCHAR="NVARCHAR"
|
||||
OF="OF"
|
||||
OFFSET="OFFSET"
|
||||
OJ="OJ"
|
||||
OLD="OLD"
|
||||
ON="ON"
|
||||
ONE="ONE"
|
||||
ONLY="ONLY"
|
||||
OPEN="OPEN"
|
||||
OPTIMIZE="OPTIMIZE"
|
||||
OPTIMIZER_COSTS="OPTIMIZER_COSTS"
|
||||
OPTION="OPTION"
|
||||
OPTIONAL="OPTIONAL"
|
||||
OPTIONALLY="OPTIONALLY"
|
||||
OPTIONS="OPTIONS"
|
||||
OR="OR"
|
||||
ORDER="ORDER"
|
||||
ORDINALITY="ORDINALITY"
|
||||
ORGANIZATION="ORGANIZATION"
|
||||
OTHERS="OTHERS"
|
||||
OUT="OUT"
|
||||
OUTER="OUTER"
|
||||
OUTFILE="OUTFILE"
|
||||
OVER="OVER"
|
||||
OWNER="OWNER"
|
||||
PACK_KEYS="PACK_KEYS"
|
||||
PAGE="PAGE"
|
||||
PARSER="PARSER"
|
||||
PARTIAL="PARTIAL"
|
||||
PARTITION="PARTITION"
|
||||
PARTITIONING="PARTITIONING"
|
||||
PARTITIONS="PARTITIONS"
|
||||
PASSWORD="PASSWORD"
|
||||
PATH="PATH"
|
||||
PERCENT_RANK="PERCENT_RANK"
|
||||
PERSIST="PERSIST"
|
||||
PERSIST_ONLY="PERSIST_ONLY"
|
||||
PHASE="PHASE"
|
||||
PLUGIN="PLUGIN"
|
||||
PLUGINS="PLUGINS"
|
||||
PLUGIN_DIR="PLUGIN_DIR"
|
||||
POINT="POINT"
|
||||
POLYGON="POLYGON"
|
||||
PORT="PORT"
|
||||
PRECEDES="PRECEDES"
|
||||
PRECEDING="PRECEDING"
|
||||
PRECISION="PRECISION"
|
||||
PREPARE="PREPARE"
|
||||
PRESERVE="PRESERVE"
|
||||
PREV="PREV"
|
||||
PRIMARY="PRIMARY"
|
||||
PRIVILEGES="PRIVILEGES"
|
||||
PROCEDURE="PROCEDURE"
|
||||
PROCESS="PROCESS"
|
||||
PROCESSLIST="PROCESSLIST"
|
||||
PROFILE="PROFILE"
|
||||
PROFILES="PROFILES"
|
||||
PROXY="PROXY"
|
||||
PURGE="PURGE"
|
||||
QUARTER="QUARTER"
|
||||
QUERY="QUERY"
|
||||
QUICK="QUICK"
|
||||
RANGE="RANGE"
|
||||
RANK="RANK"
|
||||
READ="READ"
|
||||
READS="READS"
|
||||
READ_ONLY="READ_ONLY"
|
||||
READ_WRITE="READ_WRITE"
|
||||
REAL="REAL"
|
||||
REBUILD="REBUILD"
|
||||
RECOVER="RECOVER"
|
||||
RECURSIVE="RECURSIVE"
|
||||
REDO_BUFFER_SIZE="REDO_BUFFER_SIZE"
|
||||
REDUNDANT="REDUNDANT"
|
||||
REFERENCE="REFERENCE"
|
||||
REFERENCES="REFERENCES"
|
||||
REGEXP="REGEXP"
|
||||
RELAY="RELAY"
|
||||
RELAYLOG="RELAYLOG"
|
||||
RELAY_LOG_FILE="RELAY_LOG_FILE"
|
||||
RELAY_LOG_POS="RELAY_LOG_POS"
|
||||
RELAY_THREAD="RELAY_THREAD"
|
||||
RELEASE="RELEASE"
|
||||
RELOAD="RELOAD"
|
||||
REMOVE="REMOVE"
|
||||
RENAME="RENAME"
|
||||
REORGANIZE="REORGANIZE"
|
||||
REPAIR="REPAIR"
|
||||
REPEAT="REPEAT"
|
||||
REPEATABLE="REPEATABLE"
|
||||
REPLACE="REPLACE"
|
||||
REPLICATE_DO_DB="REPLICATE_DO_DB"
|
||||
REPLICATE_DO_TABLE="REPLICATE_DO_TABLE"
|
||||
REPLICATE_IGNORE_DB="REPLICATE_IGNORE_DB"
|
||||
REPLICATE_IGNORE_TABLE="REPLICATE_IGNORE_TABLE"
|
||||
REPLICATE_REWRITE_DB="REPLICATE_REWRITE_DB"
|
||||
REPLICATE_WILD_DO_TABLE="REPLICATE_WILD_DO_TABLE"
|
||||
REPLICATE_WILD_IGNORE_TABLE="REPLICATE_WILD_IGNORE_TABLE"
|
||||
REPLICATION="REPLICATION"
|
||||
REQUIRE="REQUIRE"
|
||||
RESET="RESET"
|
||||
RESIGNAL="RESIGNAL"
|
||||
RESOURCE="RESOURCE"
|
||||
RESPECT="RESPECT"
|
||||
RESTART="RESTART"
|
||||
RESTORE="RESTORE"
|
||||
RESTRICT="RESTRICT"
|
||||
RESUME="RESUME"
|
||||
RETAIN="RETAIN"
|
||||
RETURN="RETURN"
|
||||
RETURNED_SQLSTATE="RETURNED_SQLSTATE"
|
||||
RETURNS="RETURNS"
|
||||
REUSE="REUSE"
|
||||
REVERSE="REVERSE"
|
||||
REVOKE="REVOKE"
|
||||
RIGHT="RIGHT"
|
||||
RLIKE="RLIKE"
|
||||
ROLE="ROLE"
|
||||
ROLLBACK="ROLLBACK"
|
||||
ROLLUP="ROLLUP"
|
||||
ROTATE="ROTATE"
|
||||
ROUTINE="ROUTINE"
|
||||
ROW="ROW"
|
||||
ROWS="ROWS"
|
||||
ROW_COUNT="ROW_COUNT"
|
||||
ROW_FORMAT="ROW_FORMAT"
|
||||
ROW_NUMBER="ROW_NUMBER"
|
||||
RTREE="RTREE"
|
||||
SAVEPOINT="SAVEPOINT"
|
||||
SCHEDULE="SCHEDULE"
|
||||
SCHEMA="SCHEMA"
|
||||
SCHEMAS="SCHEMAS"
|
||||
SCHEMA_NAME="SCHEMA_NAME"
|
||||
SECOND="SECOND"
|
||||
SECONDARY="SECONDARY"
|
||||
SECONDARY_ENGINE="SECONDARY_ENGINE"
|
||||
SECONDARY_LOAD="SECONDARY_LOAD"
|
||||
SECONDARY_UNLOAD="SECONDARY_UNLOAD"
|
||||
SECOND_MICROSECOND="SECOND_MICROSECOND"
|
||||
SECURITY="SECURITY"
|
||||
SELECT="SELECT"
|
||||
SENSITIVE="SENSITIVE"
|
||||
SEPARATOR="SEPARATOR"
|
||||
SERIAL="SERIAL"
|
||||
SERIALIZABLE="SERIALIZABLE"
|
||||
SERVER="SERVER"
|
||||
SESSION="SESSION"
|
||||
SET="SET"
|
||||
SHARE="SHARE"
|
||||
SHOW="SHOW"
|
||||
SHUTDOWN="SHUTDOWN"
|
||||
SIGNAL="SIGNAL"
|
||||
SIGNED="SIGNED"
|
||||
SIMPLE="SIMPLE"
|
||||
SKIP="SKIP"
|
||||
SLAVE="SLAVE"
|
||||
SLOW="SLOW"
|
||||
SMALLINT="SMALLINT"
|
||||
SNAPSHOT="SNAPSHOT"
|
||||
SOCKET="SOCKET"
|
||||
SOME="SOME"
|
||||
SONAME="SONAME"
|
||||
SOUNDS="SOUNDS"
|
||||
SOURCE="SOURCE"
|
||||
SPATIAL="SPATIAL"
|
||||
SPECIFIC="SPECIFIC"
|
||||
SQL="SQL"
|
||||
SQLEXCEPTION="SQLEXCEPTION"
|
||||
SQLSTATE="SQLSTATE"
|
||||
SQLWARNING="SQLWARNING"
|
||||
SQL_AFTER_GTIDS="SQL_AFTER_GTIDS"
|
||||
SQL_AFTER_MTS_GAPS="SQL_AFTER_MTS_GAPS"
|
||||
SQL_BEFORE_GTIDS="SQL_BEFORE_GTIDS"
|
||||
SQL_BIG_RESULT="SQL_BIG_RESULT"
|
||||
SQL_BUFFER_RESULT="SQL_BUFFER_RESULT"
|
||||
SQL_CALC_FOUND_ROWS="SQL_CALC_FOUND_ROWS"
|
||||
SQL_NO_CACHE="SQL_NO_CACHE"
|
||||
SQL_SMALL_RESULT="SQL_SMALL_RESULT"
|
||||
SQL_THREAD="SQL_THREAD"
|
||||
SQL_TSI_DAY="SQL_TSI_DAY"
|
||||
SQL_TSI_HOUR="SQL_TSI_HOUR"
|
||||
SQL_TSI_MINUTE="SQL_TSI_MINUTE"
|
||||
SQL_TSI_MONTH="SQL_TSI_MONTH"
|
||||
SQL_TSI_QUARTER="SQL_TSI_QUARTER"
|
||||
SQL_TSI_SECOND="SQL_TSI_SECOND"
|
||||
SQL_TSI_WEEK="SQL_TSI_WEEK"
|
||||
SQL_TSI_YEAR="SQL_TSI_YEAR"
|
||||
SRID="SRID"
|
||||
SSL="SSL"
|
||||
STACKED="STACKED"
|
||||
START="START"
|
||||
STARTING="STARTING"
|
||||
STARTS="STARTS"
|
||||
STATS_AUTO_RECALC="STATS_AUTO_RECALC"
|
||||
STATS_PERSISTENT="STATS_PERSISTENT"
|
||||
STATS_SAMPLE_PAGES="STATS_SAMPLE_PAGES"
|
||||
STATUS="STATUS"
|
||||
STOP="STOP"
|
||||
STORAGE="STORAGE"
|
||||
STORED="STORED"
|
||||
STRAIGHT_JOIN="STRAIGHT_JOIN"
|
||||
STRING="STRING"
|
||||
SUBCLASS_ORIGIN="SUBCLASS_ORIGIN"
|
||||
SUBJECT="SUBJECT"
|
||||
SUBPARTITION="SUBPARTITION"
|
||||
SUBPARTITIONS="SUBPARTITIONS"
|
||||
SUPER="SUPER"
|
||||
SUSPEND="SUSPEND"
|
||||
SWAPS="SWAPS"
|
||||
SWITCHES="SWITCHES"
|
||||
SYSTEM="SYSTEM"
|
||||
TABLE="TABLE"
|
||||
TABLES="TABLES"
|
||||
TABLESPACE="TABLESPACE"
|
||||
TABLE_CHECKSUM="TABLE_CHECKSUM"
|
||||
TABLE_NAME="TABLE_NAME"
|
||||
TEMPORARY="TEMPORARY"
|
||||
TEMPTABLE="TEMPTABLE"
|
||||
TERMINATED="TERMINATED"
|
||||
TEXT="TEXT"
|
||||
THAN="THAN"
|
||||
THEN="THEN"
|
||||
THREAD_PRIORITY="THREAD_PRIORITY"
|
||||
TIES="TIES"
|
||||
TIME="TIME"
|
||||
TIMESTAMP="TIMESTAMP"
|
||||
TIMESTAMPADD="TIMESTAMPADD"
|
||||
TIMESTAMPDIFF="TIMESTAMPDIFF"
|
||||
TINYBLOB="TINYBLOB"
|
||||
TINYINT="TINYINT"
|
||||
TINYTEXT="TINYTEXT"
|
||||
TO="TO"
|
||||
TRAILING="TRAILING"
|
||||
TRANSACTION="TRANSACTION"
|
||||
TRIGGER="TRIGGER"
|
||||
TRIGGERS="TRIGGERS"
|
||||
TRUE="TRUE"
|
||||
TRUNCATE="TRUNCATE"
|
||||
TYPE="TYPE"
|
||||
TYPES="TYPES"
|
||||
UNBOUNDED="UNBOUNDED"
|
||||
UNCOMMITTED="UNCOMMITTED"
|
||||
UNDEFINED="UNDEFINED"
|
||||
UNDO="UNDO"
|
||||
UNDOFILE="UNDOFILE"
|
||||
UNDO_BUFFER_SIZE="UNDO_BUFFER_SIZE"
|
||||
UNICODE="UNICODE"
|
||||
UNINSTALL="UNINSTALL"
|
||||
UNION="UNION"
|
||||
UNIQUE="UNIQUE"
|
||||
UNKNOWN="UNKNOWN"
|
||||
UNLOCK="UNLOCK"
|
||||
UNSIGNED="UNSIGNED"
|
||||
UNTIL="UNTIL"
|
||||
UPDATE="UPDATE"
|
||||
UPGRADE="UPGRADE"
|
||||
USAGE="USAGE"
|
||||
USE="USE"
|
||||
USER="USER"
|
||||
USER_RESOURCES="USER_RESOURCES"
|
||||
USE_FRM="USE_FRM"
|
||||
USING="USING"
|
||||
UTC_DATE="UTC_DATE"
|
||||
UTC_TIME="UTC_TIME"
|
||||
UTC_TIMESTAMP="UTC_TIMESTAMP"
|
||||
VALIDATION="VALIDATION"
|
||||
VALUE="VALUE"
|
||||
VALUES="VALUES"
|
||||
VARBINARY="VARBINARY"
|
||||
VARCHAR="VARCHAR"
|
||||
VARCHARACTER="VARCHARACTER"
|
||||
VARIABLES="VARIABLES"
|
||||
VARYING="VARYING"
|
||||
VCPU="VCPU"
|
||||
VIEW="VIEW"
|
||||
VIRTUAL="VIRTUAL"
|
||||
VISIBLE="VISIBLE"
|
||||
WAIT="WAIT"
|
||||
WARNINGS="WARNINGS"
|
||||
WEEK="WEEK"
|
||||
WEIGHT_STRING="WEIGHT_STRING"
|
||||
WHEN="WHEN"
|
||||
WHERE="WHERE"
|
||||
WHILE="WHILE"
|
||||
WINDOW="WINDOW"
|
||||
WITH="WITH"
|
||||
WITHOUT="WITHOUT"
|
||||
WORK="WORK"
|
||||
WRAPPER="WRAPPER"
|
||||
WRITE="WRITE"
|
||||
X509="X509"
|
||||
XA="XA"
|
||||
XID="XID"
|
||||
XML="XML"
|
||||
XOR="XOR"
|
||||
YEAR="YEAR"
|
||||
YEAR_MONTH="YEAR_MONTH"
|
||||
ZEROFILL="ZEROFILL"
|
98
dictionaries/jbig2.dict
Normal file
98
dictionaries/jbig2.dict
Normal file
@ -0,0 +1,98 @@
|
||||
# AFL dictionary for jbig2 images
|
||||
# by Sebastian Rasmussen <sebras@gmail.com>
|
||||
|
||||
id_string="\x97\x4a\x42\x32\x0d\x0a\x1a\x0a"
|
||||
|
||||
# segments
|
||||
|
||||
noretain_allpages_symbol_dictionary="\x00"
|
||||
noretain_allpages_intermediate_text_region="\x04"
|
||||
noretain_allpages_immediate_text_region="\x06"
|
||||
noretain_allpages_immediate_lossless_text_region="\x07"
|
||||
noretain_allpages_pattern_dictionary="\x10"
|
||||
noretain_allpages_intermediate_halftone_region="\x14"
|
||||
noretain_allpages_immediate_halftone_region="\x16"
|
||||
noretain_allpages_immediate_lossless_halftone_region="\x17"
|
||||
noretain_allpages_intermediate_generic_region="\x24"
|
||||
noretain_allpages_immediate_generic_region="\x26"
|
||||
noretain_allpages_immediate_lossless_generic_region="\x27"
|
||||
noretain_allpages_intermediate_generic_refinement_region="\x28"
|
||||
noretain_allpages_immediate_generic_refinement_region="\x2a"
|
||||
noretain_allpages_immediate_lossless_generic_refinement_region="\x2b"
|
||||
noretain_allpages_page_information="\x30"
|
||||
noretain_allpages_end_of_page="\x31"
|
||||
noretain_allpages_end_of_stripe="\x32"
|
||||
noretain_allpages_end_of_file="\x33"
|
||||
noretain_allpages_profiles="\x34"
|
||||
noretain_allpages_tables="\x35"
|
||||
noretain_allpages_color_palette="\x36"
|
||||
noretain_allpages_extension="\x3e"
|
||||
|
||||
noretain_specificpage_symbol_dictionary="\x40"
|
||||
noretain_specificpage_intermediate_text_region="\x44"
|
||||
noretain_specificpage_immediate_text_region="\x46"
|
||||
noretain_specificpage_immediate_lossless_text_region="\x47"
|
||||
noretain_specificpage_pattern_dictionary="\x50"
|
||||
noretain_specificpage_intermediate_halftone_region="\x54"
|
||||
noretain_specificpage_immediate_halftone_region="\x56"
|
||||
noretain_specificpage_immediate_lossless_halftone_region="\x57"
|
||||
noretain_specificpage_intermediate_generic_region="\x64"
|
||||
noretain_specificpage_immediate_generic_region="\x66"
|
||||
noretain_specificpage_immediate_lossless_generic_region="\x67"
|
||||
noretain_specificpage_intermediate_generic_refinement_region="\x68"
|
||||
noretain_specificpage_immediate_generic_refinement_region="\x6a"
|
||||
noretain_specificpage_immediate_lossless_generic_refinement_regio6="\x6b"
|
||||
noretain_specificpage_page_information="\x70"
|
||||
noretain_specificpage_end_of_page="\x71"
|
||||
noretain_specificpage_end_of_stripe="\x72"
|
||||
noretain_specificpage_end_of_file="\x73"
|
||||
noretain_specificpage_profiles="\x74"
|
||||
noretain_specificpage_tables="\x75"
|
||||
noretain_specificpage_color_palette="\x76"
|
||||
noretain_specificpage_extension="\x7e"
|
||||
|
||||
retain_allpages_symbol_dictionary="\x80"
|
||||
retain_allpages_intermediate_text_region="\x84"
|
||||
retain_allpages_immediate_text_region="\x86"
|
||||
retain_allpages_immediate_lossless_text_region="\x87"
|
||||
retain_allpages_pattern_dictionary="\x90"
|
||||
retain_allpages_intermediate_halftone_region="\x94"
|
||||
retain_allpages_immediate_halftone_region="\x96"
|
||||
retain_allpages_immediate_lossless_halftone_region="\x97"
|
||||
retain_allpages_intermediate_generic_region="\xa4"
|
||||
retain_allpages_immediate_generic_region="\xa6"
|
||||
retain_allpages_immediate_lossless_generic_region="\xa7"
|
||||
retain_allpages_intermediate_generic_refinement_region="\xa8"
|
||||
retain_allpages_immediate_generic_refinement_region="\xaa"
|
||||
retain_allpages_immediate_lossless_generic_refinement_regio6="\xab"
|
||||
retain_allpages_page_information="\xb0"
|
||||
retain_allpages_end_of_page="\xb1"
|
||||
retain_allpages_end_of_stripe="\xb2"
|
||||
retain_allpages_end_of_file="\xb3"
|
||||
retain_allpages_profiles="\xb4"
|
||||
retain_allpages_tables="\xb5"
|
||||
retain_allpages_color_palette="\xb6"
|
||||
retain_allpages_extension="\xbe"
|
||||
|
||||
retain_specificpage_symbol_dictionary="\xc0"
|
||||
retain_specificpage_intermediate_text_region="\xc4"
|
||||
retain_specificpage_immediate_text_region="\xc6"
|
||||
retain_specificpage_immediate_lossless_text_region="\xc7"
|
||||
retain_specificpage_pattern_dictionary="\xd0"
|
||||
retain_specificpage_intermediate_halftone_region="\xd4"
|
||||
retain_specificpage_immediate_halftone_region="\xd6"
|
||||
retain_specificpage_immediate_lossless_halftone_region="\xd7"
|
||||
retain_specificpage_intermediate_generic_region="\xe4"
|
||||
retain_specificpage_immediate_generic_region="\xe6"
|
||||
retain_specificpage_immediate_lossless_generic_region="\xe7"
|
||||
retain_specificpage_intermediate_generic_refinement_region="\xe8"
|
||||
retain_specificpage_immediate_generic_refinement_region="\xea"
|
||||
retain_specificpage_immediate_lossless_generic_refinement_regio6="\xeb"
|
||||
retain_specificpage_page_information="\xf0"
|
||||
retain_specificpage_end_of_page="\xf1"
|
||||
retain_specificpage_end_of_stripe="\xf2"
|
||||
retain_specificpage_end_of_file="\xf3"
|
||||
retain_specificpage_profiles="\xf4"
|
||||
retain_specificpage_tables="\xf5"
|
||||
retain_specificpage_color_palette="\xf6"
|
||||
retain_specificpage_extension="\xfe"
|
22
dictionaries/jpeg2000.dict
Normal file
22
dictionaries/jpeg2000.dict
Normal file
@ -0,0 +1,22 @@
|
||||
type="jP "
|
||||
ftyp="ftyp"
|
||||
subtype1="jp2 "
|
||||
subtype2="jp20"
|
||||
subtype3="jpm "
|
||||
subtype4="jpx "
|
||||
subtype5="jp2h"
|
||||
subtype6="jpxb"
|
||||
subtype7="mjp2"
|
||||
subtype8="mj2s"
|
||||
subtype9="jp2c"
|
||||
subtype10="jpch"
|
||||
subtype11="jplh"
|
||||
codestream="\xFF\x4F\xFF\x51"
|
||||
signature="\x0d\x0a\x87\x0a"
|
||||
tag1="hdr"
|
||||
tag2="colr"
|
||||
tag3="url"
|
||||
tag4="req"
|
||||
tag5="res"
|
||||
tag6="page"
|
||||
tag7="obj"
|
@ -50,3 +50,12 @@
|
||||
"\"\":0"
|
||||
"//"
|
||||
"/**/"
|
||||
|
||||
"$ref"
|
||||
"type"
|
||||
"coordinates"
|
||||
"@context"
|
||||
"@id"
|
||||
|
||||
","
|
||||
":"
|
||||
|
60
dictionaries/jsonnet.dict
Normal file
60
dictionaries/jsonnet.dict
Normal file
@ -0,0 +1,60 @@
|
||||
# https://jsonnet.org/ref/spec.html
|
||||
|
||||
# Keywords
|
||||
"assert"
|
||||
"else"
|
||||
"error"
|
||||
"false"
|
||||
"for"
|
||||
"function"
|
||||
"if"
|
||||
"import"
|
||||
"importstr"
|
||||
"in"
|
||||
"local"
|
||||
"null"
|
||||
"self"
|
||||
"super"
|
||||
"tailstrict"
|
||||
"then"
|
||||
"true"
|
||||
"super"
|
||||
"local"
|
||||
|
||||
# operators
|
||||
"|||"
|
||||
"@\""
|
||||
"@'"
|
||||
"!="
|
||||
"=="
|
||||
"[::]"
|
||||
"+:::"
|
||||
|
||||
# functions
|
||||
"std.acos("
|
||||
"std.asin("
|
||||
"std.atan("
|
||||
"std.ceil("
|
||||
"std.char("
|
||||
"std.codepoint("
|
||||
"std.cos("
|
||||
"std.equals("
|
||||
"std.exp("
|
||||
"std.exponent("
|
||||
"std.floor("
|
||||
"std.join("
|
||||
"std.length("
|
||||
"std.log("
|
||||
"std.makeArray("
|
||||
"std.mantissa("
|
||||
"std.mod"
|
||||
"std.modulo("
|
||||
"std.objectFiledsEx("
|
||||
"std.objectsHasEx("
|
||||
"std.pow("
|
||||
"std.primitiveEquals("
|
||||
"std.sin("
|
||||
"std.slice("
|
||||
"std.sqrt("
|
||||
"std.tan("
|
||||
"std.type("
|
28
dictionaries/markdown.dict
Normal file
28
dictionaries/markdown.dict
Normal file
@ -0,0 +1,28 @@
|
||||
strike="~~"
|
||||
list="2."
|
||||
link="[a]("
|
||||
link_without_ref="[a]["
|
||||
image=""
|
||||
"fread()"
|
||||
":raw:utf8"
|
||||
":raw:eol(LF)"
|
||||
"Perl_invert()"
|
||||
":raw:eol(CRLF)"
|
||||
"Perl_PerlIO_eof()"
|
249
dictionaries/proj4.dict
Normal file
249
dictionaries/proj4.dict
Normal file
@ -0,0 +1,249 @@
|
||||
# Dictionary developed for proj4 standard_fuzzer.cpp
|
||||
|
||||
# valid proj types (lines 1,2), generated from seeds
|
||||
# $ grep -hoe 'proj=\w*' -o seeds/* | sort -u
|
||||
"+proj=aea"
|
||||
"+proj=aeqd"
|
||||
"+proj=calcofi"
|
||||
"+proj=cass"
|
||||
"+proj=cea"
|
||||
"+proj=comill"
|
||||
"+proj=eck4"
|
||||
"+proj=eck6"
|
||||
"+proj=eqc"
|
||||
"+proj=eqdc"
|
||||
"+proj=etmerc"
|
||||
"+proj=gall"
|
||||
"+proj=geocent"
|
||||
"+proj=geos"
|
||||
"+proj=gstmerc"
|
||||
"+proj=hammer"
|
||||
"+proj=healpix"
|
||||
"+proj=helmert"
|
||||
"+proj=kav5"
|
||||
"+proj=krovak"
|
||||
"+proj=labrd"
|
||||
"+proj=laea"
|
||||
"+proj=latlong"
|
||||
"+proj=lcc"
|
||||
"+proj=longlat"
|
||||
"+proj=merc"
|
||||
"+proj=mill"
|
||||
"+proj=misrsom"
|
||||
"+proj=moll"
|
||||
"+proj=natearth"
|
||||
"+proj=natearth2"
|
||||
"+proj=nzmg"
|
||||
"+proj=ob_tran"
|
||||
"+proj=omerc"
|
||||
"+proj=omerc"
|
||||
"+proj=patterson"
|
||||
"+proj=pconic"
|
||||
"+proj=poly"
|
||||
"+proj=qsc"
|
||||
"+proj=rhealpix"
|
||||
"+proj=robin"
|
||||
"+proj=sch"
|
||||
"+proj=sinu"
|
||||
"+proj=somerc"
|
||||
"+proj=stere"
|
||||
"+proj=sterea"
|
||||
"+proj=tmerc"
|
||||
"+proj=utm"
|
||||
"+proj=vandg"
|
||||
|
||||
# valid datum types (lines 1,2), generated from seeds
|
||||
# $ grep -hoe 'datum=\w*' -o seeds/* | sort -u
|
||||
"+datum=GGRS87"
|
||||
"+datum=NAD27"
|
||||
"+datum=NAD83"
|
||||
"+datum=OSGB36"
|
||||
"+datum=WGS84"
|
||||
"+datum=carthage"
|
||||
"+datum=hermannskogel"
|
||||
"+datum=ire65"
|
||||
"+datum=nzgd49"
|
||||
"+datum=potsdam"
|
||||
|
||||
# valid ellps types
|
||||
# $ grep -hoe 'elps=\w*' -o seeds/* | sort -u
|
||||
"+ellps=GRS67"
|
||||
"+ellps=GRS80"
|
||||
"+ellps=WGS66"
|
||||
"+ellps=WGS72"
|
||||
"+ellps=WGS84"
|
||||
"+ellps=airy"
|
||||
"+ellps=aust_SA"
|
||||
"+ellps=bess_nam"
|
||||
"+ellps=bessel"
|
||||
"+ellps=clrk66"
|
||||
"+ellps=clrk80"
|
||||
"+ellps=everest"
|
||||
"+ellps=evrstSS"
|
||||
"+ellps=fschr60m"
|
||||
"+ellps=helmert"
|
||||
"+ellps=intl"
|
||||
"+ellps=krass"
|
||||
"+ellps=mod_airy"
|
||||
"+ellps=sphere"
|
||||
|
||||
# other various valid types
|
||||
"+epoch=1988"
|
||||
"+gamma=53d7"
|
||||
"+geoidgrids=egm08_25"
|
||||
"+geoidgrids=g2012a_conus"
|
||||
"+lastupdate=1993"
|
||||
"+lat_0=44d00"
|
||||
"+lat_0=46"
|
||||
"+lat_1=18d49"
|
||||
"+lat_2=40d43"
|
||||
"+lat_ts=33"
|
||||
"+llps=bessel"
|
||||
"+llps=clrk66"
|
||||
"+lon_0=7"
|
||||
"+lon_1=62"
|
||||
"+lon_2=53"
|
||||
"+lonc=78d00"
|
||||
"+lpha=55d40"
|
||||
"+nadgrids=MD"
|
||||
"+nadgrids=chenyx06etrs"
|
||||
"+nadgrids=conus"
|
||||
"+nadgrids=ntf_r93"
|
||||
"+nadgrids=ntv1_can"
|
||||
"+nadgrids=ntv2_0"
|
||||
"+nadgrids=null"
|
||||
"+north=0"
|
||||
"+north_square=0"
|
||||
"+o_lat_p=LAT_POLE"
|
||||
"+o_lon_p=LON_POLE"
|
||||
"+o_proj=moll"
|
||||
"+origin=EPSG"
|
||||
"+origin=Esri"
|
||||
"+origin=IGNF"
|
||||
"+origin=Swisstopo"
|
||||
"+origin=ftp"
|
||||
"+origin=http"
|
||||
"+pm=jakarta"
|
||||
"+pm=lisbon"
|
||||
"+pm=madrid"
|
||||
"+pm=oslo"
|
||||
"+pm=paris"
|
||||
"+pm=rome"
|
||||
"+pm=stockholm"
|
||||
"+title=Amsterdam"
|
||||
"+towgs84=103"
|
||||
"+units=ft"
|
||||
"+units=km"
|
||||
"+units=link"
|
||||
"+units=m"
|
||||
"+units=us"
|
||||
"+vunits=m"
|
||||
"+vunits=us"
|
||||
|
||||
# binary prefix for line 3
|
||||
"BINARY2D:"
|
||||
"BINARY3D:"
|
||||
|
||||
# floating point numbers
|
||||
"-0.100000 "
|
||||
"0.000000 "
|
||||
"0.100000 "
|
||||
"1.100000 "
|
||||
"4294967295.000000 "
|
||||
"9007199254740992.000000 "
|
||||
"\x9a\x99\x99\x99\x99\x99\xf1\xbf"
|
||||
"\x9a\x99\x99\x99\x99\x99\xb9\xbf"
|
||||
"\x00\x00\x00\x00\x00\x00\x00\x00"
|
||||
"\x9a\x99\x99\x99\x99\x99\xb9\x3f"
|
||||
"\x9a\x99\x99\x99\x99\x99\xf1\x3f"
|
||||
"\x00\x00\xe0\xff\xff\xff\xef\x41"
|
||||
"\x00\x00\x00\x00\x00\x00\x40\x43"
|
||||
|
||||
|
||||
# valid prefixes
|
||||
"+R="
|
||||
"+RES="
|
||||
"+W="
|
||||
"+a="
|
||||
"+alpha="
|
||||
"+axis="
|
||||
"+azi="
|
||||
"+b="
|
||||
"+bs="
|
||||
"+d="
|
||||
"+datum="
|
||||
"+depmode="
|
||||
"+dest="
|
||||
"+dir="
|
||||
"+drx="
|
||||
"+dry="
|
||||
"+drz="
|
||||
"+ds="
|
||||
"+dx="
|
||||
"+dy="
|
||||
"+dz="
|
||||
"+e="
|
||||
"+ellps="
|
||||
"+epoch="
|
||||
"+es="
|
||||
"+f="
|
||||
"+files="
|
||||
"+flg="
|
||||
"+gamma="
|
||||
"+geoidgrids="
|
||||
"+h="
|
||||
"+has_opt="
|
||||
"+init="
|
||||
"+k="
|
||||
"+k_0="
|
||||
"+lastupdate="
|
||||
"+lat_0="
|
||||
"+lat_1="
|
||||
"+lat_2="
|
||||
"+lat_ts="
|
||||
"+lib="
|
||||
"+list="
|
||||
"+lon_0="
|
||||
"+lon_1="
|
||||
"+lon_2="
|
||||
"+lon_wrap="
|
||||
"+lonc="
|
||||
"+nadgrids="
|
||||
"+north="
|
||||
"+north_square="
|
||||
"+o_lat_p="
|
||||
"+o_lon_p="
|
||||
"+o_proj="
|
||||
"+origin="
|
||||
"+path="
|
||||
"+phdg_0="
|
||||
"+plat_0="
|
||||
"+plon_0="
|
||||
"+pm="
|
||||
"+prefix="
|
||||
"+proj="
|
||||
"+r_a="
|
||||
"+rf="
|
||||
"+rx="
|
||||
"+ry="
|
||||
"+rz="
|
||||
"+s="
|
||||
"+skip_next="
|
||||
"+south="
|
||||
"+south_square="
|
||||
"+srcdirstrip="
|
||||
"+sweep="
|
||||
"+target_option="
|
||||
"+title="
|
||||
"+to_meter="
|
||||
"+topsrcdirstrip="
|
||||
"+towgs84="
|
||||
"+units="
|
||||
"+version="
|
||||
"+vunits="
|
||||
"+x="
|
||||
"+x_0="
|
||||
"+y="
|
||||
"+y_0="
|
||||
"+z="
|
||||
"+zone="
|
40
dictionaries/protobuf.dict
Normal file
40
dictionaries/protobuf.dict
Normal file
@ -0,0 +1,40 @@
|
||||
# Keywords taken from https://developers.google.com/protocol-buffers/docs/reference/proto2-spec
|
||||
|
||||
bool="bool"
|
||||
bytes="bytes"
|
||||
double="double"
|
||||
enum="enum"
|
||||
extend="extend"
|
||||
extension="extension"
|
||||
false="false"
|
||||
fixed32="fixed32"
|
||||
fixed64="fixed64"
|
||||
float="float"
|
||||
group="group"
|
||||
import="import"
|
||||
inner="inner"
|
||||
int32="int32"
|
||||
int64="int64"
|
||||
map="map<"
|
||||
message="message"
|
||||
option="option"
|
||||
optional="optional"
|
||||
package="package"
|
||||
public="public"
|
||||
repeated="repeated"
|
||||
required="required"
|
||||
reserved="reserved"
|
||||
returns="returns"
|
||||
rpc="rpc"
|
||||
service="service"
|
||||
sfixed32="sfixed32"
|
||||
sfixed64="sfixed64"
|
||||
sint32="sint32"
|
||||
sint64="sint64"
|
||||
stream="stream"
|
||||
string="string"
|
||||
syntax="syntax"
|
||||
true="true"
|
||||
uint32="uint32"
|
||||
uint64="uint64"
|
||||
weak="weak"
|
433
dictionaries/ps.dict
Normal file
433
dictionaries/ps.dict
Normal file
@ -0,0 +1,433 @@
|
||||
# https://web.archive.org/web/20170218093716/https://www.adobe.com/products/postscript/pdfs/PLRM.pdf
|
||||
# TODO(jvoisin) Add more, starting from page 318
|
||||
|
||||
|
||||
header="%!PS"
|
||||
|
||||
#types
|
||||
"array"
|
||||
"packedarray"
|
||||
"dict"
|
||||
"string"
|
||||
"userdict"
|
||||
"$error"
|
||||
"statusdict"
|
||||
"FontDirectory"
|
||||
"globaldict"
|
||||
"systemdict"
|
||||
"GlobalFontDirectory"
|
||||
"Order"
|
||||
"DateSource"
|
||||
"BitsPerSample"
|
||||
"Encode"
|
||||
"Decode"
|
||||
"Size"
|
||||
|
||||
# Stack operators
|
||||
"dup"
|
||||
"exch"
|
||||
"pop"
|
||||
"copy"
|
||||
"roll"
|
||||
"index"
|
||||
"mark"
|
||||
"clear"
|
||||
"count"
|
||||
"counttomark"
|
||||
"cleartomark"
|
||||
|
||||
# maths
|
||||
"add"
|
||||
"sub"
|
||||
"mul"
|
||||
"div"
|
||||
"idiv"
|
||||
"mod"
|
||||
"abs"
|
||||
"neg"
|
||||
"ceiling"
|
||||
"floor"
|
||||
"round"
|
||||
"truncate"
|
||||
"sqrt"
|
||||
"exp"
|
||||
"ln"
|
||||
"log"
|
||||
"rand"
|
||||
"srang"
|
||||
"rrand"
|
||||
|
||||
# arrays
|
||||
"get"
|
||||
"put"
|
||||
"copy"
|
||||
"length"
|
||||
"forall"
|
||||
"getinterval"
|
||||
"putinterval"
|
||||
"aload"
|
||||
"astore"
|
||||
"mark"
|
||||
"setpacking"
|
||||
"currentpacking"
|
||||
"begin"
|
||||
"end"
|
||||
"def"
|
||||
"store"
|
||||
"load"
|
||||
"where"
|
||||
"countdictstack"
|
||||
"cleardictstack"
|
||||
"dictstack"
|
||||
"known"
|
||||
"maxlength"
|
||||
"undef"
|
||||
"<<"
|
||||
">>"
|
||||
"search"
|
||||
"anchorsearch"
|
||||
"token"
|
||||
|
||||
# relational operators
|
||||
"eq"
|
||||
"ne"
|
||||
"gt"
|
||||
"ge"
|
||||
"lt"
|
||||
"le"
|
||||
"and"
|
||||
"or"
|
||||
"xor"
|
||||
"true"
|
||||
"false"
|
||||
"bitshift"
|
||||
|
||||
|
||||
#control operators
|
||||
"if"
|
||||
"else"
|
||||
"ifelse"
|
||||
"exec"
|
||||
"for"
|
||||
"repeat"
|
||||
"loop"
|
||||
"forall"
|
||||
"pathforall"
|
||||
"kshow"
|
||||
"exit"
|
||||
"countexecstack"
|
||||
"execstack"
|
||||
"stop"
|
||||
"errordict"
|
||||
"stopped"
|
||||
|
||||
|
||||
# type
|
||||
"type"
|
||||
"xcheck"
|
||||
"rcheck"
|
||||
"wcheck"
|
||||
"cvlit"
|
||||
"cvx"
|
||||
"readonly"
|
||||
"executeonly"
|
||||
"noacces"
|
||||
"cvi"
|
||||
"cvr"
|
||||
"cns"
|
||||
"cvs"
|
||||
"cvrs"
|
||||
|
||||
#misc
|
||||
"print"
|
||||
"invalidaccess"
|
||||
"gcheck"
|
||||
"showpage"
|
||||
"currentgstate"
|
||||
"currentfile"
|
||||
"status"
|
||||
"byteavailable"
|
||||
"setdevparams"
|
||||
"currentdevparams"
|
||||
"Predictor"
|
||||
"Columns"
|
||||
"Colors"
|
||||
"BitsPerComponent"
|
||||
"Uncompressed"
|
||||
"EndOfLine"
|
||||
"EncodedByteAlign"
|
||||
"EndOfBlock"
|
||||
"Blackls1"
|
||||
"DamagedRowsBeforeError"
|
||||
"CloseTarget"
|
||||
"HuffTables"
|
||||
"ColorTransform"
|
||||
|
||||
|
||||
# vm
|
||||
"load"
|
||||
"save"
|
||||
"restore"
|
||||
"setglobal"
|
||||
"grestoreall"
|
||||
"invalidrestore"
|
||||
"startjob"
|
||||
"exitserver"
|
||||
|
||||
# User objects
|
||||
"defineuserobject"
|
||||
"undefineuserobject"
|
||||
"execuserobject"
|
||||
"UserObjects"
|
||||
|
||||
#i/o
|
||||
"read"
|
||||
"write"
|
||||
"readstring"
|
||||
"readline"
|
||||
"writestring"
|
||||
"readhexstring"
|
||||
"writehexstring"
|
||||
"token"
|
||||
"flush"
|
||||
"flushfile"
|
||||
|
||||
|
||||
# files
|
||||
"file"
|
||||
"deletefile"
|
||||
"renamefile"
|
||||
"status"
|
||||
"filenameforall"
|
||||
"setfileposition"
|
||||
"fileposition"
|
||||
"%stdin"
|
||||
"%stdout"
|
||||
"%stderr"
|
||||
"%statementedit"
|
||||
"%lineedit"
|
||||
|
||||
# Filters
|
||||
"ASCII85Decode"
|
||||
"ASCII85Encode"
|
||||
"ASCIIHexDecode"
|
||||
"ASCIIHexEncode"
|
||||
"Decode"
|
||||
"Encode"
|
||||
"RunLengthEncode"
|
||||
"RunLengthDecode"
|
||||
"CCITTFaxEncode"
|
||||
"CCITTFaxDecode"
|
||||
"DCTEncode"
|
||||
"DCTDecode"
|
||||
"ReusableStreamDecode"
|
||||
"NullEncode"
|
||||
"SubFileDecode"
|
||||
"filter"
|
||||
"LWZEncode"
|
||||
"LWZDecode"
|
||||
"FlateEncode"
|
||||
"FlateDecode"
|
||||
"EODCount"
|
||||
"EODString"
|
||||
"CloseSource"
|
||||
|
||||
|
||||
# Resources
|
||||
"findresource"
|
||||
"resourcestatus"
|
||||
"resourceforall"
|
||||
"definerresource"
|
||||
"undefineresource"
|
||||
"findfont"
|
||||
"definefont"
|
||||
"resourcestatsu"
|
||||
"Font"
|
||||
"CIDFont"
|
||||
"CMap"
|
||||
"FontSet"
|
||||
"Encoding"
|
||||
"Form"
|
||||
"Pattern"
|
||||
"ProcSet"
|
||||
"ColorSpace"
|
||||
"Halftone"
|
||||
"ColorRendering"
|
||||
"IdiomSet"
|
||||
"Inkparam"
|
||||
"TrapParams"
|
||||
"OutputDevice"
|
||||
"Controllangue"
|
||||
"Localization"
|
||||
"PDL"
|
||||
"HWOptions"
|
||||
"Filter"
|
||||
"ColorSpaceFamily"
|
||||
"Emulator"
|
||||
"IODevice"
|
||||
"ColorRenderingType"
|
||||
"FMapType"
|
||||
"FontType"
|
||||
"FormType"
|
||||
"HalftoneType"
|
||||
"ImageType"
|
||||
"PatternType"
|
||||
"FunctionType"
|
||||
"ShadingType"
|
||||
"TrappingType"
|
||||
"Category"
|
||||
"Generic"
|
||||
"BitMapFontInit"
|
||||
"CIDInit"
|
||||
"ColorRendering"
|
||||
"FontSetInit"
|
||||
"Trapping"
|
||||
"ColorSpace"
|
||||
"ColorSpaceFamily"
|
||||
"sethalftone"
|
||||
"DefineResource"
|
||||
"UndefineResource"
|
||||
"FindResource"
|
||||
"ResourceStatus"
|
||||
"ResourceForAll"
|
||||
"Category"
|
||||
"InstaceType"
|
||||
"ResourceFileName"
|
||||
"Intent"
|
||||
"AsyncRead"
|
||||
"Times-Roman"
|
||||
|
||||
|
||||
# Error handling
|
||||
"errorname"
|
||||
"errorinfo"
|
||||
"command"
|
||||
"newerror"
|
||||
"ostack"
|
||||
"estack"
|
||||
"dstack"
|
||||
"recordstacks"
|
||||
"binary"
|
||||
"bind"
|
||||
"average"
|
||||
|
||||
|
||||
# Image models
|
||||
"CTM"
|
||||
"DeviceGray"
|
||||
"arc"
|
||||
"arcn"
|
||||
"artct"
|
||||
"clip"
|
||||
"cliprestore"
|
||||
"clipsave"
|
||||
"closepath"
|
||||
"currentlinewidth"
|
||||
"curveto"
|
||||
"fill"
|
||||
"grestone"
|
||||
"gsave"
|
||||
"image"
|
||||
"ineofill"
|
||||
"infill"
|
||||
"instroke"
|
||||
"inueofill"
|
||||
"inustroke"
|
||||
"lineto"
|
||||
"moveto"
|
||||
"newpath"
|
||||
"nocurrentpoint"
|
||||
"path"
|
||||
"position"
|
||||
"rcurveto"
|
||||
"rlineto"
|
||||
"setbox"
|
||||
"setlinewidth"
|
||||
"show"
|
||||
"stroke"
|
||||
"ucache"
|
||||
"ufill"
|
||||
"ustroke"
|
||||
"cvlit"
|
||||
"ufill"
|
||||
"ueofill"
|
||||
"rectfill"
|
||||
"rectstoke"
|
||||
"rectclip"
|
||||
"execform"
|
||||
"FormType"
|
||||
"XIUD"
|
||||
"BBox"
|
||||
"Matrix"
|
||||
"PaintProc"
|
||||
"Implementation"
|
||||
|
||||
|
||||
# Colorspace
|
||||
"setcolorspace"
|
||||
"setgray"
|
||||
"setrgbcolor"
|
||||
"setcmykcolor"
|
||||
"image"
|
||||
"colorimage"
|
||||
"sethsbcolor"
|
||||
"CIEBasedABC"
|
||||
"CIEBasedA"
|
||||
"CIEBaseDEF"
|
||||
"CIEBaseDEFG"
|
||||
"Pattern"
|
||||
"Indexed"
|
||||
"Separation"
|
||||
"DeviceN"
|
||||
"setpattern"
|
||||
"currentgray"
|
||||
"currentrgbcolor"
|
||||
"currentcmykcolor"
|
||||
"setcachedevice"
|
||||
"setcachedevice2"
|
||||
"BuildGlyph"
|
||||
"BuildChar"
|
||||
"CharString"
|
||||
"shfill"
|
||||
"setundercolorremoval"
|
||||
"settransfer"
|
||||
"setscreen"
|
||||
"sethalftone"
|
||||
"setcolortransfer"
|
||||
"DeviceRGB"
|
||||
"DeviceCMYK"
|
||||
"DeviceGray"
|
||||
"RangeABC"
|
||||
"DecodeABC"
|
||||
"MatrixABC"
|
||||
"RangeLMN"
|
||||
"DecodeLMN"
|
||||
"MatrixLMN"
|
||||
"WhitePoint"
|
||||
"BlackPoint"
|
||||
|
||||
|
||||
# Patterns
|
||||
"PatternType"
|
||||
"XUID"
|
||||
"PaintProc"
|
||||
"BBox"
|
||||
"XStep"
|
||||
"YStep"
|
||||
"PaintType"
|
||||
"TilingType"
|
||||
"Implementation"
|
||||
"Shading"
|
||||
"ShadingType"
|
||||
"AntiAlias"
|
||||
"Coords"
|
||||
"BitsPerFlag"
|
||||
"BitsPerCoordinate"
|
||||
"MultipleDataSources"
|
||||
|
||||
|
||||
# Misc things
|
||||
"[-1, 1, -1, 1]"
|
||||
"[-1 1]"
|
||||
"1337"
|
||||
"<</"
|
180
dictionaries/psd.dict
Normal file
180
dictionaries/psd.dict
Normal file
@ -0,0 +1,180 @@
|
||||
# https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/
|
||||
|
||||
"8BPS"
|
||||
"8BIM"
|
||||
"8B64"
|
||||
|
||||
# blend mode keys
|
||||
"pass"
|
||||
"norm"
|
||||
"diss"
|
||||
"dark"
|
||||
"mul "
|
||||
"idiv"
|
||||
"lbrn"
|
||||
"dkCl"
|
||||
"lite"
|
||||
"scrn"
|
||||
"deiv"
|
||||
"lddg"
|
||||
"lgCl"
|
||||
"over"
|
||||
"sLit"
|
||||
"hLit"
|
||||
"vLit"
|
||||
"lLit"
|
||||
"pLit"
|
||||
"hMix"
|
||||
"diff"
|
||||
"smud"
|
||||
"fsub"
|
||||
"fdiv"
|
||||
"hue "
|
||||
"sat "
|
||||
"colr"
|
||||
"lum "
|
||||
|
||||
# adjustment layers
|
||||
"SoCo"
|
||||
"GdFl"
|
||||
"PtFl"
|
||||
"brit"
|
||||
"levl"
|
||||
"curv"
|
||||
"expA"
|
||||
"vibA"
|
||||
"hue "
|
||||
"hue2"
|
||||
"blnc"
|
||||
"blwh"
|
||||
"phfl"
|
||||
"mixr"
|
||||
"clrL"
|
||||
"nvrt"
|
||||
"post"
|
||||
"thrs"
|
||||
"grdm"
|
||||
"selc"
|
||||
|
||||
# effect signatures
|
||||
"cmnS"
|
||||
"dsdw"
|
||||
"isdw"
|
||||
"oglw"
|
||||
"iglw"
|
||||
"bevl"
|
||||
"sofi"
|
||||
|
||||
# keys
|
||||
"Layr"
|
||||
"Lr16"
|
||||
"Lr32"
|
||||
"TySh"
|
||||
"tySt"
|
||||
"lrFX"
|
||||
"luni"
|
||||
"lyid"
|
||||
"lfx2"
|
||||
"Patt"
|
||||
"Pat2"
|
||||
"Pat3"
|
||||
"Anno"
|
||||
"clbl"
|
||||
"infx"
|
||||
"knko"
|
||||
"lspf"
|
||||
"lclr"
|
||||
"fxrp"
|
||||
"grdm"
|
||||
"lsct"
|
||||
"brst"
|
||||
"SoCo"
|
||||
"PtFl"
|
||||
"GdFl"
|
||||
"vmsk"
|
||||
"vsms"
|
||||
"vscg"
|
||||
"ffxi"
|
||||
"lnsr"
|
||||
"shpa"
|
||||
"shmd"
|
||||
"lyvr"
|
||||
"tsly"
|
||||
"lmgm"
|
||||
"vmgm"
|
||||
"brit"
|
||||
"mixr"
|
||||
"clrL"
|
||||
"plLd"
|
||||
"lnkD"
|
||||
"lnk2"
|
||||
"lnk3"
|
||||
"phfl"
|
||||
"blwh"
|
||||
"CgEd"
|
||||
"Txt2"
|
||||
"vibA"
|
||||
"pths"
|
||||
"anFX"
|
||||
"FMsk"
|
||||
"SoLd"
|
||||
"vstk"
|
||||
"vscg"
|
||||
"sn2P"
|
||||
"vogk"
|
||||
"PxSc"
|
||||
"cinf"
|
||||
"PxSD"
|
||||
"artb"
|
||||
"artd"
|
||||
"abdd"
|
||||
"SoLE"
|
||||
"Mtrn"
|
||||
"Mt16"
|
||||
"Mt32"
|
||||
"LMsk"
|
||||
"expA"
|
||||
"FXid"
|
||||
"FEid"
|
||||
|
||||
# color handling
|
||||
"conv"
|
||||
"avod"
|
||||
"lumi"
|
||||
|
||||
# descriptor structure
|
||||
"obj "
|
||||
"Objc"
|
||||
"VlLs"
|
||||
"doub"
|
||||
"UntF"
|
||||
"TEXT"
|
||||
"enum"
|
||||
"long"
|
||||
"comp"
|
||||
"bool"
|
||||
"GlbO"
|
||||
"type"
|
||||
"GlbC"
|
||||
"alis"
|
||||
"tdta"
|
||||
|
||||
# reference structure
|
||||
"prop"
|
||||
"Clss"
|
||||
"Enmr"
|
||||
"rele"
|
||||
"Idnt"
|
||||
"indx"
|
||||
"name"
|
||||
|
||||
# misc
|
||||
"txtA"
|
||||
"sndA"
|
||||
"txtC"
|
||||
"sndM"
|
||||
"plcL"
|
||||
"liFD"
|
||||
"liFE"
|
||||
"lifA"
|
||||
"soLD"
|
@ -8,249 +8,237 @@
|
||||
#
|
||||
# Contributed by Dhiraj Mishra <dhiraj@inputzero.io>
|
||||
#
|
||||
"?"
|
||||
"abc"
|
||||
"()"
|
||||
"(?<!)"
|
||||
"(?<=)"
|
||||
"(?=)"
|
||||
"?"
|
||||
"[\\[\\]\\{\\}\\(\\)\\%\\^\\#\\ ]"
|
||||
"[]"
|
||||
"abc|def"
|
||||
"abc|def|ghi"
|
||||
"^xxx$"
|
||||
"ab\\b\\d\\bcd"
|
||||
"\\w|\\d"
|
||||
"\\[\\]\\{\\}\\(\\)\\%\\^\\#\\ "
|
||||
"]"
|
||||
"{"
|
||||
"{,}"
|
||||
"{}"
|
||||
"}"
|
||||
"[\\0]"
|
||||
"[\\00011]"
|
||||
"[\\011]"
|
||||
"\\011"
|
||||
"?:\\1"
|
||||
"[\\11]"
|
||||
"\\11"
|
||||
"[\\111]"
|
||||
"\\111"
|
||||
"[\\1111]"
|
||||
"\\1111"
|
||||
"\\1112"
|
||||
"[\\118]"
|
||||
"\\118"
|
||||
"[\\11a]"
|
||||
"\\11a"
|
||||
"{12,"
|
||||
"[-123]"
|
||||
"[^123]"
|
||||
"{12,3b"
|
||||
"\\1\\2(a(?:\\1\\2))\\2)\\1"
|
||||
"\\1\\2(a(?:\\1(b\\1\\2))\\2)\\1"
|
||||
"\\1\\2(b\\1\\2))\\2)\\1"
|
||||
"\\1(a)"
|
||||
"(\\1a)"
|
||||
"(?!\\1(a\\1)\\1)\\1"
|
||||
"\\1(b\\1\\2))\\2)\\1"
|
||||
"{1z}"
|
||||
"(\\2)(\\1)"
|
||||
"\\8"
|
||||
"\\9"
|
||||
"{93}"
|
||||
"(?:a*)*"
|
||||
"(?:a*)+"
|
||||
"(?:a+)*"
|
||||
"(?:a+)+"
|
||||
"(?:a+)?"
|
||||
"(?:a?)*"
|
||||
"(?:a?)+"
|
||||
"(?:a?)?"
|
||||
"(?:a?)??"
|
||||
"(?<!a)"
|
||||
"(?<=a)"
|
||||
"(?<a>)"
|
||||
"(?<a>.)"
|
||||
"(a)"
|
||||
"a"
|
||||
"a*?"
|
||||
"a+"
|
||||
"a+?"
|
||||
"a."
|
||||
"a?"
|
||||
"a??"
|
||||
"a{"
|
||||
"a{,}"
|
||||
"a{}"
|
||||
"a$"
|
||||
"a{0}"
|
||||
"(?:a+){0,0}"
|
||||
"a{0,1}?"
|
||||
"(?=a){0,10}a"
|
||||
"(?!(a))\\1"
|
||||
"(a)\\1"
|
||||
"(a\\1)"
|
||||
"(?=a){1,10}a"
|
||||
"a{1,2}?"
|
||||
"a{12,"
|
||||
"a{12,3b"
|
||||
"a{12z}"
|
||||
"a{12za?)?"
|
||||
"(?:a{5,1000000}){3,1000000}"
|
||||
"(?=a){9,10}a"
|
||||
"(?!a)?a"
|
||||
"a[^a]"
|
||||
"a[a]"
|
||||
"(?!a)?a\\1"
|
||||
"(?:(?=a))a\\1"
|
||||
"a[a-z]"
|
||||
"(?:ab)"
|
||||
"(?:ab)+"
|
||||
"(?:ab)?"
|
||||
"(ab)"
|
||||
"a(?!b)"
|
||||
"a(?:b)"
|
||||
"a(?=b)"
|
||||
"a*b"
|
||||
"a+b"
|
||||
"a\\b!"
|
||||
"a|b"
|
||||
"a*b\\+\\|[0-9]\\|\\d{1,9}"
|
||||
"(ab)\\1"
|
||||
"(?:ab){4,7}"
|
||||
"a\\Bb"
|
||||
"a(?!bbb|bb)c"
|
||||
"a(?=bbb|bb)c"
|
||||
"ab\\b\\d\\bcd"
|
||||
"[a-b-c]"
|
||||
"a(?=b)c"
|
||||
"a*b|c"
|
||||
"a+b|c"
|
||||
"a\\bc"
|
||||
"a||bc"
|
||||
"a|bc"
|
||||
"ab|c"
|
||||
"abc"
|
||||
"abc+"
|
||||
"abc+?"
|
||||
"a[bc]d"
|
||||
"(?:ab)|cde"
|
||||
"(?:ab|cde)"
|
||||
"(ab|cde)"
|
||||
"(ab|cde)\\1"
|
||||
"abc|def"
|
||||
"abc|def|ghi"
|
||||
"a\\D"
|
||||
"a\\fb\\nc\\rd\\te\\vf"
|
||||
"(?<a>.)\\k<a>"
|
||||
"a\\n"
|
||||
"a\\nb\\bc"
|
||||
"a\\q"
|
||||
"a\\s"
|
||||
"a\\S"
|
||||
"a\\sc"
|
||||
"a\\Sc"
|
||||
"a\\w"
|
||||
"a\\W"
|
||||
"a?)"xyz{93}"
|
||||
"a{z}"
|
||||
"[a-zA-Z0-9]"
|
||||
"[\\c!]"
|
||||
"[\\c_]"
|
||||
"[\\c~]"
|
||||
"\\c!"
|
||||
"\\c"
|
||||
"\\c_"
|
||||
"\\c~"
|
||||
"[\\c1]"
|
||||
"[\\ca]"
|
||||
"[\\cA]"
|
||||
"\\cA"
|
||||
"\\cj\\cJ\\ci\\cI\\ck\\cK"
|
||||
"[\\cz]"
|
||||
"[\\cZ]"
|
||||
"/^\\d*\\./"
|
||||
"/\\d{1,2}\\/\\d{1,2}\\/\\d{4}/"
|
||||
"\\[DataMember\\((.+?)\\)\\]"
|
||||
"[\\d-\\d]"
|
||||
"[\\d-z]"
|
||||
"(?: foo )"
|
||||
"(?:foo)"
|
||||
"foo(?=bar)bar)az"
|
||||
"foo(?=bar)bar)baz"
|
||||
"foo(?!bar)baz"
|
||||
"foo(?<!bar)baz"
|
||||
"foo(?<=bar)baz"
|
||||
"foo(?=bar)baz"
|
||||
"foo|(bar|baz)|quux"
|
||||
"fo(?o(?o(?o(?=bar)baz"
|
||||
"foo[z]*"
|
||||
"\\P{Any}"
|
||||
"\\p{Changes_When_NFKC_Casefolded}"
|
||||
"\\P{Decimal_Number}"
|
||||
"\\P{gc=Decimal_Number}"
|
||||
"\\p{gc=Nd}"
|
||||
"\\p{General_Category=Decimal_Number}"
|
||||
"\\p{Nd}"
|
||||
"\\P{sc=Greek}"
|
||||
"\\p{Script_Extensions=Greek}"
|
||||
"\\p{Script=Greek}"
|
||||
"\\P{scx=Greek}"
|
||||
"\\q"
|
||||
"\\u0034"
|
||||
"\\u003z"
|
||||
"\\u0060"
|
||||
"\\u{12345}"
|
||||
"\\u{12345}*"
|
||||
"\\u{12345}{3}"
|
||||
"\\u{12345}\\u{23456}"
|
||||
"\\ud808\\udf45*"
|
||||
"[\\ud808\\udf45-\\ud809\\udccc]"
|
||||
"\\w|\\d"
|
||||
"[x]"
|
||||
"\x01"
|
||||
"\x0f"
|
||||
"\\x3z"
|
||||
"\\x60"
|
||||
"[\x8f]"
|
||||
"[\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"[x\\dz]"
|
||||
"[\xe2\x81\xa3]"
|
||||
"\xe2\x81\xa3"
|
||||
"\xed\xa0\x80"
|
||||
"((\xed\xa0\x80))\x02"
|
||||
"\xed\xb0\x80"
|
||||
"(\xed\xb0\x80)\x01"
|
||||
"[-\xf0\x9f\x92\xa9]+"
|
||||
"\xf0\x9f\x92\xa9"
|
||||
"[\xf0\x9f\x92\xa9-\xf4\x8f\xbf\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"[\xf0\x9f\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"^xxx$"
|
||||
"(x)(x)(x)\\1"
|
||||
"(x)(x)(x)\\1*"
|
||||
"(x)(x)(x)\\2"
|
||||
"(x)(x)(x)\\3"
|
||||
"(x)(x)(x)\\3*"
|
||||
"(x)(x)(x)\\4"
|
||||
"(x)(x)(x)\\4*"
|
||||
"(x)(x)(x)(x)(x)(x)(x)(x)(x)(x)\\10"
|
||||
"(x)(x)(x)(x)(x)(x)(x)(x)(x)(x)\\11"
|
||||
"[xyz]"
|
||||
"xyz?"
|
||||
"xyz??"
|
||||
"xyz{0,1}"
|
||||
"xyz{0,1}?"
|
||||
"xyz{93}"
|
||||
"xyz{1,32}"
|
||||
"xyz{1,32}?"
|
||||
"xyz{1,}"
|
||||
"xyz{1,}?"
|
||||
"a\\fb\\nc\\rd\\te\\vf"
|
||||
"a\\nb\\bc"
|
||||
"(?:foo)"
|
||||
"(?: foo )"
|
||||
"foo|(bar|baz)|quux"
|
||||
"foo(?=bar)baz"
|
||||
"foo(?!bar)baz"
|
||||
"foo(?<=bar)baz"
|
||||
"foo(?<!bar)baz"
|
||||
"()"
|
||||
"(?=)"
|
||||
"[]"
|
||||
"[x]"
|
||||
"[xyz]"
|
||||
"[a-zA-Z0-9]"
|
||||
"[-123]"
|
||||
"[^123]"
|
||||
"]"
|
||||
"}"
|
||||
"[a-b-c]"
|
||||
"[x\\dz]"
|
||||
"[\\d-z]"
|
||||
"[\\d-\\d]"
|
||||
"[z-\\d]"
|
||||
"\\cj\\cJ\\ci\\cI\\ck\\cK"
|
||||
"\\c!"
|
||||
"\\c_"
|
||||
"\\c~"
|
||||
"[\\c!]"
|
||||
"[\\c_]"
|
||||
"[\\c~]"
|
||||
"[\\ca]"
|
||||
"[\\cz]"
|
||||
"[\\cA]"
|
||||
"[\\cZ]"
|
||||
"[\\c1]"
|
||||
"\\[\\]\\{\\}\\(\\)\\%\\^\\#\\ "
|
||||
"[\\[\\]\\{\\}\\(\\)\\%\\^\\#\\ ]"
|
||||
"\\8"
|
||||
"\\9"
|
||||
"\\11"
|
||||
"\\11a"
|
||||
"\\011"
|
||||
"\\118"
|
||||
"\\111"
|
||||
"\\1111"
|
||||
"(x)(x)(x)\\1"
|
||||
"(x)(x)(x)\\2"
|
||||
"(x)(x)(x)\\3"
|
||||
"(x)(x)(x)\\4"
|
||||
"(x)(x)(x)\\1*"
|
||||
"(x)(x)(x)\\3*"
|
||||
"(x)(x)(x)\\4*"
|
||||
"(x)(x)(x)(x)(x)(x)(x)(x)(x)(x)\\10"
|
||||
"(x)(x)(x)(x)(x)(x)(x)(x)(x)(x)\\11"
|
||||
"(a)\\1"
|
||||
"(a\\1)"
|
||||
"(\\1a)"
|
||||
"(\\2)(\\1)"
|
||||
"(?=a){0,10}a"
|
||||
"(?=a){1,10}a"
|
||||
"(?=a){9,10}a"
|
||||
"(?!a)?a"
|
||||
"\\1(a)"
|
||||
"(?!(a))\\1"
|
||||
"(?!\\1(a\\1)\\1)\\1"
|
||||
"\\1\\2(a(?:\\1(b\\1\\2))\\2)\\1"
|
||||
"[\\0]"
|
||||
"[\\11]"
|
||||
"[\\11a]"
|
||||
"[\\011]"
|
||||
"[\\00011]"
|
||||
"[\\118]"
|
||||
"[\\111]"
|
||||
"[\\1111]"
|
||||
"\\x60"
|
||||
"\\x3z"
|
||||
"\\c"
|
||||
"\\u0034"
|
||||
"\\u003z"
|
||||
"foo[z]*"
|
||||
"\\u{12345}"
|
||||
"\\u{12345}\\u{23456}"
|
||||
"\\u{12345}{3}"
|
||||
"\\u{12345}*"
|
||||
"\\ud808\\udf45*"
|
||||
"[\\ud808\\udf45-\\ud809\\udccc]"
|
||||
"a"
|
||||
"a|b"
|
||||
"a\\n"
|
||||
"a$"
|
||||
"a\\b!"
|
||||
"a\\Bb"
|
||||
"a*?"
|
||||
"a?"
|
||||
"a??"
|
||||
"a{0,1}?"
|
||||
"a{1,2}?"
|
||||
"a+?"
|
||||
"(a)"
|
||||
"(a)\\1"
|
||||
"(\\1a)"
|
||||
"\\1(a)"
|
||||
"a\\s"
|
||||
"a\\S"
|
||||
"a\\D"
|
||||
"a\\w"
|
||||
"a\\W"
|
||||
"a."
|
||||
"a\\q"
|
||||
"a[a]"
|
||||
"a[^a]"
|
||||
"a[a-z]"
|
||||
"a(?:b)"
|
||||
"a(?=b)"
|
||||
"a(?!b)"
|
||||
"\\x60"
|
||||
"\\u0060"
|
||||
"\\cA"
|
||||
"\\q"
|
||||
"\\1112"
|
||||
"(a)\\1"
|
||||
"(?!a)?a\\1"
|
||||
"(?:(?=a))a\\1"
|
||||
"a{}"
|
||||
"a{,}"
|
||||
"a{"
|
||||
"a{z}"
|
||||
"a{12z}"
|
||||
"a{12,"
|
||||
"a{12,3b"
|
||||
"{}"
|
||||
"{,}"
|
||||
"{"
|
||||
"xyz{1,32}"
|
||||
"xyz{1,32}?"
|
||||
"xyz{93}"
|
||||
"{z}"
|
||||
"{1z}"
|
||||
"{12,"
|
||||
"{12,3b"
|
||||
"a"
|
||||
"abc"
|
||||
"a[bc]d"
|
||||
"a|bc"
|
||||
"ab|c"
|
||||
"a||bc"
|
||||
"(?:ab)"
|
||||
"(?:ab|cde)"
|
||||
"(?:ab)|cde"
|
||||
"(ab)"
|
||||
"(ab|cde)"
|
||||
"(ab)\\1"
|
||||
"(ab|cde)\\1"
|
||||
"(?:ab)?"
|
||||
"(?:ab)+"
|
||||
"a?"
|
||||
"a+"
|
||||
"a??"
|
||||
"a*?"
|
||||
"a+?"
|
||||
"(?:a?)?"
|
||||
"(?:a+)?"
|
||||
"(?:a?)+"
|
||||
"(?:a*)+"
|
||||
"(?:a+)+"
|
||||
"(?:a?)*"
|
||||
"(?:a*)*"
|
||||
"(?:a+)*"
|
||||
"a{0}"
|
||||
"(?:a+){0,0}"
|
||||
"a*b"
|
||||
"a+b"
|
||||
"a*b|c"
|
||||
"a+b|c"
|
||||
"(?:a{5,1000000}){3,1000000}"
|
||||
"(?:ab){4,7}"
|
||||
"a\\bc"
|
||||
"a\\sc"
|
||||
"a\\Sc"
|
||||
"a(?=b)c"
|
||||
"a(?=bbb|bb)c"
|
||||
"a(?!bbb|bb)c"
|
||||
"\xe2\x81\xa3"
|
||||
"[\xe2\x81\xa3]"
|
||||
"\xed\xb0\x80"
|
||||
"\xed\xa0\x80"
|
||||
"(\xed\xb0\x80)\x01"
|
||||
"((\xed\xa0\x80))\x02"
|
||||
"\xf0\x9f\x92\xa9"
|
||||
"\x01"
|
||||
"\x0f"
|
||||
"[-\xf0\x9f\x92\xa9]+"
|
||||
"[\xf0\x9f\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"(?<=)"
|
||||
"(?<=a)"
|
||||
"(?<!)"
|
||||
"(?<!a)"
|
||||
"(?<a>)"
|
||||
"(?<a>.)"
|
||||
"(?<a>.)\\k<a>"
|
||||
"\\p{Script=Greek}"
|
||||
"\\P{sc=Greek}"
|
||||
"\\p{Script_Extensions=Greek}"
|
||||
"\\P{scx=Greek}"
|
||||
"\\p{General_Category=Decimal_Number}"
|
||||
"\\P{gc=Decimal_Number}"
|
||||
"\\p{gc=Nd}"
|
||||
"\\P{Decimal_Number}"
|
||||
"\\p{Nd}"
|
||||
"\\P{Any}"
|
||||
"\\p{Changes_When_NFKC_Casefolded}"
|
||||
"(?:a?)??"
|
||||
"a?)"xyz{93}"
|
||||
"{93}"
|
||||
"a{12za?)?"
|
||||
"[\x8f]"
|
||||
"[\xf0\x9f\x92\xa9-\xf4\x8f\xbf\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"[\x92\xa9-\xf4\x8f\xbf\xbf]"
|
||||
"\\1\\2(b\\1\\2))\\2)\\1"
|
||||
"\\1\\2(a(?:\\1\\2))\\2)\\1"
|
||||
"?:\\1"
|
||||
"\\1(b\\1\\2))\\2)\\1"
|
||||
"\\1\\2(a(?:\\1(b\\1\\2))\\2)\\1"
|
||||
"foo(?=bar)bar)baz"
|
||||
"fo(?o(?o(?o(?=bar)baz"
|
||||
"foo(?=bar)baz"
|
||||
"foo(?=bar)bar)az"
|
||||
"[z-\\d]"
|
||||
|
17
dictionaries/riff.dict
Normal file
17
dictionaries/riff.dict
Normal file
@ -0,0 +1,17 @@
|
||||
# https://developers.google.com/speed/webp/docs/riff_container
|
||||
|
||||
# FourCC
|
||||
"ALPH"
|
||||
"ANIM"
|
||||
"ANMF"
|
||||
"EXIF"
|
||||
"ICCP"
|
||||
"RIFF"
|
||||
"VP8 "
|
||||
"VP8L"
|
||||
"VP8X"
|
||||
"WEBP"
|
||||
"XMP "
|
||||
|
||||
# VP8 signature
|
||||
"\x9D\x01\x2A"
|
31
dictionaries/rss.dict
Normal file
31
dictionaries/rss.dict
Normal file
@ -0,0 +1,31 @@
|
||||
# https://en.wikipedia.org/wiki/RSS
|
||||
|
||||
"<?xml version='1.0' encoding='UTF-8' ?>"
|
||||
"<rss version='2.0'>"
|
||||
"<author>"
|
||||
"<category>"
|
||||
"<channel>"
|
||||
"<cloud>"
|
||||
"<comments>"
|
||||
"<copyright>"
|
||||
"<description>"
|
||||
"<docs>"
|
||||
"<enclosure>"
|
||||
"<generator>"
|
||||
"<guid>"
|
||||
"<image>"
|
||||
"<item>"
|
||||
"<language>"
|
||||
"<lastBuildDate>"
|
||||
"<link>"
|
||||
"<managingEditor>"
|
||||
"<pubDate>"
|
||||
"<rating>"
|
||||
"<skipDays>"
|
||||
"<skipHours>"
|
||||
"<source>"
|
||||
"<textInput>"
|
||||
"<title>"
|
||||
"<ttl>"
|
||||
"<url>"
|
||||
"<webMaster>"
|
21
dictionaries/rst.dict
Normal file
21
dictionaries/rst.dict
Normal file
@ -0,0 +1,21 @@
|
||||
# https://docutils.readthedocs.io/en/sphinx-docs/ref/rst/restructuredtext.html
|
||||
|
||||
bold="**"
|
||||
list1="1. "
|
||||
list2="(1) "
|
||||
list3="1) "
|
||||
list4="I. "
|
||||
list5="i. "
|
||||
list6="* "
|
||||
list7="- "
|
||||
list8="+ "
|
||||
end_of_paragraph="::"
|
||||
title="====="
|
||||
image=".. image:: "
|
||||
image_attr=" :a: 1"
|
||||
doctest=">>>"
|
||||
table1="+--+""
|
||||
table2="+==+""
|
||||
footnote_and_citation=".. [a] "
|
||||
hyperlink=".. _a: http://a "
|
||||
macro=".. |b| a"
|
408
dictionaries/rtf.dict
Normal file
408
dictionaries/rtf.dict
Normal file
@ -0,0 +1,408 @@
|
||||
# http://latex2rtf.sourceforge.net/RTF-Spec-1.0.txt
|
||||
|
||||
# charset
|
||||
"\\ansi"
|
||||
"\\mac"
|
||||
"\\pc"
|
||||
"\\pca"
|
||||
|
||||
# font table
|
||||
"\\fnil"
|
||||
"\\fRoman"
|
||||
"\\fswiss"
|
||||
"\\fmodern"
|
||||
"\\fscript"
|
||||
"\\fdecor"
|
||||
"\\ftech"
|
||||
|
||||
|
||||
# stylesheet
|
||||
"\\sbasedon"
|
||||
"\\snext"
|
||||
"\\keycode"
|
||||
|
||||
|
||||
# colors
|
||||
"\\red"
|
||||
"\\green"
|
||||
"\\blue"
|
||||
"\\cf"
|
||||
"\\cb"
|
||||
|
||||
# pictures
|
||||
"\\pict"
|
||||
"\\macpict"
|
||||
"\\pmmetafile"
|
||||
"\\wmetafile"
|
||||
"\\dibitmap"
|
||||
"\\wbitmap"
|
||||
"\\wbmbitspixel"
|
||||
"\\wbmplanes"
|
||||
"\\wbmwidthbytes"
|
||||
"\\picw"
|
||||
"\\pich"
|
||||
"\\picwgoal"
|
||||
"\\pichgoal"
|
||||
"\\picscalex"
|
||||
"\\picscaley"
|
||||
"\\picscaled"
|
||||
"\\piccropt"
|
||||
"\\piccropb"
|
||||
"\\piccropl"
|
||||
"\\piccropr"
|
||||
"\\bin"
|
||||
# these strings are probably not necessary
|
||||
"MM_TEXT"
|
||||
"MM_LOMETRIC"
|
||||
"MM_HIMETRIC"
|
||||
"MM_LOENGLISH"
|
||||
"MM_HIENGLISH"
|
||||
"MM_TWIPS"
|
||||
"MM_ISOTROPIC"
|
||||
"MM_ANISOTROPIC"
|
||||
"PU_ARBITRARY"
|
||||
"PU_PELS"
|
||||
"PU_LOMETRIC"
|
||||
"PU_HIMETRIC"
|
||||
"PU_LOENGLISH"
|
||||
"PU_HIENGLISH"
|
||||
"PU_TWIPS"
|
||||
|
||||
# headers and footers
|
||||
"\\headerl"
|
||||
"\\headerr"
|
||||
"\\headerf"
|
||||
"\\footerl"
|
||||
"\\footerr"
|
||||
"\\footerf"
|
||||
|
||||
# misc
|
||||
"\\*\\footnote"
|
||||
"\\*\\annotation"
|
||||
"\\xe"
|
||||
"\\txe"
|
||||
"\\rxe"
|
||||
"\\bxe"
|
||||
"\\ixe"
|
||||
"\\tcf"
|
||||
"\\tcl"
|
||||
"\\*\\bkmkstart"
|
||||
"\\*\\bkmkend"
|
||||
"\\bkmkcolf"
|
||||
"\\bkmkcoll"
|
||||
|
||||
# metadata
|
||||
"\\info"
|
||||
"\\title"
|
||||
"\\subject"
|
||||
"\\author"
|
||||
"\\operator"
|
||||
"\\keywords"
|
||||
"\\comment"
|
||||
"\\version"
|
||||
"\\doccomm"
|
||||
"\\vern"
|
||||
"\\creatim"
|
||||
"\\revtim"
|
||||
"\\printim"
|
||||
"\\buptim"
|
||||
"\\edmins"
|
||||
"\\yr"
|
||||
"\\mo"
|
||||
"\\dy"
|
||||
"\\hr"
|
||||
"\\min"
|
||||
"\\nofpages"
|
||||
"\\nofwords"
|
||||
"\\nofchars"
|
||||
"\\id"
|
||||
"\\field"
|
||||
"\\flddirty"
|
||||
"\\fldedit"
|
||||
"\\fldlock"
|
||||
"\\fldpriv"
|
||||
"\\*\\fldinst"
|
||||
"\\fldrslt"
|
||||
|
||||
# objects
|
||||
"\\objemb"
|
||||
"\\objlink"
|
||||
"\\objautlink"
|
||||
"\\objsub"
|
||||
"\\objicemb"
|
||||
"\\linkself"
|
||||
"\\objlock"
|
||||
"\\objclass"
|
||||
"\\objname"
|
||||
"\\objh"
|
||||
"\\objw"
|
||||
"\\objsetsize"
|
||||
"\\objtransy"
|
||||
"\\objcropt"
|
||||
"\\objcropb"
|
||||
"\\objcropl"
|
||||
"\\objcropr"
|
||||
"\\objscalex"
|
||||
"\\objscaley"
|
||||
"\\objdata"
|
||||
"\\objalias"
|
||||
"\\objsect"
|
||||
"\\rsltrtf"
|
||||
"\\rsltpict"
|
||||
"\\rsltbmp"
|
||||
"\\rslttxt"
|
||||
"\\rsltmerge"
|
||||
"\\result"
|
||||
|
||||
# macintosh editor
|
||||
"\\bkmkpub"
|
||||
"\\pubauto"
|
||||
|
||||
# formating
|
||||
"\\deftab"
|
||||
"\\hyphhotz"
|
||||
"\\linestart"
|
||||
"\\fracwidth"
|
||||
"\\*\\nextfile"
|
||||
"\\*\\template"
|
||||
"\\makebackup"
|
||||
"\\defformat"
|
||||
"\\psover"
|
||||
"\\deflang"
|
||||
"\\ftnsep"
|
||||
"\\ftnsepc"
|
||||
"\\ftncn"
|
||||
"\\endnotes"
|
||||
"\\enddoc"
|
||||
"\\ftntj"
|
||||
"\\ftnbj"
|
||||
"\\ftnstart"
|
||||
"\\ftnrestart"
|
||||
"\\paperw"
|
||||
"\\paperh"
|
||||
"\\margl"
|
||||
"\\margr"
|
||||
"\\margt"
|
||||
"\\margb"
|
||||
"\\facingp"
|
||||
"\\gutter"
|
||||
"\\margmirror"
|
||||
"\\landscape"
|
||||
"\\pgnstart"
|
||||
"\\widowctrl"
|
||||
"\\revisions"
|
||||
"\\revprop"
|
||||
"\\revbar"
|
||||
"\\sectd"
|
||||
"\\endnhere"
|
||||
"\\binfsxn"
|
||||
"\\binsxn"
|
||||
"\\sbknone"
|
||||
"\\sbkcol"
|
||||
"\\sbkpage"
|
||||
"\\sbkeven"
|
||||
"\\sbkodd"
|
||||
"\\cols"
|
||||
"\\colsx"
|
||||
"\\linebetcol"
|
||||
"\\linemod"
|
||||
"\\linex"
|
||||
"\\linestarts"
|
||||
"\\linerestart"
|
||||
"\\lineppage"
|
||||
"\\linecont"
|
||||
"\\pgwsxn"
|
||||
"\\pghsxn"
|
||||
"\\marglsxn"
|
||||
"\\margrsxn"
|
||||
"\\margtsxn"
|
||||
"\\margbsxn"
|
||||
"\\guttersxn"
|
||||
"\\lndscpsxn"
|
||||
"\\titlepg"
|
||||
"\\headery"
|
||||
"\\footery"
|
||||
"\\pgnstarts"
|
||||
"\\pgncont"
|
||||
"\\pgnrestart"
|
||||
"\\pgnx"
|
||||
"\\pgny"
|
||||
"\\pgndec"
|
||||
"\\pgnucrm"
|
||||
"\\pgnlcrm"
|
||||
"\\pgnucltr"
|
||||
"\\pgnlcltr"
|
||||
"\\vertalt"
|
||||
"\\vertal"
|
||||
"\\vertalc"
|
||||
"\\vertalj"
|
||||
"\\pard"
|
||||
"\\s"
|
||||
"\\intbl"
|
||||
"\\keep"
|
||||
"\\keepn"
|
||||
"\\noline"
|
||||
"\\pagebb"
|
||||
"\\sbys"
|
||||
"\\ql"
|
||||
"\\qr"
|
||||
"\\qj"
|
||||
"\\qc"
|
||||
"\\fi"
|
||||
"\\li"
|
||||
"\\ri"
|
||||
"\\sb"
|
||||
"\\sa"
|
||||
"\\sl"
|
||||
"\\tx"
|
||||
"\\tqr"
|
||||
"\\tqc"
|
||||
"\\tqdec"
|
||||
"\\tb"
|
||||
"\\tldot"
|
||||
"\\tlhyph"
|
||||
"\\tlul"
|
||||
"\\tlth"
|
||||
"\\tleq"
|
||||
"\\brdrt"
|
||||
"\\brdrb"
|
||||
"\\brdrl"
|
||||
"\\brdrr"
|
||||
"\\brdrbtw"
|
||||
"\\brdrbar"
|
||||
"\\box"
|
||||
"\\brdrs"
|
||||
"\\brdrth"
|
||||
"\\brdrsh"
|
||||
"\\brdrdb"
|
||||
"\\brdrdot"
|
||||
"\\brdrhair"
|
||||
"\\brdrw"
|
||||
"\\brdrcf"
|
||||
"\\brsp"
|
||||
"\\shading"
|
||||
"\\bghoriz"
|
||||
"\\bgvert"
|
||||
"\\bgfdiag"
|
||||
"\\bgbdiag"
|
||||
"\\bgcross"
|
||||
"\\bgdcross"
|
||||
"\\bgdkhoriz"
|
||||
"\\bgdkvert"
|
||||
"\\bgdkfdiag"
|
||||
"\\bgdkbdiag"
|
||||
"\\bgdkcross"
|
||||
"\\bgdkdcross"
|
||||
"\\cfpat"
|
||||
"\\cbpat"
|
||||
"\\absw"
|
||||
"\\absh"
|
||||
"\\phmrg"
|
||||
"\\phpg"
|
||||
"\\phcol"
|
||||
"\\posx"
|
||||
"\\posxc"
|
||||
"\\posxi"
|
||||
"\\posxo"
|
||||
"\\posxr"
|
||||
"\\posxl"
|
||||
"\\pvmrg"
|
||||
"\\pvpg"
|
||||
"\\pvpara"
|
||||
"\\posy"
|
||||
"\\posyil"
|
||||
"\\posyt"
|
||||
"\\posyc"
|
||||
"\\posyb"
|
||||
"\\dxfrtext"
|
||||
"\\dyfrtext"
|
||||
|
||||
#tables
|
||||
"\\trowd"
|
||||
"\\trgaph"
|
||||
"\\cellx"
|
||||
"\\clmgf"
|
||||
"\\clmrg"
|
||||
"\\clbrdrt"
|
||||
"\\clbrdrl"
|
||||
"\\clbrdrr"
|
||||
"\\trql"
|
||||
"\\trqr"
|
||||
"\\trqc"
|
||||
"\\trleft"
|
||||
"\\trrh"
|
||||
"\\clshdng"
|
||||
"\\clbghoriz"
|
||||
"\\clbgvert"
|
||||
"\\clbgfdiag"
|
||||
"\\clbgbdiag"
|
||||
"\\clbgcross"
|
||||
"\\clbgdcross"
|
||||
"\\clbgdkhor"
|
||||
"\\clbgdkvert"
|
||||
"\\clbgdkfdiag"
|
||||
"\\clbgdkbdiag"
|
||||
"\\clbgdkcross"
|
||||
"\\clbgdkdcross"
|
||||
"\\clcfpat"
|
||||
"\\clcbpat"
|
||||
|
||||
# char format
|
||||
"\\plain"
|
||||
"\\b"
|
||||
"\\caps"
|
||||
"\\deleted"
|
||||
"\\dn"
|
||||
"\\expnd"
|
||||
"\\f"
|
||||
"\\fs"
|
||||
"\\i"
|
||||
"\\outl"
|
||||
"\\revised"
|
||||
"\\scaps"
|
||||
"\\shad"
|
||||
"\\strike"
|
||||
"\\ul"
|
||||
"\\uld"
|
||||
"\\uldb"
|
||||
"\\ulnone"
|
||||
"\\ulw"
|
||||
"\\up"
|
||||
"\\v"
|
||||
"\\lang"
|
||||
|
||||
# special chars
|
||||
"\\chdate"
|
||||
"\\chdpl"
|
||||
"\\chdpa"
|
||||
"\\chtime"
|
||||
"\\chpgn"
|
||||
"\\chftn"
|
||||
"\\chatn"
|
||||
"\\chftnsep"
|
||||
"\\chftnsepc"
|
||||
"\\cell"
|
||||
"\\row"
|
||||
"\\par"
|
||||
"\\sect"
|
||||
"\\page"
|
||||
"\\column"
|
||||
"\\line"
|
||||
"\\tab"
|
||||
"\\emdash"
|
||||
"\\endash"
|
||||
"\\bullet"
|
||||
"\\lquote"
|
||||
"\\rquote"
|
||||
"\\ldblquote"
|
||||
"\\rdblquote"
|
||||
"\\|"
|
||||
"\\~"
|
||||
"\\-"
|
||||
"\\_"
|
||||
"\\:"
|
||||
"\\*"
|
||||
"\\'hh"
|
||||
"\\alt"
|
||||
"\\shift"
|
||||
"\\ctrl"
|
37
dictionaries/sas.dict
Normal file
37
dictionaries/sas.dict
Normal file
@ -0,0 +1,37 @@
|
||||
" "
|
||||
"#"
|
||||
"$"
|
||||
"$CHAR"
|
||||
"%LET"
|
||||
"("
|
||||
")"
|
||||
"*/"
|
||||
"/*"
|
||||
";"
|
||||
"@"
|
||||
"ATTRIB"
|
||||
"CLEAR"
|
||||
"CONTENTS"
|
||||
"DATA"
|
||||
"DATE"
|
||||
"FILENAME"
|
||||
"FOOTNOTE"
|
||||
"FORMAT"
|
||||
"IF"
|
||||
"INFILE"
|
||||
"INPUT"
|
||||
"INVALUE"
|
||||
"LABEL"
|
||||
"LENGTH"
|
||||
"LIBNAME"
|
||||
"LIST"
|
||||
"MISSING"
|
||||
"OPTIONS"
|
||||
"OTHER"
|
||||
"PRINT"
|
||||
"PROC"
|
||||
"RUN"
|
||||
"VALUE"
|
||||
"_ALL_"
|
||||
"dlm"
|
||||
"firstobs"
|
46
dictionaries/spss.dict
Normal file
46
dictionaries/spss.dict
Normal file
@ -0,0 +1,46 @@
|
||||
"("
|
||||
"(NOMINAL)"
|
||||
"(ORDINAL)"
|
||||
"(SCALE)"
|
||||
")"
|
||||
"."
|
||||
"/"
|
||||
"/VARIABLES"
|
||||
"="
|
||||
" "
|
||||
"A"
|
||||
"ADATE"
|
||||
"COMMENT"
|
||||
"DATA"
|
||||
"DATASET"
|
||||
"DATE"
|
||||
"DELIMITERS"
|
||||
"DICTIONARY"
|
||||
"DISPLAY"
|
||||
"END"
|
||||
"EXECUTE"
|
||||
"F"
|
||||
"FILE"
|
||||
"FIRSTCASE"
|
||||
"FIXED"
|
||||
"FORMATS"
|
||||
"HANDLE"
|
||||
"IF"
|
||||
"INPUT"
|
||||
"LABEL"
|
||||
"LABELS"
|
||||
"LEVEL"
|
||||
"LIST"
|
||||
"NAME"
|
||||
"OUTFILE"
|
||||
"PROGRAM"
|
||||
"RECODE"
|
||||
"RECORD"
|
||||
"SAVE"
|
||||
"SELECT"
|
||||
"SET"
|
||||
"SYSMIS"
|
||||
"TABLE"
|
||||
"VALUE"
|
||||
"VARIABLE"
|
||||
"WINDOW"
|
22
dictionaries/stata.dict
Normal file
22
dictionaries/stata.dict
Normal file
@ -0,0 +1,22 @@
|
||||
" "
|
||||
")"
|
||||
"*/"
|
||||
"/*"
|
||||
"_column("
|
||||
"_firstlineoffile("
|
||||
"_line("
|
||||
"_lines("
|
||||
"_lrecl("
|
||||
"_newline"
|
||||
"_skip("
|
||||
"byte"
|
||||
"dictionary"
|
||||
"double"
|
||||
"float"
|
||||
"infile"
|
||||
"int"
|
||||
"long"
|
||||
"str"
|
||||
"using"
|
||||
"{"
|
||||
"}"
|
170
dictionaries/svg.dict
Normal file
170
dictionaries/svg.dict
Normal file
@ -0,0 +1,170 @@
|
||||
# Keywords taken from
|
||||
# - https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Introduction
|
||||
# - https://css-tricks.com/svg-properties-and-css/
|
||||
|
||||
"<?xml version=\"1.0\" encoding=\"utf-8\"?>"
|
||||
"standalone="
|
||||
"version="
|
||||
"encoding="
|
||||
"<?xml"
|
||||
"?>"
|
||||
"/>"
|
||||
"<![CDATA["
|
||||
|
||||
# tags
|
||||
"<svg"
|
||||
"xmlns=\"http://www.w3.org/2000/svg\""
|
||||
"<a"
|
||||
"<animate"
|
||||
"<animateMotion"
|
||||
"<animateTransform"
|
||||
"<circle"
|
||||
"<clipPath"
|
||||
"<color-profile"
|
||||
"<defs"
|
||||
"<desc"
|
||||
"<discard"
|
||||
"<ellipse"
|
||||
"<feBlend"
|
||||
"<feColorMatrix"
|
||||
"<feComponentTransfer"
|
||||
"<feComposite"
|
||||
"<feConvolveMatrix"
|
||||
"<feDiffuseLighting"
|
||||
"<feDisplacementMap"
|
||||
"<feDistantLight"
|
||||
"<feDropShadow"
|
||||
"<feFlood"
|
||||
"<feFuncA"
|
||||
"<feFuncB"
|
||||
"<feFuncG"
|
||||
"<feFuncR"
|
||||
"<feGaussianBlur"
|
||||
"<feImage"
|
||||
"<feMerge"
|
||||
"<feMergeNode"
|
||||
"<feMorphology"
|
||||
"<feOffset"
|
||||
"<fePointLight"
|
||||
"<feSpecularLighting"
|
||||
"<feSpotLight"
|
||||
"<feTile"
|
||||
"<feTurbulence"
|
||||
"<filter"
|
||||
"<foreignObject"
|
||||
"<g"
|
||||
"<hatch"
|
||||
"<hatchpath"
|
||||
"<image"
|
||||
"<line"
|
||||
"<linearGradient"
|
||||
"<marker"
|
||||
"<mask"
|
||||
"<mesh"
|
||||
"<meshgradient"
|
||||
"<meshpatch"
|
||||
"<meshrow"
|
||||
"<metadata"
|
||||
"<mpath"
|
||||
"<path"
|
||||
"<pattern"
|
||||
"<polygon"
|
||||
"<polyline"
|
||||
"<radialGradient"
|
||||
"<rect"
|
||||
"<rect"
|
||||
"<script"
|
||||
"<script>"
|
||||
"<set"
|
||||
"<solidcolor"
|
||||
"<stop"
|
||||
"<style"
|
||||
"<svg"
|
||||
"<switch"
|
||||
"<symbol"
|
||||
"<text"
|
||||
"<textArea"
|
||||
"<textPath"
|
||||
"<title"
|
||||
"<title>"
|
||||
"<tspan"
|
||||
"<unknown"
|
||||
"<use"
|
||||
"<view"
|
||||
|
||||
|
||||
# attributes
|
||||
"alignment-baseline"
|
||||
"baseline-shift"
|
||||
"class"
|
||||
"color"
|
||||
"cursor"
|
||||
"cx"
|
||||
"cy"
|
||||
"direction"
|
||||
"display"
|
||||
"dominant-baseline"
|
||||
"editable"
|
||||
"fill"
|
||||
"fill-opacity"
|
||||
"font-family"
|
||||
"font-size"
|
||||
"font-size-adjust"
|
||||
"font-stretch"
|
||||
"font-style"
|
||||
"font-variant"
|
||||
"font-weight"
|
||||
"glyph-orientation-horizontal"
|
||||
"glyph-orientation-vertical"
|
||||
"gradientUnits"
|
||||
"height"
|
||||
"kerning""
|
||||
"letter-spacing"
|
||||
"offset"
|
||||
"overflow"
|
||||
"patternContentUnits"
|
||||
"pointer-events"
|
||||
"points"
|
||||
"rotate"
|
||||
"rx"
|
||||
"ry"
|
||||
"spreadMethod"
|
||||
"stop-color"
|
||||
"stop-opacity"
|
||||
"stroke"
|
||||
"stroke-dasharray"
|
||||
"stroke-linecap"
|
||||
"stroke-linejoin"
|
||||
"stroke-opacity"
|
||||
"stroke-width"
|
||||
"style"
|
||||
"text-anchor"
|
||||
"text-decoration"
|
||||
"textlength"
|
||||
"transform"
|
||||
"unicode-bidi"
|
||||
"visibility"
|
||||
"width"
|
||||
"word-spacing"
|
||||
"writing-mode"
|
||||
"x1"
|
||||
"x2"
|
||||
"y1"
|
||||
"y2"
|
||||
|
||||
# attributes' values
|
||||
"bounding-Box"
|
||||
"repeat"
|
||||
"display"
|
||||
"transparent"
|
||||
"orange"
|
||||
"round"
|
||||
"butt"
|
||||
"userSpaceOnUse"
|
||||
"objectBoundingBox"
|
||||
"square"
|
||||
"miter"
|
||||
"bevel"
|
||||
"translate("
|
||||
"rotate("
|
||||
"matrix("
|
122
dictionaries/tex.dict
Normal file
122
dictionaries/tex.dict
Normal file
@ -0,0 +1,122 @@
|
||||
# main keywords
|
||||
|
||||
"@article{"
|
||||
"@conference{"
|
||||
"@misc{"
|
||||
"\\@."
|
||||
"\\Huge"
|
||||
"\\LARGE"
|
||||
"\\LaTeX\\"
|
||||
"\\Large"
|
||||
"\\author{"
|
||||
"\\begin{"
|
||||
"\\caption"
|
||||
"\\centering"
|
||||
"\\chapter{"
|
||||
"\\citeA{"
|
||||
"\\citeNP"
|
||||
"\\citeN{"
|
||||
"\\citeyear{"
|
||||
"\\cite{"
|
||||
"\\cline{"
|
||||
"\\date{"
|
||||
"\\documentclass{"
|
||||
"\\emph{"
|
||||
"\\end{"
|
||||
"\\footnotesize"
|
||||
"\\footnote{"
|
||||
"\\frac{"
|
||||
"\\hline"
|
||||
"\\hspace{"
|
||||
"\\huge"
|
||||
"\\includegraphics"
|
||||
"\\item{"
|
||||
"\\kill"
|
||||
"\\label{"
|
||||
"\\large"
|
||||
"\\ldots"
|
||||
"\\leq"
|
||||
"\\linespread"
|
||||
"\\maketitle{}"
|
||||
"\\multicolumn{"
|
||||
"\\newcommand{"
|
||||
"\\noindent"
|
||||
"\\normalfont{"
|
||||
"\\normalsize"
|
||||
"\\pagebreak"
|
||||
"\\pageref{"
|
||||
"\\pagestyle{"
|
||||
"\\part{"
|
||||
"\\prod_{"
|
||||
"\\raggedleft"
|
||||
"\\raggedright"
|
||||
"\\ref{"
|
||||
"\\rule{"
|
||||
"\\scriptsize"
|
||||
"\\section{"
|
||||
"\\setcounter{"
|
||||
"\\shortciteA{"
|
||||
"\\shortciteNP"
|
||||
"\\shortciteN{"
|
||||
"\\shortcite{"
|
||||
"\\small"
|
||||
"\\sqrt{"
|
||||
"\\subsection{"
|
||||
"\\sum_{"
|
||||
"\\tableofcontents"
|
||||
"\\textbackslash"
|
||||
"\\textbar"
|
||||
"\\textbf{"
|
||||
"\\textgreater"
|
||||
"\\textit{"
|
||||
"\\textless"
|
||||
"\\textmd{"
|
||||
"\\textnormal{"
|
||||
"\\textrm{"
|
||||
"\\textsc{"
|
||||
"\\textsf{"
|
||||
"\\textsl{"
|
||||
"\\texttt{"
|
||||
"\\textup{"
|
||||
"\\tiny"
|
||||
"\\title{"
|
||||
"\\today"
|
||||
"\\underline{"
|
||||
"\\usepackage"
|
||||
"\\vspace{"
|
||||
|
||||
|
||||
# misc
|
||||
|
||||
"abbrv"
|
||||
"addres"
|
||||
"article"
|
||||
"book"
|
||||
"center"
|
||||
"description"
|
||||
"document"
|
||||
"draft"
|
||||
"em"
|
||||
"enumerate"
|
||||
"equation"
|
||||
"figure"
|
||||
"flushleft"
|
||||
"flushright"
|
||||
"hyperref"
|
||||
"itemize"
|
||||
"landscape"
|
||||
"letter"
|
||||
"letterpaper"
|
||||
"plain"
|
||||
"publisher"
|
||||
"quotation"
|
||||
"quote"
|
||||
"report"
|
||||
"slides"
|
||||
"tabular*"
|
||||
"twocolumn"
|
||||
"twoside"
|
||||
"unsrt"
|
||||
"verbatim*"
|
||||
"verse"
|
||||
"year"
|
9
dictionaries/theme-load-fuzz.dict
Normal file
9
dictionaries/theme-load-fuzz.dict
Normal file
@ -0,0 +1,9 @@
|
||||
"{"
|
||||
"}"
|
||||
"\""
|
||||
";"
|
||||
"="
|
||||
"formats"
|
||||
"replaces"
|
||||
"abstracts"
|
||||
"timestamp"
|
18
dictionaries/tokener_parse_ex.dict
Normal file
18
dictionaries/tokener_parse_ex.dict
Normal file
@ -0,0 +1,18 @@
|
||||
"{"
|
||||
"}"
|
||||
","
|
||||
"["
|
||||
"]"
|
||||
","
|
||||
":"
|
||||
"e"
|
||||
"e+"
|
||||
"e-"
|
||||
"E"
|
||||
"E+"
|
||||
"E-"
|
||||
"\""
|
||||
"null"
|
||||
"1"
|
||||
"1.234"
|
||||
"3e4"
|
22
dictionaries/toml.dict
Normal file
22
dictionaries/toml.dict
Normal file
@ -0,0 +1,22 @@
|
||||
# https://github.com/toml-lang/toml
|
||||
|
||||
key_value="a.b=\"c\""
|
||||
unicode="\\u1234"
|
||||
unicode_long="\\u12345678"
|
||||
true="true"
|
||||
false="false"
|
||||
multiline_literal="'''"
|
||||
multiline="\"\"\""
|
||||
integer="+1_2_3_4"
|
||||
negative_integer="-1"
|
||||
hex="0xde_ad"
|
||||
oct="0o6"
|
||||
bin="0b1"
|
||||
float="-6_3.6e-05"
|
||||
nan="nan"
|
||||
inf="inf"
|
||||
time="1979-05-27T07:32:00Z"
|
||||
array="[1,2]"
|
||||
table="[a]"
|
||||
inline_table="a={1=2,3=4}"
|
||||
array_table="[[a]]"
|
25
dictionaries/type42.dict
Normal file
25
dictionaries/type42.dict
Normal file
@ -0,0 +1,25 @@
|
||||
# https://www.adobe.com/content/dam/acom/en/devnet/font/pdfs/5012.Type42_Spec.pdf
|
||||
# This format is a super-set of postscript, so don't forget to use ps.dict as well
|
||||
|
||||
magic="%!PS-TrueTypeFont"
|
||||
"%%VMUsage:"
|
||||
"/FontType"
|
||||
"/FontMatrix"
|
||||
"/FontName"
|
||||
"/FontInfo"
|
||||
"/Encoding"
|
||||
"/FontBBox"
|
||||
"/UniqueID"
|
||||
"/XUID"
|
||||
"/PaintType"
|
||||
"/StrokeWidth"
|
||||
"/Metrics"
|
||||
"/Metrics2"
|
||||
"/CDevProc"
|
||||
"/CharStrings"
|
||||
"/sfnts"
|
||||
"/CIDMap"
|
||||
"/GDBytes"
|
||||
"/GlyphDirectory"
|
||||
"/MetricsCount"
|
||||
"/WMode"
|
62
dictionaries/url.dict
Normal file
62
dictionaries/url.dict
Normal file
@ -0,0 +1,62 @@
|
||||
# https://en.wikipedia.org/wiki/Uniform_Resource_Identifier
|
||||
|
||||
# scheme
|
||||
"aim"
|
||||
"callto"
|
||||
"cvs"
|
||||
"data"
|
||||
"facetime"
|
||||
"feed"
|
||||
"file"
|
||||
"ftp"
|
||||
"git"
|
||||
"gopher"
|
||||
"gtalk"
|
||||
"h323"
|
||||
"hdl"
|
||||
"http"
|
||||
"https"
|
||||
"imap"
|
||||
"irc"
|
||||
"irc6"
|
||||
"ircs"
|
||||
"itms"
|
||||
"javascript"
|
||||
"magnet"
|
||||
"mailto"
|
||||
"mms"
|
||||
"msnim"
|
||||
"news"
|
||||
"nntp"
|
||||
"prospero"
|
||||
"rsync"
|
||||
"rtsp"
|
||||
"rtspu"
|
||||
"sftp"
|
||||
"shttp"
|
||||
"sip"
|
||||
"sips"
|
||||
"skype"
|
||||
"smb"
|
||||
"snews"
|
||||
"ssh"
|
||||
"svn"
|
||||
"svn"
|
||||
"svn+ssh"
|
||||
"telnet"
|
||||
"tel"
|
||||
"wais"
|
||||
"ymsg"
|
||||
|
||||
# encoded characters
|
||||
"%2f"
|
||||
"%40"
|
||||
"%26"
|
||||
|
||||
# misc
|
||||
"://"
|
||||
"//"
|
||||
"\\"
|
||||
"../"
|
||||
";type=a"
|
||||
"xn--"
|
73
dictionaries/utf8.dict
Normal file
73
dictionaries/utf8.dict
Normal file
@ -0,0 +1,73 @@
|
||||
# https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-test.txt
|
||||
|
||||
|
||||
# Defines byteorder and endianess
|
||||
byte_order="\xFE\xFF"
|
||||
|
||||
# Reorder the display of text for RTL reading
|
||||
right_to_left="\x20\x2E"
|
||||
|
||||
# Mongolian Vowel Separator: invisible and has the whitespace property
|
||||
invisible_separator="\x18\x03"
|
||||
|
||||
# Invisible zero-width character.
|
||||
word_join="\x20\x60"
|
||||
|
||||
# Reserved code point
|
||||
reserved="\xfe\xfe"
|
||||
|
||||
# Invalid code point
|
||||
invalid1="\xff\xff"
|
||||
invalid2="\x01\xff\xff"
|
||||
invalid3="\xfdd0"
|
||||
|
||||
# unassigned code point
|
||||
unassigned="\x0f\xed"
|
||||
|
||||
# illegal low half-surrogate
|
||||
illegal_low="\xde\xad"
|
||||
|
||||
# illegal high half-surrogate
|
||||
illegal_high="\xda\xad"
|
||||
|
||||
# private use area code usbed by apple for its logo
|
||||
apple="\xf8\xff"
|
||||
|
||||
# hostname normalization
|
||||
fullwidth_solidus="\xff\x0f"
|
||||
|
||||
# numerical mapping and a value
|
||||
bold_eight="\x01\xd7\xd6"
|
||||
|
||||
# # U+00DF normalizes to "ss" during IDNA2003's mapping phase,
|
||||
# different from its IDNA2008 mapping. See http://www.unicode.org/reports/tr46/
|
||||
weird="\x00\xdf"
|
||||
|
||||
# U+FDFD expands by 11x (UTF-8) and 18x (UTF-16) under NFKC/NFKC
|
||||
expansion="\xfd\xfd"
|
||||
|
||||
# U+0390 expands by 3x (UTF-8) under NFD
|
||||
expansion2="\x03\x90"
|
||||
|
||||
# U+1F82 expands by 4x (UTF-16) under NFD
|
||||
expansion3= "\x1F\x82"
|
||||
|
||||
# U+FB2C expands by 3x (UTF-16) under NFC
|
||||
expansion4="\xFB\x2C"
|
||||
|
||||
# Lowecaser expansion: https://twitter.com/jifa/status/625776454479970304
|
||||
low_exp1="\x02\x3a"
|
||||
low_exp2="\x02\x3e"
|
||||
low_exp3="\x00\xdf"
|
||||
low_exp4="\x1e\x9e"
|
||||
|
||||
# Null byte
|
||||
null="\x00\x00"
|
||||
"\xfc\x80\x80\x80\x80\x80"
|
||||
"fc\x80\x80\x80\x80\xaf"
|
||||
|
||||
# Confusing new lines
|
||||
"\x00\x1b"
|
||||
"\x00\x85"
|
||||
"\x20\x28"
|
||||
"\x20\x29"
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user