-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBeaEngine.cabal
104 lines (93 loc) · 3.35 KB
/
BeaEngine.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
name: BeaEngine
version: 4.1.0.0
synopsis: binding: BeaEngine disassembler
description:
- Direct binding to the C API.
- Symbol names mostly unchanged; prefixed to enforce haskell naming rules.
- BeaEngine library source (LGPL-3) included and statically linked.
- Package version numbering uses convention: C.C.H.H - where C is the underlying version of the C library, and H is the local Haskell binding revision.
- Functions: dasm (high level wrapper; lazy interleavedIO stream), disasm (mid level; IO monad), cDisasm (C API)
homepage: http://www.beaengine.org/
license: LGPL-3
license-file: LICENSE
author: Neal Alexander
maintainer: [email protected]
-- copyright:
category: Disassembler
build-type: Simple
-- extra-source-files:
cabal-version: >=1.10
extra-source-files:
include/bindings.dsl.custom.h
include/beaengine/basic_types.h
include/beaengine/BeaEngine.h
include/beaengine/export.h
include/beaengine/macros.h
csrc/BeaEngine.c
csrc/CMakeLists.txt
csrc/COPYING.LESSER.txt
csrc/COPYING.txt
csrc/README.txt
csrc/Includes/BeaEngineVersion.c
csrc/Includes/internal_datas.h
csrc/Includes/protos.h
csrc/Includes/Routines_Disasm.c
csrc/Includes/Routines_ModRM.c
csrc/Includes/instr_set/Data_opcode.h
csrc/Includes/instr_set/opcodes_AES.c
csrc/Includes/instr_set/opcodes_A_M.c
csrc/Includes/instr_set/opcodes_CLMUL.c
csrc/Includes/instr_set/opcodes_FPU.c
csrc/Includes/instr_set/opcodes_Grp1.c
csrc/Includes/instr_set/opcodes_Grp12.c
csrc/Includes/instr_set/opcodes_Grp13.c
csrc/Includes/instr_set/opcodes_Grp14.c
csrc/Includes/instr_set/opcodes_Grp15.c
csrc/Includes/instr_set/opcodes_Grp16.c
csrc/Includes/instr_set/opcodes_Grp2.c
csrc/Includes/instr_set/opcodes_Grp3.c
csrc/Includes/instr_set/opcodes_Grp4.c
csrc/Includes/instr_set/opcodes_Grp5.c
csrc/Includes/instr_set/opcodes_Grp6.c
csrc/Includes/instr_set/opcodes_Grp7.c
csrc/Includes/instr_set/opcodes_Grp8.c
csrc/Includes/instr_set/opcodes_Grp9.c
csrc/Includes/instr_set/opcodes_MMX.c
csrc/Includes/instr_set/opcodes_N_Z.c
csrc/Includes/instr_set/opcodes_prefixes.c
csrc/Includes/instr_set/opcodes_SSE.c
library
exposed-modules:
BeaEngine,
BeaEngine.REX,
BeaEngine.PrefixInfo,
BeaEngine.MemoryType,
BeaEngine.InstrType,
BeaEngine.EFL,
BeaEngine.Disasm,
BeaEngine.Constants,
BeaEngine.ArgType
c-sources:
csrc/BeaEngine.c
include-dirs: include/BeaEngine/
include-dirs: include/
hs-source-dirs: .
hs-source-dirs: BeaEngine
hs-source-dirs: test
CC-Options: "-DBEA_ENGINE_STATIC"
build-depends: base >=4.7 && <4.8, bytestring >= 0.10.4.0
build-tools: hsc2hs
default-language: Haskell2010
Test-Suite test-marshal
type: exitcode-stdio-1.0
main-is: Test_Marshal.hs
build-depends: base >= 4.7, BeaEngine == 4.1.0.0
default-language: Haskell2010
hs-source-dirs: test
c-sources: test/Test_Marshal.c
Test-Suite test-disasm
type: exitcode-stdio-1.0
main-is: Test_Disasm.hs
build-depends: base >= 4.7, bytestring >= 0.10.4.0, BeaEngine == 4.1.0.0
default-language: Haskell2010
hs-source-dirs: test