-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiagram.d2
221 lines (217 loc) · 4.08 KB
/
diagram.d2
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
direction: down
APK: {
label: "APK file"
shape: rectangle
style: {
fill: "#b3cde0"
stroke: "#03396c"
stroke-width: 2
}
}
UNZIP: {
label: "unarchive"
shape: rectangle
style: {
fill: "#f7cac9"
stroke: "#f7786b"
stroke-width: 2
}
}
DEX: {
label: "dex files"
shape: rectangle
style: {
fill: "#f7cac9"
stroke: "#f7786b"
stroke-width: 2
}
}
DEXDUMP: {
label: "dexdump"
shape: rectangle
style: {
fill: "#ffef96"
stroke: "#ffcc5c"
stroke-width: 2
}
}
TRACKER_SIG: {
label: "trackers signatures"
shape: rectangle
style: {
fill: "#ffef96"
stroke: "#ffcc5c"
stroke-width: 2
}
}
TRACKER_DB: {
label: "TrackerDB"
shape: rectangle
style: {
fill: "#ffef96"
stroke: "#ffcc5c"
stroke-width: 2
}
}
JAVA_CLASSES: {
label: "Java classes"
shape: rectangle
style: {
fill: "#c5e384"
stroke: "#379634"
stroke-width: 2
}
}
MATCH: {
label: "match"
shape: rectangle
style: {
fill: "#c5e384"
stroke: "#379634"
stroke-width: 2
}
}
EMBEDDED: {
label: "embedded trackers"
shape: rectangle
style: {
fill: "#c5e384"
stroke: "#379634"
stroke-width: 2
}
}
REPORT_GEN: {
label: "Report generation"
shape: rectangle
style: {
fill: "#b3cde0"
stroke: "#03396c"
stroke-width: 2
}
}
METADATA_COLLECTION: {
label: "Metadata collection"
shape: rectangle
style: {
fill: "#b3cde0"
stroke: "#03396c"
stroke-width: 2
}
}
CORELIB: {
label: "CoreLib"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
APK_SIG_CLASS: {
label: "ApkSignature Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
STATIC_ANALYSIS_CLASS: {
label: "StaticAnalysis Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
DEXDUMP_INTEGRATION: {
label: "Dexdump integration feature"
shape: rectangle
style: {
fill: "#ffef96"
stroke: "#ffcc5c"
stroke-width: 2
}
}
CERTIFICATE_CLASS: {
label: "Certificate Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
RSAKEYINFO_CLASS: {
label: "RSAKeyInfo Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
PEEPAPP_CONNECTOR: {
label: "peepappConnector Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
DSAKEYINFO_CLASS: {
label: "DSAKeyInfo Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
TEST_PEEPAPP_CLASS: {
label: "TestPeepapp Class"
shape: rectangle
style: {
fill: "#cfe2f3"
stroke: "#0b5394"
stroke-width: 2
}
}
TESTING: {
label: "Testing purposes"
shape: rectangle
style: {
fill: "#b3cde0"
stroke: "#03396c"
stroke-width: 2
}
}
EXPOSED_API: {
label: "Exposed local API to interact with the Library"
shape: rectangle
style: {
fill: "#f7cac9"
stroke: "#f7786b"
stroke-width: 2
}
}
APK -> UNZIP
UNZIP -> DEX
DEX -> DEXDUMP_INTEGRATION -> DEXDUMP
DEX -> TRACKER_SIG
CORELIB -> TRACKER_DB -> TRACKER_SIG
DEXDUMP -> JAVA_CLASSES
JAVA_CLASSES -> MATCH
TRACKER_SIG -> MATCH
MATCH -> EMBEDDED
EMBEDDED -> REPORT_GEN
CORELIB -> APK_SIG_CLASS -> METADATA_COLLECTION
CORELIB -> STATIC_ANALYSIS_CLASS -> DEXDUMP_INTEGRATION
CORELIB -> CERTIFICATE_CLASS -> METADATA_COLLECTION
CORELIB -> RSAKEYINFO_CLASS -> METADATA_COLLECTION
CORELIB -> PEEPAPP_CONNECTOR -> EXPOSED_API
CORELIB -> DSAKEYINFO_CLASS -> METADATA_COLLECTION
CORELIB -> TEST_PEEPAPP_CLASS -> TESTING
METADATA_COLLECTION -> REPORT_GEN