-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtypescript.toy-analyser-non-legit
1200 lines (1184 loc) · 55.8 KB
/
typescript.toy-analyser-non-legit
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
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Script started on ma 12 okt 2015 17:34:23 CEST
]0;patharmor@patharmor-test: ~patharmor@patharmor-test:~$ cd patharmor/toy-bug/
]0;patharmor@patharmor-test: ~/patharmor/toy-bugpatharmor@patharmor-test:~/patharmor/toy-bug$ sh ../run-analyser.sh ./toy
Using bininfo file /home/patharmor/patharmor/toy-bug/../dyninst-static/bin.info
[sudo] password for patharmor:
Running (binary edit)...
Analyzing module ./toy.1 (toy.1)
Warning: no output file selected
Warning: no statistics file selected
Using window size 16
Using LBR size 16
####### parsing CFG #######
adding new bb 0x4005d0
store_bb: 4005d0-4005de
adding new bb 0x4005e0
store_bb: 4005e0-4005e0
adding new bb 0x4005e5
store_bb: 4005e5-4005e9
adding new bb 0x400600
store_bb: 400600-400600
adding new bb 0x400610
store_bb: 400610-400610
adding new bb 0x400620
store_bb: 400620-400620
adding new bb 0x400630
store_bb: 400630-400630
adding new bb 0x400640
store_bb: 400640-400640
adding new bb 0x400650
store_bb: 400650-400650
adding new bb 0x400660
store_bb: 400660-400660
adding new bb 0x400670
store_bb: 400670-400670
adding new bb 0x400680
store_bb: 400680-400680
adding new bb 0x400690
store_bb: 400690-400690
adding new bb 0x4006a0
store_bb: 4006a0-4006c4
adding new bb 0x4006c9
store_bb: 4006c9-4006c9
adding new bb 0x4006d0
store_bb: 4006d0-4006e3
adding new bb 0x4006e5
store_bb: 4006e5-4006e6
adding new bb 0x4006e7
store_bb: 4006e7-4006ef
adding new bb 0x4006f1
store_bb: 4006f1-4006f7
adding new bb 0x400700
store_bb: 400700-400720
adding new bb 0x400722
store_bb: 400722-400723
adding new bb 0x400724
store_bb: 400724-40072c
adding new bb 0x40072e
store_bb: 40072e-400737
adding new bb 0x400740
store_bb: 400740-400747
adding new bb 0x400749
store_bb: 400749-40074d
adding new bb 0x400752
store_bb: 400752-400753
adding new bb 0x40075a
store_bb: 40075a-40075a
adding new bb 0x400760
store_bb: 400760-400768
adding new bb 0x40076a
store_bb: 40076a-400772
adding new bb 0x400774
store_bb: 400774-40077d
adding new bb 0x40077f
store_bb: 40077f-400780
adding new bb 0x400788
store_bb: 400788-400788
adding new bb 0x40078d
store_bb: 40078d-4007b1
adding new bb 0x4007b6
store_bb: 4007b6-4007d6
adding new bb 0x4007db
store_bb: 4007db-4007e4
adding new bb 0x4007e9
store_bb: 4007e9-4007ee
adding new bb 0x4007f3
store_bb: 4007f3-400802
adding new bb 0x400807
store_bb: 400807-40080c
adding new bb 0x400811
store_bb: 400811-400816
adding new bb 0x40081b
store_bb: 40081b-40082f
adding new bb 0x400834
store_bb: 400834-400839
adding new bb 0x40083e
store_bb: 40083e-400842
adding new bb 0x400844
store_bb: 400844-40085f
adding new bb 0x400864
store_bb: 400864-400869
adding new bb 0x40086e
store_bb: 40086e-40088a
adding new bb 0x40088f
store_bb: 40088f-400892
adding new bb 0x400894
store_bb: 400894-400899
adding new bb 0x40089e
store_bb: 40089e-4008ba
adding new bb 0x4008bf
store_bb: 4008bf-4008c3
adding new bb 0x4008c5
store_bb: 4008c5-4008ca
adding new bb 0x4008cf
store_bb: 4008cf-4008d0
adding new bb 0x4008e0
store_bb: 4008e0-40090e
adding new bb 0x400913
store_bb: 400913-400916
adding new bb 0x400918
store_bb: 400918-400918
adding new bb 0x400920
store_bb: 400920-400929
adding new bb 0x40092d
store_bb: 40092d-400934
adding new bb 0x400936
store_bb: 400936-400944
adding new bb 0x400950
store_bb: 400950-400950
adding new bb 0x400954
store_bb: 400954-40095c
####### running in daemon mode #######
Found function 0x400660 with address taken
Found function 0x40078d with address taken
Found function 0x4008e0 with address taken
Found function 0x400950 with address taken
store_bb: c477b4c8-c477b4c8
created dummy callback edge 0xc477b4c8 -> 0x400660
created dummy callback edge 0xc477b4c8 -> 0x40078d
created dummy callback edge 0xc477b4c8 -> 0x4008e0
created dummy callback edge 0xc477b4c8 -> 0x400950
parsing bininfo /home/patharmor/patharmor/dyninst-static/bin.info
mapped config line <addr.func.main, 0x000000000040078d>
store_bb: 0-0
created dummy loader call edge 0x0 -> 0x40078d
collapsing function _init
searching for exits reachable from bb 0x4005e5
searching bb 0x4005e5
bb 0x4005e5 is an exit block (has exit edge 0x4005e9 -> 0x400913), creating fastpath
searching for exits reachable from bb 0x4005e0
searching bb 0x4005e0
bb 0x4005e0 is an exit block (has exit edge 0x4005e0 -> 0x400660), creating fastpath
searching for exits reachable from bb 0x4005d0
searching bb 0x4005d0
hiding internal function edge 0x4005de -> 0x4005e0
hiding internal function edge 0x4005de -> 0x4005e5
searching bb 0x4005e0
bb 0x4005e0 is an exit block (has exit edge 0x4005e0 -> 0x400660), creating fastpath
created fastpath 0x4005de -> 0x4005e0
searching bb 0x4005e5
bb 0x4005e5 is an exit block (has exit edge 0x4005e9 -> 0x400913), creating fastpath
created fastpath 0x4005de -> 0x4005e5
skipping collapse of function puts
skipping collapse of function sigaction
skipping collapse of function mmap
skipping collapse of function printf
skipping collapse of function __libc_start_main
skipping collapse of function fprintf
skipping collapse of function __gmon_start__
skipping collapse of function __isoc99_sscanf
skipping collapse of function mprotect
skipping collapse of function exit
collapsing function _start
searching for exits reachable from bb 0x4006c9
searching bb 0x4006c9
bb 0x4006c9 is an exit block (no outgoing edges), creating fastpath
searching for exits reachable from bb 0x4006a0
searching bb 0x4006a0
bb 0x4006a0 is an exit block (has exit edge 0x4006c4 -> 0x400640), creating fastpath
collapsing function deregister_tm_clones
searching for exits reachable from bb 0x4006f1
searching bb 0x4006f1
bb 0x4006f1 is an exit block (has exit edge 0x4006f7 -> 0x291b), creating fastpath
searching for exits reachable from bb 0x4006e7
searching bb 0x4006e7
hiding internal function edge 0x4006ef -> 0x4006e5
hiding internal function edge 0x4006ef -> 0x4006f1
searching bb 0x4006e5
bb 0x4006e5 is an exit block (has exit edge 0x4006e6 -> 0x400752), creating fastpath
created fastpath 0x4006ef -> 0x4006e5
searching bb 0x4006f1
bb 0x4006f1 is an exit block (has exit edge 0x4006f7 -> 0x291b), creating fastpath
created fastpath 0x4006ef -> 0x4006f1
searching for exits reachable from bb 0x4006e5
searching bb 0x4006e5
bb 0x4006e5 is an exit block (has exit edge 0x4006e6 -> 0x400752), creating fastpath
searching for exits reachable from bb 0x4006d0
searching bb 0x4006d0
hiding internal function edge 0x4006e3 -> 0x4006e7
hiding internal function edge 0x4006e3 -> 0x4006e5
searching bb 0x4006e7
hiding internal function edge 0x4006ef -> 0x4006e5
hiding internal function edge 0x4006ef -> 0x4006f1
searching bb 0x4006e5
bb 0x4006e5 is an exit block (has exit edge 0x4006e6 -> 0x400752), creating fastpath
created fastpath 0x4006e3 -> 0x4006e5
searching bb 0x4006f1
bb 0x4006f1 is an exit block (has exit edge 0x4006f7 -> 0x291b), creating fastpath
created fastpath 0x4006e3 -> 0x4006f1
collapsing function register_tm_clones
searching for exits reachable from bb 0x40072e
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
searching for exits reachable from bb 0x400724
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x40072c -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x40072c -> 0x40072e
searching for exits reachable from bb 0x400722
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
searching for exits reachable from bb 0x400700
searching bb 0x400700
hiding internal function edge 0x400720 -> 0x400724
hiding internal function edge 0x400720 -> 0x400722
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400720 -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x400720 -> 0x40072e
collapsing function __do_global_dtors_aux
searching for exits reachable from bb 0x40075a
searching bb 0x40075a
bb 0x40075a is an exit block (no outgoing edges), creating fastpath
searching for exits reachable from bb 0x400752
searching bb 0x400752
hiding internal function edge 0x400753 -> 0x40075a
searching bb 0x40075a
bb 0x40075a is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400753 -> 0x40075a
searching for exits reachable from bb 0x400749
searching bb 0x400749
bb 0x400749 is an exit block (has exit edge 0x40074d -> 0x4006d0), creating fastpath
searching for exits reachable from bb 0x400740
searching bb 0x400740
hiding internal function edge 0x400747 -> 0x40075a
hiding internal function edge 0x400747 -> 0x400749
searching bb 0x40075a
bb 0x40075a is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400747 -> 0x40075a
searching bb 0x400749
bb 0x400749 is an exit block (has exit edge 0x40074d -> 0x4006d0), creating fastpath
created fastpath 0x400747 -> 0x400749
collapsing function frame_dummy
searching for exits reachable from bb 0x400788
searching bb 0x400788
hiding internal function edge 0x400788 -> 0x400700
searching bb 0x400700
hiding internal function edge 0x400720 -> 0x400724
hiding internal function edge 0x400720 -> 0x400722
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400788 -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x400788 -> 0x40072e
searching for exits reachable from bb 0x40077f
searching bb 0x40077f
hiding internal function edge 0x400780 -> 0x400700
searching bb 0x400700
hiding internal function edge 0x400720 -> 0x400724
hiding internal function edge 0x400720 -> 0x400722
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400780 -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x400780 -> 0x40072e
searching for exits reachable from bb 0x400774
searching bb 0x400774
bb 0x400774 is an exit block (has exit edge 0x40077d -> 0x40078d), creating fastpath
searching for exits reachable from bb 0x40076a
searching bb 0x40076a
hiding internal function edge 0x400772 -> 0x400788
hiding internal function edge 0x400772 -> 0x400774
searching bb 0x400788
hiding internal function edge 0x400788 -> 0x400700
searching bb 0x400774
bb 0x400774 is an exit block (has exit edge 0x40077d -> 0x40078d), creating fastpath
created fastpath 0x400772 -> 0x400774
searching bb 0x400700
hiding internal function edge 0x400720 -> 0x400724
hiding internal function edge 0x400720 -> 0x400722
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400772 -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x400772 -> 0x40072e
searching for exits reachable from bb 0x400760
searching bb 0x400760
hiding internal function edge 0x400768 -> 0x400788
hiding internal function edge 0x400768 -> 0x40076a
searching bb 0x400788
hiding internal function edge 0x400788 -> 0x400700
searching bb 0x40076a
hiding internal function edge 0x400772 -> 0x400788
hiding internal function edge 0x400772 -> 0x400774
searching bb 0x400700
hiding internal function edge 0x400720 -> 0x400724
hiding internal function edge 0x400720 -> 0x400722
searching bb 0x400774
bb 0x400774 is an exit block (has exit edge 0x40077d -> 0x40078d), creating fastpath
created fastpath 0x400768 -> 0x400774
searching bb 0x400724
hiding internal function edge 0x40072c -> 0x400722
hiding internal function edge 0x40072c -> 0x40072e
searching bb 0x400722
bb 0x400722 is an exit block (no outgoing edges), creating fastpath
created fastpath 0x400768 -> 0x400722
searching bb 0x40072e
bb 0x40072e is an exit block (has exit edge 0x400737 -> 0x291c), creating fastpath
created fastpath 0x400768 -> 0x40072e
collapsing function main
searching for exits reachable from bb 0x4008cf
searching bb 0x4008cf
bb 0x4008cf is an exit block (has exit edge 0x4008d0 -> 0x40077f), creating fastpath
searching for exits reachable from bb 0x4008c5
searching bb 0x4008c5
bb 0x4008c5 is an exit block (has exit edge 0x4008ca -> 0x400600), creating fastpath
searching for exits reachable from bb 0x4008bf
searching bb 0x4008bf
bb 0x4008bf is an exit block (has exit edge 0x4008c3 -> 0x40078d), creating fastpath
searching for exits reachable from bb 0x40089e
searching bb 0x40089e
bb 0x40089e is an exit block (has exit edge 0x4008ba -> 0x400630), creating fastpath
searching for exits reachable from bb 0x400894
searching bb 0x400894
bb 0x400894 is an exit block (has exit edge 0x400899 -> 0x400600), creating fastpath
searching for exits reachable from bb 0x40088f
searching bb 0x40088f
hiding internal function edge 0x400892 -> 0x40089e
hiding internal function edge 0x400892 -> 0x400894
searching bb 0x40089e
bb 0x40089e is an exit block (has exit edge 0x4008ba -> 0x400630), creating fastpath
created fastpath 0x400892 -> 0x40089e
searching bb 0x400894
bb 0x400894 is an exit block (has exit edge 0x400899 -> 0x400600), creating fastpath
created fastpath 0x400892 -> 0x400894
searching for exits reachable from bb 0x40086e
searching bb 0x40086e
bb 0x40086e is an exit block (has exit edge 0x40088a -> 0x400670), creating fastpath
searching for exits reachable from bb 0x400864
searching bb 0x400864
bb 0x400864 is an exit block (has exit edge 0x400869 -> 0x400690), creating fastpath
searching for exits reachable from bb 0x400844
searching bb 0x400844
bb 0x400844 is an exit block (has exit edge 0x40085f -> 0x400650), creating fastpath
searching for exits reachable from bb 0x40083e
searching bb 0x40083e
hiding internal function edge 0x400842 -> 0x40086e
hiding internal function edge 0x400842 -> 0x400844
searching bb 0x40086e
bb 0x40086e is an exit block (has exit edge 0x40088a -> 0x400670), creating fastpath
created fastpath 0x400842 -> 0x40086e
searching bb 0x400844
bb 0x400844 is an exit block (has exit edge 0x40085f -> 0x400650), creating fastpath
created fastpath 0x400842 -> 0x400844
searching for exits reachable from bb 0x400834
searching bb 0x400834
bb 0x400834 is an exit block (has exit edge 0x400839 -> 0x400600), creating fastpath
searching for exits reachable from bb 0x40081b
searching bb 0x40081b
bb 0x40081b is an exit block (has exit edge 0x40082f -> 0x400610), creating fastpath
searching for exits reachable from bb 0x400811
searching bb 0x400811
bb 0x400811 is an exit block (has exit edge 0x400816 -> 0x400600), creating fastpath
searching for exits reachable from bb 0x400807
searching bb 0x400807
bb 0x400807 is an exit block (has exit edge 0x40080c -> 0x400600), creating fastpath
searching for exits reachable from bb 0x4007f3
searching bb 0x4007f3
bb 0x4007f3 is an exit block (has exit edge 0x400802 -> 0x400680), creating fastpath
searching for exits reachable from bb 0x4007e9
searching bb 0x4007e9
bb 0x4007e9 is an exit block (has exit edge 0x4007ee -> 0x400600), creating fastpath
searching for exits reachable from bb 0x4007db
searching bb 0x4007db
bb 0x4007db is an exit block (has exit edge 0x4007e4 -> 0x400600), creating fastpath
searching for exits reachable from bb 0x4007b6
searching bb 0x4007b6
bb 0x4007b6 is an exit block (has exit edge 0x4007d6 -> 0x400620), creating fastpath
searching for exits reachable from bb 0x40078d
searching bb 0x40078d
bb 0x40078d is an exit block (has exit edge 0x4007b1 -> 0x400600), creating fastpath
collapsing function __libc_csu_init
searching for exits reachable from bb 0x400936
searching bb 0x400936
bb 0x400936 is an exit block (has exit edge 0x400944 -> 0x40077f), creating fastpath
searching for exits reachable from bb 0x40092d
searching bb 0x40092d
hiding internal function edge 0x400934 -> 0x400920
hiding internal function edge 0x400934 -> 0x400936
searching bb 0x400920
bb 0x400920 is an exit block (has exit edge 0x400929 -> 0x40078d), creating fastpath
created fastpath 0x400934 -> 0x400920
searching bb 0x400936
bb 0x400936 is an exit block (has exit edge 0x400944 -> 0x40077f), creating fastpath
created fastpath 0x400934 -> 0x400936
searching for exits reachable from bb 0x400920
searching bb 0x400920
bb 0x400920 is an exit block (has exit edge 0x400929 -> 0x40078d), creating fastpath
searching for exits reachable from bb 0x400918
searching bb 0x400918
hiding internal function edge 0x400918 -> 0x400920
searching bb 0x400920
bb 0x400920 is an exit block (has exit edge 0x400929 -> 0x40078d), creating fastpath
created fastpath 0x400918 -> 0x400920
searching for exits reachable from bb 0x400913
searching bb 0x400913
hiding internal function edge 0x400916 -> 0x400936
hiding internal function edge 0x400916 -> 0x400918
searching bb 0x400936
bb 0x400936 is an exit block (has exit edge 0x400944 -> 0x40077f), creating fastpath
created fastpath 0x400916 -> 0x400936
searching bb 0x400918
hiding internal function edge 0x400918 -> 0x400920
searching bb 0x400920
bb 0x400920 is an exit block (has exit edge 0x400929 -> 0x40078d), creating fastpath
created fastpath 0x400916 -> 0x400920
searching for exits reachable from bb 0x4008e0
searching bb 0x4008e0
bb 0x4008e0 is an exit block (has exit edge 0x40090e -> 0x4005d0), creating fastpath
collapsing function __libc_csu_fini
searching for exits reachable from bb 0x400950
searching bb 0x400950
bb 0x400950 is an exit block (has exit edge 0x400950 -> 0x40077f), creating fastpath
collapsing function _fini
searching for exits reachable from bb 0x400954
searching bb 0x400954
bb 0x400954 is an exit block (no outgoing edges), creating fastpath
CFG simplification completed in 0.003801 seconds
AddressTaken Policy 'CFG' was selected
== _callSites 5
== _addressesTaken 4
Initializing JIT daemon
- Got library offsets from armor module:
libs: 11
0x400000 - 0x401000: /home/patharmor/patharmor/toy-bug/toy
0x7fcbca6fc000 - 0x7fcbca6ff000: /lib/x86_64-linux-gnu/libdl-2.19.so
0x7fcbca900000 - 0x7fcbca919000: /lib/x86_64-linux-gnu/libpthread-2.19.so
0x7fcbcab1e000 - 0x7fcbcacd9000: /lib/x86_64-linux-gnu/libc-2.19.so
0x7fcbcaee3000 - 0x7fcbcaeeb000: /home/patharmor/patharmor/Dyninst-8.2.1/install-dir/lib/libdyninstAPI_RT.so.8.2.1
0x7fcbcb0eb000 - 0x7fcbcb0ec000: /home/patharmor/patharmor/Dyninst-8.2.1/install-dir/lib/libdyninstAPI_RT.so.8.2.1
0x7fcbcb0ec000 - 0x7fcbcc176000: <unknown>
0x7fcbcc176000 - 0x7fcbcc178000: /home/patharmor/patharmor/bin/libwrappers.so
0x7fcbcc379000 - 0x7fcbcc39c000: /lib/x86_64-linux-gnu/ld-2.19.so
0x7ffe3756a000 - 0x7ffe3758b000: <unknown>
0x7ffe375a5000 - 0x7ffe375a7000: <unknown>
indirect call source: 0x7fcbcc177768
load from: 0x7fcbcc1774ef
armor lib enter: 0x7fcbcc1777bd
armor lib return: 0x7fcbcc177853
pthread create: 0x7fcbcc1775c0
pthread create return:0x7fcbcc1776fe
Fetching plt_got_copy sruct
Fetching PLTs
Fetching GOTs
Got a PLT table:
0x400600: 0x7fcbcab8de30
0x400610: 0x7fcbcab54f60
0x400620: 0x7fcbcac129c0
0x400630: 0x7fcbcab72400
0x400640: 0x7fcbcc1774fe
0x400650: 0x7fcbcab72370
0x400660: (nil)
0x400670: 0x7fcbcab7c450
0x400680: 0x7fcbcac12a20
0x400690: 0x7fcbcab5a290
Fetching exit points struct
Fetching exit points
Got exitpoints:
0x7fcbcac129d2
0x7fcbcac129e3
0x7fcbcac12a2f
0x7fcbcac12a40
***** STARTING JIT DAEMON *****
Waiting for LBR to analyze
Fetching another copy of PLTs
Fetching another copy of GOTs
Analyzing LBR
validating LBR state to 0x00007fcbcac129c0
normalizing loader addr 0x00007fcbcc1774ef to 0x0000000000000000
normalizing local addr 0x000000000040078d to 0x000000000040078d
normalizing local addr 0x00000000004007b1 to 0x00000000004007b1
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
edge not found! testing for intraprocedural indirect jump.
no: no target bb
edge not found! testing for intraprocedural indirect jumps.
no: not all intra-proceudral indirects
cannot find edge 0x0000000000400600 -> 0x00007fcbcab8de30 in CFG
trying the plt->got table...
- Edge[12] 0000000000400600 -> 00007fcbcab8de30 only in PLT->GOT: ifunc or uninstrumentable?
0000000000400600 -> 00007fcbcab8de30 (normalized)
store_bb: 7fcbcab8de30-7fcbcab8de30
created dummy jmp edge 0x400600 -> 0x7fcbcab8de30 (puts@plt -> puts)
created dummy ret edge 0x7fcbcab8de30 -> 0x4007b6 (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x4007e9 (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x4007f3 (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x400811 (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x40081b (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x40083e (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x40089e (puts -> call site)
created dummy ret edge 0x7fcbcab8de30 -> 0x4008cf (puts -> call site)
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x00000000004007b6 to 0x00000000004007b6
normalizing local addr 0x00000000004007d6 to 0x00000000004007d6
normalizing local addr 0x0000000000400620 to 0x0000000000400620
normalizing local addr 0x0000000000400620 to 0x0000000000400620
normalizing lib addr 0x00007fcbcac129c0 to 0x00007fcbcac129c0
edge not found! testing for intraprocedural indirect jump.
no: no target bb
edge not found! testing for intraprocedural indirect jumps.
no: not all intra-proceudral indirects
cannot find edge 0x0000000000400620 -> 0x00007fcbcac129c0 in CFG
trying the plt->got table...
- Edge[15] 0000000000400620 -> 00007fcbcac129c0 only in PLT->GOT: ifunc or uninstrumentable?
0000000000400620 -> 00007fcbcac129c0 (normalized)
store_bb: 7fcbcac129c0-7fcbcac129c0
created dummy jmp edge 0x400620 -> 0x7fcbcac129c0 (mmap@plt -> mmap)
created dummy ret edge 0x7fcbcac129c0 -> 0x4007db (mmap -> call site)
searching edge 0x0 -> 0x40078d (indirect call) (out: 1)
lbr_src: 0x0 -> 0x40078d (indirect call)
lbr_dst: 0x4007b1 -> 0x400600 (call)
analyzing next edge 0x4007b1 -> 0x400600 (call)
stack size: 0
Looking at next LBR entry. new len: 5
searching edge 0x4007b1 -> 0x400600 (call) (out: 2)
lbr_src: 0x4007b1 -> 0x400600 (call)
lbr_dst: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
analyzing next edge 0x400600 -> 0x2911 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 4
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x4007b6 (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007b6
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007b6
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007b6
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007b6
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007b6
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007b6
analyzing next edge 0x7fcbcab8de30 -> 0x4007b6 (return)
stack size: 1
Looking at next LBR entry. new len: 3
searching edge 0x7fcbcab8de30 -> 0x4007b6 (return) (out: 1)
lbr_src: 0x7fcbcab8de30 -> 0x4007b6 (return)
lbr_dst: 0x4007d6 -> 0x400620 (call)
analyzing next edge 0x4007d6 -> 0x400620 (call)
stack size: 0
Looking at next LBR entry. new len: 2
searching edge 0x4007d6 -> 0x400620 (call) (out: 2)
lbr_src: 0x4007d6 -> 0x400620 (call)
lbr_dst: 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp)
analyzing next edge 0x400620 -> 0x2913 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp)
stack size: 1
We've found a path that reaches the final LBR edge, so we're done.
LBR state to 0x00007fcbcac129c0 is valid
lbr[ 0], <from: (nil), to: (nil)> empty
lbr[ 1], <from: (nil), to: (nil)> empty
lbr[ 2], <from: (nil), to: (nil)> empty
lbr[ 3], <from: (nil), to: (nil)> empty
lbr[ 4], <from: (nil), to: (nil)> empty
lbr[ 5], <from: (nil), to: (nil)> empty
lbr[ 6], <from: (nil), to: (nil)> empty
lbr[ 7], <from: (nil), to: (nil)> empty
lbr[ 8], <from: (nil), to: (nil)> empty
lbr[ 9], <from: (nil), to: (nil)> empty
lbr[10], <from: 0x7fcbcc1774ef, to: 0x40078d> ARMOR.load
lbr[11], <from: 0x4007b1, to: 0x400600> call
lbr[12], <from: 0x400600, to: 0x7fcbcab8de30> indirect.jump
lbr[13], <from: 0x7fcbcc177853, to: 0x4007b6> lib.return
lbr[14], <from: 0x4007d6, to: 0x400620> call
lbr[15], <from: 0x400620, to: 0x7fcbcac129c0> indirect.jump
!ind.: 3, call: 2, icall: 0, ijmp: 2, locret: 0, libret: 1, iindex: 12
#ind.: 3, call: 2, icall: 0, ijmp: 2, locret: 0, libret: 1, iindex: 12, e: 10, u: 0 | l: 1, lbrs: 1
\------------------- is valid
State is valid, reporting to armor module
Waiting for LBR to analyze
Fetching another copy of PLTs
Fetching another copy of GOTs
Analyzing LBR
validating LBR state to 0x00007fcbcac12a20
normalizing lbr ret 0x00007fcbcac129d2 to 0x00007fcbcc177853
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x00000000004007b6 to 0x00000000004007b6
normalizing local addr 0x00000000004007d6 to 0x00000000004007d6
normalizing local addr 0x0000000000400620 to 0x0000000000400620
normalizing local addr 0x0000000000400620 to 0x0000000000400620
normalizing lib addr 0x00007fcbcac129c0 to 0x00007fcbcac129c0
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcac129c0
normalizing local addr 0x00000000004007db to 0x00000000004007db
normalizing local addr 0x00000000004007e4 to 0x00000000004007e4
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x00000000004007e9 to 0x00000000004007e9
normalizing local addr 0x00000000004007ee to 0x00000000004007ee
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x00000000004007f3 to 0x00000000004007f3
normalizing local addr 0x0000000000400802 to 0x0000000000400802
normalizing local addr 0x0000000000400680 to 0x0000000000400680
normalizing local addr 0x0000000000400680 to 0x0000000000400680
normalizing lib addr 0x00007fcbcac12a20 to 0x00007fcbcac12a20
edge not found! testing for intraprocedural indirect jump.
no: no target bb
edge not found! testing for intraprocedural indirect jumps.
no: not all intra-proceudral indirects
cannot find edge 0x0000000000400680 -> 0x00007fcbcac12a20 in CFG
trying the plt->got table...
- Edge[15] 0000000000400680 -> 00007fcbcac12a20 only in PLT->GOT: ifunc or uninstrumentable?
0000000000400680 -> 00007fcbcac12a20 (normalized)
store_bb: 7fcbcac12a20-7fcbcac12a20
created dummy jmp edge 0x400680 -> 0x7fcbcac12a20 (mprotect@plt -> mprotect)
created dummy ret edge 0x7fcbcac12a20 -> 0x400807 (mprotect -> call site)
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x4007b6 (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 0
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 0
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 0
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 0
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 0
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 0
analyzing next edge 0x7fcbcab8de30 -> 0x4007b6 (return)
stack size: 0
Looking at next LBR entry. new len: 12
searching edge 0x7fcbcab8de30 -> 0x4007b6 (return) (out: 1)
lbr_src: 0x7fcbcab8de30 -> 0x4007b6 (return)
lbr_dst: 0x4007d6 -> 0x400620 (call)
analyzing next edge 0x4007d6 -> 0x400620 (call)
stack size: 0
Looking at next LBR entry. new len: 11
searching edge 0x4007d6 -> 0x400620 (call) (out: 2)
lbr_src: 0x4007d6 -> 0x400620 (call)
lbr_dst: 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp)
analyzing next edge 0x400620 -> 0x2913 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 10
searching edge 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp) (out: 1)
lbr_src: 0x400620 -> 0x7fcbcac129c0 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcac129c0 -> 0x4007db (return)
analyzing next edge 0x7fcbcac129c0 -> 0x4007db (return)
stack size: 1
Looking at next LBR entry. new len: 9
searching edge 0x7fcbcac129c0 -> 0x4007db (return) (out: 1)
lbr_src: 0x7fcbcac129c0 -> 0x4007db (return)
lbr_dst: 0x4007e4 -> 0x400600 (call)
analyzing next edge 0x4007e4 -> 0x400600 (call)
stack size: 0
Looking at next LBR entry. new len: 8
searching edge 0x4007e4 -> 0x400600 (call) (out: 2)
lbr_src: 0x4007e4 -> 0x400600 (call)
lbr_dst: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
analyzing next edge 0x400600 -> 0x2911 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 7
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x4007e9 (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007e9
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007e9
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007e9
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007e9
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007e9
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007e9
analyzing next edge 0x7fcbcab8de30 -> 0x4007b6 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x4007e9
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x4007e9
analyzing next edge 0x7fcbcab8de30 -> 0x4007e9 (return)
stack size: 1
Looking at next LBR entry. new len: 6
searching edge 0x7fcbcab8de30 -> 0x4007e9 (return) (out: 1)
lbr_src: 0x7fcbcab8de30 -> 0x4007e9 (return)
lbr_dst: 0x4007ee -> 0x400600 (call)
analyzing next edge 0x4007ee -> 0x400600 (call)
stack size: 0
Looking at next LBR entry. new len: 5
searching edge 0x4007ee -> 0x400600 (call) (out: 2)
lbr_src: 0x4007ee -> 0x400600 (call)
lbr_dst: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
analyzing next edge 0x400600 -> 0x2911 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 4
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x4007f3 (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007f3
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x4007f3
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007f3
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x4007f3
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007f3
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x4007f3
analyzing next edge 0x7fcbcab8de30 -> 0x4007b6 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x4007f3
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x4007f3
analyzing next edge 0x7fcbcab8de30 -> 0x4007e9 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007e9: mismatch with call returning to 0x4007f3
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007e9: mismatch with call returning to 0x4007f3
analyzing next edge 0x7fcbcab8de30 -> 0x4007f3 (return)
stack size: 1
Looking at next LBR entry. new len: 3
searching edge 0x7fcbcab8de30 -> 0x4007f3 (return) (out: 1)
lbr_src: 0x7fcbcab8de30 -> 0x4007f3 (return)
lbr_dst: 0x400802 -> 0x400680 (call)
analyzing next edge 0x400802 -> 0x400680 (call)
stack size: 0
Looking at next LBR entry. new len: 2
searching edge 0x400802 -> 0x400680 (call) (out: 2)
lbr_src: 0x400802 -> 0x400680 (call)
lbr_dst: 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp)
analyzing next edge 0x400680 -> 0x2919 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp)
stack size: 1
We've found a path that reaches the final LBR edge, so we're done.
LBR state to 0x00007fcbcac12a20 is valid
lbr[ 0], <from: (nil), to: (nil)> empty
lbr[ 1], <from: (nil), to: (nil)> empty
lbr[ 2], <from: (nil), to: (nil)> empty
lbr[ 3], <from: 0x400600, to: 0x7fcbcab8de30> indirect.jump
lbr[ 4], <from: 0x7fcbcc177853, to: 0x4007b6> lib.return
lbr[ 5], <from: 0x4007d6, to: 0x400620> call
lbr[ 6], <from: 0x400620, to: 0x7fcbcac129c0> indirect.jump
lbr[ 7], <from: 0x7fcbcc177853, to: 0x4007db> lib.return
lbr[ 8], <from: 0x4007e4, to: 0x400600> call
lbr[ 9], <from: 0x400600, to: 0x7fcbcab8de30> indirect.jump
lbr[10], <from: 0x7fcbcc177853, to: 0x4007e9> lib.return
lbr[11], <from: 0x4007ee, to: 0x400600> call
lbr[12], <from: 0x400600, to: 0x7fcbcab8de30> indirect.jump
lbr[13], <from: 0x7fcbcc177853, to: 0x4007f3> lib.return
lbr[14], <from: 0x400802, to: 0x400680> call
lbr[15], <from: 0x400680, to: 0x7fcbcac12a20> indirect.jump
!ind.: 9, call: 4, icall: 0, ijmp: 5, locret: 0, libret: 4, iindex: 3
#ind.: 12, call: 6, icall: 0, ijmp: 7, locret: 0, libret: 5, iindex: 15, e: 13, u: 0 | l: 1, lbrs: 2
\------------------- is valid
State is valid, reporting to armor module
Waiting for LBR to analyze
Fetching another copy of PLTs
Fetching another copy of GOTs
Analyzing LBR
validating LBR state to 0x00007fcbcc1777bd
normalizing lbr ret 0x00007fcbcac12a40 to 0x00007fcbcc177853
cannot determine source for lib return at LBR[3], skipping
normalizing local addr 0x0000000000400802 to 0x0000000000400802
normalizing local addr 0x0000000000400680 to 0x0000000000400680
normalizing local addr 0x0000000000400680 to 0x0000000000400680
normalizing lib addr 0x00007fcbcac12a20 to 0x00007fcbcac12a20
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcac12a20
normalizing local addr 0x0000000000400807 to 0x0000000000400807
normalizing local addr 0x000000000040080c to 0x000000000040080c
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x0000000000400811 to 0x0000000000400811
normalizing local addr 0x0000000000400816 to 0x0000000000400816
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing local addr 0x0000000000400600 to 0x0000000000400600
normalizing lib addr 0x00007fcbcab8de30 to 0x00007fcbcab8de30
normalizing lib return addr 0x00007fcbcc177853 to 0x00007fcbcab8de30
normalizing local addr 0x000000000040081b to 0x000000000040081b
normalizing local addr 0x000000000040082f to 0x000000000040082f
normalizing local addr 0x0000000000400610 to 0x0000000000400610
normalizing local addr 0x0000000000400610 to 0x0000000000400610
normalizing lib addr 0x00007fcbcab54f60 to 0x00007fcbcab54f60
edge not found! testing for intraprocedural indirect jump.
no: no target bb
edge not found! testing for intraprocedural indirect jumps.
no: not all intra-proceudral indirects
cannot find edge 0x0000000000400610 -> 0x00007fcbcab54f60 in CFG
trying the plt->got table...
- Edge[15] 0000000000400610 -> 00007fcbcab54f60 only in PLT->GOT: ifunc or uninstrumentable?
0000000000400610 -> 00007fcbcab54f60 (normalized)
store_bb: 7fcbcab54f60-7fcbcab54f60
created dummy jmp edge 0x400610 -> 0x7fcbcab54f60 (sigaction@plt -> sigaction)
created dummy ret edge 0x7fcbcab54f60 -> 0x400834 (sigaction -> call site)
searching edge 0x400802 -> 0x400680 (call) (out: 2)
lbr_src: 0x400802 -> 0x400680 (call)
lbr_dst: 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp)
analyzing next edge 0x400680 -> 0x2919 (interprocedural indirect jmp)
stack size: 0
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 0
analyzing next edge 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp)
stack size: 0
Looking at next LBR entry. new len: 10
searching edge 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp) (out: 1)
lbr_src: 0x400680 -> 0x7fcbcac12a20 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcac12a20 -> 0x400807 (return)
analyzing next edge 0x7fcbcac12a20 -> 0x400807 (return)
stack size: 0
Looking at next LBR entry. new len: 9
searching edge 0x7fcbcac12a20 -> 0x400807 (return) (out: 1)
lbr_src: 0x7fcbcac12a20 -> 0x400807 (return)
lbr_dst: 0x40080c -> 0x400600 (call)
analyzing next edge 0x40080c -> 0x400600 (call)
stack size: 0
Looking at next LBR entry. new len: 8
searching edge 0x40080c -> 0x400600 (call) (out: 2)
lbr_src: 0x40080c -> 0x400600 (call)
lbr_dst: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
analyzing next edge 0x400600 -> 0x2911 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 7
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x400811 (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x4007b6 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007b6: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x4007e9 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007e9: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007e9: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x4007f3 (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007f3: mismatch with call returning to 0x400811
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4007f3: mismatch with call returning to 0x400811
analyzing next edge 0x7fcbcab8de30 -> 0x400811 (return)
stack size: 1
Looking at next LBR entry. new len: 6
searching edge 0x7fcbcab8de30 -> 0x400811 (return) (out: 1)
lbr_src: 0x7fcbcab8de30 -> 0x400811 (return)
lbr_dst: 0x400816 -> 0x400600 (call)
analyzing next edge 0x400816 -> 0x400600 (call)
stack size: 0
Looking at next LBR entry. new len: 5
searching edge 0x400816 -> 0x400600 (call) (out: 2)
lbr_src: 0x400816 -> 0x400600 (call)
lbr_dst: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
analyzing next edge 0x400600 -> 0x2911 (interprocedural indirect jmp)
stack size: 1
This indirect edge cannot be on the path, or it would be in the LBR.
stack size: 1
analyzing next edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
stack size: 1
Looking at next LBR entry. new len: 4
searching edge 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp) (out: 8)
lbr_src: 0x400600 -> 0x7fcbcab8de30 (interprocedural indirect jmp)
lbr_dst: 0x7fcbcab8de30 -> 0x40081b (return)
analyzing next edge 0x7fcbcab8de30 -> 0x4008cf (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x40081b
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x4008cf: mismatch with call returning to 0x40081b
analyzing next edge 0x7fcbcab8de30 -> 0x40089e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x40081b
One of the constraints prohibits traversing this edge.
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40089e: mismatch with call returning to 0x40081b
analyzing next edge 0x7fcbcab8de30 -> 0x40083e (return)
stack size: 1
return edge 0x7fcbcab8de30 -> 0x40083e: mismatch with call returning to 0x40081b
One of the constraints prohibits traversing this edge.
stack size: 1