forked from travitch/dalvik
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdalvik.cabal
More file actions
154 lines (145 loc) · 5.04 KB
/
dalvik.cabal
File metadata and controls
154 lines (145 loc) · 5.04 KB
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
Name: dalvik
Version: 0.4.1.1
Cabal-Version: >= 1.10
Build-Type: Simple
License: BSD3
License-File: LICENSE
Copyright: LICENSE
Author: Aaron Tomb <aarontomb@gmail.com>
Maintainer: aarontomb@gmail.com
Stability: experimental
Synopsis: Parser for the Dalvik virtual machine's DEX file format
Description: Parser for the Dalvik virtual machine's DEX file format
Category: Language
Library
default-language: Haskell2010
Extensions:
Build-Depends: base >= 4 && < 5,
containers,
deepseq >= 1.2 && < 1.5,
attoparsec >= 0.10.0.0 && < 0.13,
cereal >= 0.4 && < 0.5,
bytestring >= 0.9 && < 2,
text >= 0.11 && < 2,
zip-conduit >= 0.2 && < 0.3,
conduit-combinators >= 1 && < 2,
exceptions >= 0.5 && < 0.9,
floatshow >= 0.2.4 && < 0.3,
data-binary-ieee754 >= 0.4.4 && < 0.5,
IntervalMap >= 0.3.0.0 && < 0.5,
pretty,
GenericPretty >= 1.2 && < 1.3,
transformers >= 0.3 && < 0.6,
unordered-containers >= 0.2.3.0 && < 0.3,
semigroups >= 0.5,
vector >= 0.10 && < 2,
split >= 0.2 && < 0.3,
hashable,
-- needed for test code (test dependencies aren't available in the repl)
temporary >= 1.2.0.3 && < 2,
process,
filepath,
directory
-- As of 7.10, the bundled version of 'pretty' includes the class definition
if impl(ghc < 7.10.1)
build-depends: prettyclass >= 1 && < 2
Hs-Source-Dirs: src
Exposed-Modules: Dalvik.AccessFlags,
Dalvik.Apk,
Dalvik.ClassHierarchy,
Dalvik.ClassName,
Dalvik.DebugInfo,
Dalvik.Instruction,
Dalvik.LEB128
Dalvik.MUTF8,
Dalvik.Parser,
Dalvik.Printer,
Dalvik.SSA,
Dalvik.Types,
Dalvik.SSA.Internal.BasicBlocks,
Dalvik.SSA.Internal.Labeling,
Dalvik.SSA.Internal.Names,
Dalvik.SSA.Internal.Pretty,
Dalvik.SSA.Internal.RegisterAssignment,
Dalvik.SSA.Internal.Serialize,
Dalvik.SSA.Internal.Stubs,
Dalvik.SSA.ClassHierarchy,
Dalvik.SSA.StringUtils,
Dalvik.SSA.Types,
Dalvik.SSA.Util
-- The simpl-tick-factor flag is a workaround for ghc 7.8
GHC-Options: -Wall -O1 -fsimpl-tick-factor=500000
GHC-Prof-Options: -prof -fprof-auto -fprof-cafs -fsimpl-tick-factor=500000
Executable Dexdumper
default-language: Haskell2010
build-depends: base == 4.*,
bytestring,
containers,
pretty,
dalvik
hs-source-dirs: tools/Dexdumper
Main-Is: Main.hs
GHC-Options: -Wall -O1
GHC-Prof-Options: -prof -fprof-auto -fprof-cafs -rtsopts -auto-all
executable SSADumper
default-language: Haskell2010
build-depends: base == 4.*,
dalvik,
filepath,
process,
temporary,
directory,
bytestring,
optparse-applicative >= 0.7 && < 1,
containers
main-is: Main.hs
hs-source-dirs: tests/ssa, tools/SSADumper
ghc-options: -Wall -O1 -rtsopts
ghc-prof-options: -prof -auto-all
test-suite ssa-tests
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests/ssa-tests
ghc-options: -Wall -O1
build-depends: base == 4.*,
dalvik,
containers,
HUnit,
test-framework,
test-framework-hunit,
filepath,
filemanip >= 0.3.6,
bytestring,
failure
test-suite SSALabels
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: SSALabels.hs
ghc-options: -Wall -O1
ghc-prof-options: -prof -auto-all
hs-source-dirs: tests/ssa
build-depends: base == 4.*,
containers,
HUnit,
test-framework,
test-framework-hunit,
dalvik,
temporary,
process,
filepath,
directory,
bytestring
test-suite roundtrip
default-language: Haskell2010
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: tests/roundtrip
ghc-options: -Wall -O
build-depends: base,
bytestring,
containers,
HUnit,
test-framework,
test-framework-hunit,
dalvik