-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.cabal
281 lines (271 loc) · 9.11 KB
/
jest.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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
Name: jest
Version: 1.2
Synopsis: Research prototype of an information flow monitor inliner for JavaScript
License: GPL-3
License-file: LICENSE
Author: Andrey Chudnov
Maintainer: [email protected]
Copyright: (c) 2011-2015 Stevens Institute of Technology, (c) 2016 Andrey Chudnov
Category: Security
Build-type: Simple
Stability: experimental
Extra-source-files: test-data/cfg/*.js, test-data/syntactic/cases/*.js, test-data/syntactic/expects/*.js, rts/*.js
Cabal-version: >=1.14
Library
Build-depends: base >= 4.2.0.0 && <5
, mtl >= 1.1.0.2 && < 3
, language-ecmascript >= 5 && < 6
, language-ecmascript-analysis >= 5 && < 6
, uniplate >= 1.6
, containers >= 0.4 && < 0.6
, parsec < 3.2.0
, fgl >= 5.4.2.2
, fgl-visualize == 0.1.*
, dotgen >= 0.4
, wl-pprint >= 1.1 && < 2.0
, pretty
, hxt >= 9.2.2
, arrows >= 0.4.4.0
, bytestring >= 0.9.1.10
, network == 2.6.*
, network-uri == 2.6.*
, data-default-class >= 0.0.1
, data-default-instances-base >= 0.0.1
, transformers >= 0.2.2
, random >= 1.0.0.3
, regex-tdfa >= 1.1.8
, template-haskell >= 2.7.0.0
, jespresso >= 1.1
, process == 1.*
, reverse-apply
, th-lift
, lens-simple == 0.1.*
, annotated-wl-pprint >= 0.7 && < 1.0
exposed-modules: Inliner
Inliner.EvalParams
Inliner.Monad
RTS
RTS.Policy
AdHocTests
Inliner.Instrumentation
Inliner.Analysis
SyntaxHelpers
SyntaxHelpers.JSFunc
CFG.Dot
CFG.Construct
CFG.Common
CFG.ControlFlow
CFG.Flatten
RTS.Monitor.Core
RTS.Level
RTS.Policy.Syntax
Inliner.Desugaring
Inliner.CodeGen
RTS.Monitor.APISpec
other-modules: CFG
Inliner.Annotations
Inliner.Error
Inliner.Rewriting
MyPrelude
Optimizations
RTS.APIProxy.Android
RTS.APIProxy.DOM
RTS.APIProxy.ESSL
RTS.APIProxy.Loader
RTS.Policy.Parse
RTS.Policy.Compile
RTS.Parameters
RTS.Names
RTS.Level.StringSet
RTS.Level.BitVector
SyntaxHelpers.ASTTransformations
SyntaxHelpers.FuncExprRW
SyntaxHelpers.JSLink
TransformationConsole
hs-source-dirs: src
Default-Extensions: ScopedTypeVariables
Default-Language: Haskell2010
ghc-options:
-fwarn-incomplete-patterns
-- command-line tool
Executable jest
Main-is: Main.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
, mtl >= 1.1.0.2 && < 3
, language-ecmascript
, containers >= 0.4 && < 0.6
, parsec > 3 && < 3.2.0
, cmdargs >= 0.9 && < 1.0
, haxy == 1.*
, http-server
, HTTP >= 4000.2.0 && < 5000
, http-encodings >= 0.9.3 && < 1.0
, bytestring >= 0.9.1.10 && < 0.11
, network
, network-uri
, data-default-class >= 0.0.1 && < 0.1
, transformers >= 0.2.2
, mime == 0.4.*
, text >= 0.9 && < 2
Default-Extensions: ScopedTypeVariables
Default-Language: Haskell2010
ghc-options:
-fwarn-incomplete-patterns
-rtsopts
-- The test suite
Test-Suite jest-test
type: exitcode-stdio-1.0
main-is: Test.hs
other-modules: Test.CFG
Test.CFG.Builder
Test.CFG.ConstructFlatten
Test.CFG.Construct
Test.CFG.ControlFlow
Test.CFG.Query
Test.Common
Test.Desugaring
Test.Desugaring.Syntactic
Test.Desugaring.Transparency
Test.Executable
Test.JSQuickCheck
Test.JSQuickCheck.QCJS
Test.Rewriting
Test.RTS
Test.RTS.Common
Test.RTS.Core
Test.RTS.Level
Test.Security
Test.Security.Unit
Test.Tong
Test.Transparency
Test.Transparency.Common
Test.Transparency.Unit
Test.Transparency.Randomized
Test.Transparency.Generator
Test.TaRTuFfe
Build-depends: base >= 4.2.0.0 && < 5
, jest
, tasty == 0.11.*
, tasty-quickcheck == 0.8.*
, tasty-golden == 2.3.*
, QuickCheck == 2.*
, directory >= 1.2.5
, filepath
, language-ecmascript
, data-default-class >= 0.0.1
, data-default-instances-base >= 0.0.1
, process >= 1.1.0.2
, containers >= 0.4 && < 0.6
, temporary
, template-haskell >= 2.7.0.0
, fgl >= 5.4.2.2
, transformers >= 0.2.2
, Diff >= 0.3.0
, uniplate >= 1.6
, tagged
, optparse-applicative
, easy-file == 0.2.*
, random >= 1.0.0.3
, mtl
, lens-simple
hs-source-dirs: test
Default-Language: Haskell2010
ghc-options:
-fwarn-incomplete-patterns
-- A tool that generates the diagrams of the intra-procedural
-- control-flow graphs of JavaScript programs. Used for debugging and
-- testing. Requires the Graphviz "dot" program to be in the path.
Executable graphgen
Main-is: GraphGen.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
, mtl >= 1.1.0.2 && < 3
, language-ecmascript
, containers >= 0.4 && < 0.6
, transformers >= 0.2.2
, process >= 1.1.0.2
, easy-file == 0.2.*
, lens-simple
, pretty-tree == 0.1.*
, fgl
, fgl-visualize
Default-Extensions: ScopedTypeVariables
Default-Language: Haskell2010
hs-source-dirs: test
ghc-options:
-fwarn-incomplete-patterns
-rtsopts
-- A tool that generates a small (the size is an optional parameter)
-- random JavaScript program and outputs it on the stdout
Executable randjs
Main-is: RandJS.hs
Build-depends: base >= 4.2.0.0 && < 5
, language-ecmascript
, QuickCheck == 2.*
, cmdargs >= 0.9 && < 1.0
Default-Extensions: ScopedTypeVariables
Default-Language: Haskell2010
hs-source-dirs: test
ghc-options:
-fwarn-incomplete-patterns
-rtsopts
-- A tool the prints analysis and transformation annotations for a
-- given JavaScript program
Executable printannot
Main-is: PrintAnnot.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
, mtl >= 1.1.0.2 && < 3
, language-ecmascript
, containers >= 0.4 && < 0.6
, transformers >= 0.2.2
, process >= 1.1.0.2
, data-default-class
Default-Extensions: ScopedTypeVariables
Default-Language: Haskell2010
hs-source-dirs: test
ghc-options:
-fwarn-incomplete-patterns
-rtsopts
-- | Syntax check for a policy description
Executable pcheck
Main-is: PCheck.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
Default-Language: Haskell2010
hs-source-dirs: test
ghc-options:
-fwarn-incomplete-patterns
-- | A tool that prints RTS source (or parts of thereof) for standalone debugging
Executable rtsdebug
Main-is: RTSDebug.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
, language-ecmascript
, cmdargs >= 0.9 && < 1.0
, data-default-class
, data-default-instances-base
Default-Language: Haskell2010
hs-source-dirs: test
ghc-options:
-fwarn-incomplete-patterns
-- | Monitor performance benchmarker
executable bench
--type: exitcode-stdio-1.0
Main-is: Bench.hs
Build-depends: base >= 4.2.0.0 && < 5
, jest
, language-ecmascript
, data-default-class
, data-default-instances-base
, hjson
, hjson-query
, temporary
, process
, containers
, mtl
Default-Language: Haskell2010
hs-source-dirs: bench
ghc-options:
-fwarn-incomplete-patterns