-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstats-102013
596 lines (444 loc) · 17.4 KB
/
stats-102013
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
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
x86:
Statistics
Instruction count: 2667248
Decoder: Total memoy: 2699667296, maximal memoy: 2592
Decoder + Translator: Total memoy: 0, maximal memoy: 0
time: 1.232152 seconds
x86 + trans:
./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/basis/selectors.ml" "specifications/rreil/rreil.ml" "specifications/rreil/rreil-examples.ml" "specifications/rreil/rreil-pretty.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml" "specifications/x86/x86-pretty-simple.ml" "specifications/x86/x86-rreil-translator.ml" "specifications/x86/x86-rreil-translator-a-l.ml" "specifications/x86/x86-rreil-translator-m-z.ml" "specifications/x86/x86-rreil-registermapping.ml" "specifications/x86/x86-rreil-pretty.ml"
Statistics
Instruction count: 2667248
Decoder: Total memoy: 2704206384, maximal memoy: 2592
Decoder + Translator: Total memoy: 21037430952, maximal memoy: 67152
time: 8.157454 seconds
X86 + trans + lv simple:
$ time ./liveness-sweep --elf --file /usr/bin/clang >>/dev/null
Using file offset: 1262496
Statistics:
Number of native instructions: 2667248
Number of blocks: 596280
Number of RReil statements without LV analysis: 15960658
Number of RReil statements with LV analysis: 10201968
Reduction: 36.080530%
Time needed for the decoding and the translation into RREIL: 2.166464 seconds
Time needed for the lv analysis: 89.840790 seconds
Memory accumulative: 125949206624 bytes, memory maximal: 70383976 bytes
real 1m46.134s
user 1m23.992s
sys 0m21.808s
x86 + trans + lv children:
$ time ./liveness-sweep --children --elf --file /usr/bin/clang >>/dev/null
Using file offset: 1262496
Statistics:
Number of native instructions: 2667248
Number of blocks: 596280
Number of RReil statements without LV analysis: 15960658
Number of RReil statements with LV analysis: 8189625
Reduction: 48.688676%
Time needed for the decoding and the translation into RREIL: 5.320947 seconds
Time needed for the lv analysis: 235.512596 seconds
Memory accumulative: 303706774232 bytes, memory maximal: 70722008 bytes
real 4m43.324s
user 3m34.464s
sys 1m7.952s
----------------------------------------------------------
(1)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35199 gdsl.c
1021 gdsl.h
36220 total
gdsl.o=>.text: 295K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.215298 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.144838 seconds; memory: 2699667296 bytes, maximal memory: 2592 bytes
(2)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35199 gdsl.c
1021 gdsl.h
36220 total
libgdsl.so: 457K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.726320 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.119175 seconds; memory: 2699667296 bytes
(3)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35199 gdsl.c
1021 gdsl.h
36220 total
gdsl.o=>.text: 511K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.215975 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.527424 seconds; memory: 2699667296 bytes, maximal memory: 2592 bytes
(4)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35199 gdsl.c
1021 gdsl.h
36220 total
libgdsl.so: 671K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.707570 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.523141 seconds; memory: 2699667296 bytes
(5)
=> X86 only
=> Refinement: Yes
=> Box threshold: 0
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc --boxThreshold=0 -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35213 gdsl.c
1021 gdsl.h
36234 total
gdsl.o=>.text: 284K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.195937 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.229216 seconds; memory: 3112294728 bytes, maximal memory: 3216 bytes
(6)
=> X86 only
=> Refinement: Yes
=> Box threshold: 0
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc --boxThreshold=0 -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35213 gdsl.c
1021 gdsl.h
36234 total
libgdsl.so: 445K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.687400 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.206090 seconds; memory: 3112294728 bytes
(7)
=> X86 only
=> Refinement: Yes
=> Box threshold: 0
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc --boxThreshold=0 -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35213 gdsl.c
1021 gdsl.h
36234 total
gdsl.o=>.text: 499K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.194375 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 4.045660 seconds; memory: 3112294728 bytes, maximal memory: 3216 bytes
(8)
=> X86 only
=> Refinement: Yes
=> Box threshold: 0
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc --boxThreshold=0 -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
35213 gdsl.c
1021 gdsl.h
36234 total
libgdsl.so: 659K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.723180 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 4.036496 seconds; memory: 3112294728 bytes
(9)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O2
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
36197 gdsl.c
1018 gdsl.h
37215 total
gdsl.o=>.text: 388K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.240584 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.791024 seconds; memory: 12510270112 bytes, maximal memory: 11184 bytes
(10)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O2
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
36197 gdsl.c
1018 gdsl.h
37215 total
libgdsl.so: 543K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.685425 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.730913 seconds; memory: 12510270112 bytes
(11)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O0
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
36197 gdsl.c
1018 gdsl.h
37215 total
gdsl.o=>.text: 605K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.272345 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 9.946860 seconds; memory: 12510270112 bytes, maximal memory: 11184 bytes
(12)
=> X86 only
=> Refinement: Yes
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O0
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
36197 gdsl.c
1018 gdsl.h
37215 total
libgdsl.so: 763K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.705428 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 9.892532 seconds; memory: 12510270112 bytes
(13)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O2
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
40668 gdsl.c
1018 gdsl.h
41686 total
gdsl.o=>.text: 764K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.221912 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.839121 seconds; memory: 14576513216 bytes, maximal memory: 14736 bytes
(14)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O2
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
40668 gdsl.c
1018 gdsl.h
41686 total
libgdsl.so: 939K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.692580 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.827492 seconds; memory: 14576513216 bytes
(15)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O0
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
40668 gdsl.c
1018 gdsl.h
41686 total
gdsl.o=>.text: 945K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.244342 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 11.602962 seconds; memory: 14576513216 bytes, maximal memory: 14736 bytes
(16)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: false
=> GCC / O0
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
40668 gdsl.c
1018 gdsl.h
41686 total
libgdsl.so: 1,2M
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.712686 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 11.382327 seconds; memory: 14576513216 bytes
(17)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
39686 gdsl.c
1021 gdsl.h
40707 total
gdsl.o=>.text: 719K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.215135 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.467701 seconds; memory: 5075179488 bytes, maximal memory: 6304 bytes
(18)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O2
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O2 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
39686 gdsl.c
1021 gdsl.h
40707 total
libgdsl.so: 939K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.691070 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 3.908056 seconds; memory: 14576513216 bytes
(19)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.12-58423-gcc.4.4.7-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
39686 gdsl.c
1021 gdsl.h
40707 total
gdsl.o=>.text: 855K
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667829 opcode sequences (488 invalid/unknown); time: 1.202730 seconds; memory: 0 bytes, maximal memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 5.358969 seconds; memory: 5075179488 bytes, maximal memory: 6304 bytes
(20)
=> X86 only
=> Refinement: No
=> Box threshold: default
=> genFixedRecords: true
=> GCC / O0
=> XED: pin-2.11-49306-gcc.3.4.6-ia32_intel64-linux
$ ./gdslc -o gdsl_manual "specifications/basis/prelude.ml" "specifications/x86/x86.ml" "specifications/x86/x86-pretty.ml"
$ gcc -O0 -fPIC -Wall -Iinclude -c gdsl_manual.c -o gdsl.o && gcc -shared -o libgdsl.so gdsl.o
Code size:
$ wc -l gdsl.*
39686 gdsl.c
1021 gdsl.h
40707 total
libgdsl.so: 1,2M
$ ./xed-cmp /usr/bin/clang >/dev/null
file is /usr/bin/clang
.text is 11530764 bytes
XED: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 1.692094 seconds; memory: 0 bytes
GDSL: Decoded 2667248 opcode sequences (0 invalid/unknown); time: 11.287923 seconds; memory: 14576513216 bytes