-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathQuickFuzz.cabal
251 lines (213 loc) · 6.88 KB
/
QuickFuzz.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
name: QuickFuzz
version: 0.1.0.0
synopsis: An experimental grammar fuzzer in Haskell using QuickCheck.
license: GPL-3
license-file: LICENSE
author: Pablo Buiras <buiras@chalmers.se>,
Gustavo Grieco <grieco@cifasis-conicet.gov.ar>,
Martín Ceresa <ceresa@cifasis-conicet.gov.ar>
Martín Escarrá <mescarra@gmail.com>
Agustín Mista <amista@dcc.fceia.unr.edu.ar>
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag debug
description: Enable debug messages
default: False
flag image
Description: Supports Tga, Png, Bmp, Jpeg, Tiff and Gif formats.
Default: False
Manual: True
flag arch
Description: Supports ... formats.
Default: False
Manual: True
flag code
Description: Supports ... formats.
Default: False
Manual: True
flag doc
Description: Supports ... formats.
Default: False
Manual: True
flag media
Description: Supports ... formats.
Default: False
Manual: True
flag pki
Description: Supports ... formats.
Default: False
Manual: True
flag net
Description: Supports ... formats.
Default: False
Manual: True
flag bnfc
Description: Supports bnfc grammer formats.
Default: False
Manual: True
flag all
Description: Enables all file formats
Default: False
Manual: True
library
hs-source-dirs: src
exposed-modules:
Test.QuickFuzz.Derive
Test.QuickFuzz.Derive.Actions
Test.QuickFuzz.Derive.Mutation
Test.QuickFuzz.Derive.Mutators
Test.QuickFuzz.Derive.Arbitrary
Test.QuickFuzz.Derive.Generator
Test.QuickFuzz.Derive.Show
Test.QuickFuzz.Derive.NFData
Test.QuickFuzz.Derive.Fixable
Test.QuickFuzz.Gen.Base
Test.QuickFuzz.Gen.Base.Value
Test.QuickFuzz.Gen.Base.ByteString
Test.QuickFuzz.Gen.Base.Regex
Test.QuickFuzz.Gen.Base.String
Test.QuickFuzz.Gen.Base.Time
Test.QuickFuzz.Gen.Base.Unicode
Test.QuickFuzz.Gen.Base.Vector
Test.QuickFuzz.Gen.FormatInfo
Test.QuickFuzz.Global
build-depends:
base, bytestring, QuickCheck, megadeth, template-haskell, vector,
ghc-prim, split, text, containers, time, derive, binary, mtl,
transformers, ghc-mod, haskell-src-exts, haskell-src-meta,
global-variables, deepseq, data-default
if flag(arch) || flag(all)
cpp-options: -DARCH
exposed-modules:
Test.QuickFuzz.Gen.Archive
Test.QuickFuzz.Gen.Archive.Tar
Test.QuickFuzz.Gen.Archive.Zip
build-depends:
tar, zip-archive
if flag(media) || flag(all)
cpp-options: -DMEDIA
exposed-modules:
Test.QuickFuzz.Gen.Media
Test.QuickFuzz.Gen.Media.Wav
build-depends:
wavy
if flag(doc) || flag(all)
cpp-options: -DDOC
exposed-modules:
Test.QuickFuzz.Gen.Document
Test.QuickFuzz.Gen.Document.Html
Test.QuickFuzz.Gen.Document.Css
Test.QuickFuzz.Gen.Document.PDF
Test.QuickFuzz.Gen.Document.PS
Test.QuickFuzz.Gen.Document.EPS
Test.QuickFuzz.Gen.Document.Xml
build-depends:
blaze-html, blaze-markup, easyrender, HaXml, xmlgen, blaze-builder, language-css, pretty
if flag(code) || flag(all)
cpp-options: -DCODE
exposed-modules:
Test.QuickFuzz.Gen.Code
Test.QuickFuzz.Gen.Code.C
Test.QuickFuzz.Gen.Code.Js
Test.QuickFuzz.Gen.Code.Python
Test.QuickFuzz.Gen.Code.Go
Test.QuickFuzz.Gen.Code.Lua
Test.QuickFuzz.Gen.Code.Evm
Test.QuickFuzz.Gen.Code.GLSL
build-depends:
language-c, language-ecmascript, language-python, language-go, language-lua, ethereum-analyzer-deps, language-glsl, pretty
if flag(image) || flag(all)
cpp-options: -DIMAGE
exposed-modules:
Test.QuickFuzz.Gen.Base.Image
Test.QuickFuzz.Gen.Image
Test.QuickFuzz.Gen.Image.SVG
Test.QuickFuzz.Gen.Image.Gif
Test.QuickFuzz.Gen.Image.Png
Test.QuickFuzz.Gen.Image.Tiff
Test.QuickFuzz.Gen.Image.Jpeg
Test.QuickFuzz.Gen.Image.Tga
build-depends:
JuicyPixels, svg-tree, xml
if flag(pki) || flag(all)
cpp-options: -DPKI
exposed-modules:
Test.QuickFuzz.Gen.Pki
Test.QuickFuzz.Gen.Pki.ASN1
Test.QuickFuzz.Gen.Pki.X509
Test.QuickFuzz.Gen.Pki.CRL
build-depends: asn1-types, asn1-encoding, x509, cryptonite, hourglass
if flag(net) || flag(all)
cpp-options: -DNET
exposed-modules:
Test.QuickFuzz.Gen.Network
Test.QuickFuzz.Gen.Network.HTTP
build-depends:
HTTP
if flag(bnfc) || flag(all)
cpp-options: -DBNFC
exposed-modules:
Test.QuickFuzz.Gen.Bnfc
Test.QuickFuzz.Gen.Bnfc.Grammar
Test.QuickFuzz.Gen.Bnfc.AbsGrammar
Test.QuickFuzz.Gen.Bnfc.PrintGrammar
build-depends:
BNFC
default-language: Haskell2010
ghc-options: -O2 -optc-O3 -threaded -rtsopts
executable QuickFuzz
hs-source-dirs: app
main-is: Main.hs
other-modules:
Args
Fuzzers
Debug
Exception
Formats
DeriveDispatcher
Process
Utils
Utils.Generation
Utils.Decoding
Utils.Mutation
Utils.Patch
Utils.Console
Utils.Shrink
Utils.Unique
Run.GenTest
Run.MutTest
Run.Gen
Run.Serve
Run.Exec
Run.Shrink
Run.List
if flag(debug)
cpp-options: -DDEBUG
if flag(arch) || flag(all)
cpp-options: -DARCH
if flag(media) || flag(all)
cpp-options: -DMEDIA
if flag(doc) || flag(all)
cpp-options: -DDOC
if flag(code) || flag(all)
cpp-options: -DCODE
if flag(image) || flag(all)
cpp-options: -DIMAGE
if flag(pki) || flag(all)
cpp-options: -DPKI
if flag(bnfc) || flag(all)
cpp-options: -DBNFC
if flag(net) || flag(all)
cpp-options: -DNET
build-depends:
network
other-extensions:
CPP, ViewPatterns
build-depends:
QuickFuzz, base, bytestring, QuickCheck, argparser, split, containers,
template-haskell, filepath, directory, ansi-terminal, time, process,
silently, parallel, deepseq, random, process-extras, network, unix,
global-variables, Diff, stringsearch
default-language: Haskell2010
ghc-options: -O2 -optc-O3 -threaded -rtsopts -ddump-splices