-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest2.txt
More file actions
4504 lines (4263 loc) · 230 KB
/
test2.txt
File metadata and controls
4504 lines (4263 loc) · 230 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
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
libc/x86/libc.a(byteswap.o): file format elf32-i386
Disassembly of section .text.bswap_16:
00000000 <bswap_16>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 86 e0 xchg ah, al
9: c3 ret
Disassembly of section .text.bswap_32:
00000000 <bswap_32>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 0f c8 bswap eax
9: c3 ret
Disassembly of section .text.bswap_64:
00000000 <bswap_64>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 8b 45 0c mov eax, dword ptr [ebp + 12]
9: 5d pop ebp
a: 0f ca bswap edx
c: 0f c8 bswap eax
e: c3 ret
libc/x86/libc.a(ctype.o): file format elf32-i386
Disassembly of section .text.toupper:
00000000 <toupper>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 8d 50 9f lea edx, [eax - 97]
9: 83 fa 19 cmp edx, 25
c: 77 03 ja 0x11 <toupper+0x11>
e: 83 e8 20 sub eax, 32
11: 5d pop ebp
12: c3 ret
Disassembly of section .text.tolower:
00000000 <tolower>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 8d 50 bf lea edx, [eax - 65]
9: 83 fa 19 cmp edx, 25
c: 77 03 ja 0x11 <tolower+0x11>
e: 83 c0 20 add eax, 32
11: 5d pop ebp
12: c3 ret
Disassembly of section .text.isalpha:
00000000 <isalpha>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 e0 df and eax, -33
a: 83 e8 41 sub eax, 65
d: 83 f8 19 cmp eax, 25
10: 0f 96 c0 setbe al
13: 0f b6 c0 movzx eax, al
16: c3 ret
Disassembly of section .text.isalnum:
00000000 <isalnum>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 83 ec 14 sub esp, 20
6: 8b 55 08 mov edx, dword ptr [ebp + 8]
9: 52 push edx
a: e8 fc ff ff ff call 0xb <isalnum+0xb>
0000000b: R_386_PC32 isalpha
f: 83 c4 10 add esp, 16
12: 89 c1 mov ecx, eax
14: b8 01 00 00 00 mov eax, 1
19: 85 c9 test ecx, ecx
1b: 75 0b jne 0x28 <isalnum+0x28>
1d: 83 ea 30 sub edx, 48
20: 31 c0 xor eax, eax
22: 83 fa 09 cmp edx, 9
25: 0f 96 c0 setbe al
28: c9 leave
29: c3 ret
Disassembly of section .text.iscntrl:
00000000 <iscntrl>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 fa 1f cmp edx, 31
a: 0f 9e c0 setle al
d: 83 fa 7f cmp edx, 127
10: 0f 94 c2 sete dl
13: 09 d0 or eax, edx
15: 0f b6 c0 movzx eax, al
18: c3 ret
Disassembly of section .text.isblank:
00000000 <isblank>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 fa 09 cmp edx, 9
a: 0f 94 c0 sete al
d: 83 fa 20 cmp edx, 32
10: 0f 94 c2 sete dl
13: 09 d0 or eax, edx
15: 0f b6 c0 movzx eax, al
18: c3 ret
Disassembly of section .text.isdigit:
00000000 <isdigit>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 e8 30 sub eax, 48
a: 83 f8 09 cmp eax, 9
d: 0f 96 c0 setbe al
10: 0f b6 c0 movzx eax, al
13: c3 ret
Disassembly of section .text.islower:
00000000 <islower>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 e8 61 sub eax, 97
a: 83 f8 19 cmp eax, 25
d: 0f 96 c0 setbe al
10: 0f b6 c0 movzx eax, al
13: c3 ret
Disassembly of section .text.isprint:
00000000 <isprint>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 fa 1f cmp edx, 31
a: 0f 9e c0 setle al
d: 83 fa 7f cmp edx, 127
10: 0f 94 c2 sete dl
13: 09 d0 or eax, edx
15: 83 f0 01 xor eax, 1
18: 0f b6 c0 movzx eax, al
1b: c3 ret
Disassembly of section .text.isgraph:
00000000 <isgraph>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 83 ec 14 sub esp, 20
6: 8b 4d 08 mov ecx, dword ptr [ebp + 8]
9: 51 push ecx
a: e8 fc ff ff ff call 0xb <isgraph+0xb>
0000000b: R_386_PC32 isprint
f: 83 c4 10 add esp, 16
12: 83 f9 20 cmp ecx, 32
15: c9 leave
16: 0f 95 c2 setne dl
19: 85 c0 test eax, eax
1b: 0f 95 c0 setne al
1e: 0f b6 c0 movzx eax, al
21: 21 d0 and eax, edx
23: c3 ret
Disassembly of section .text.isspace:
00000000 <isspace>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 8d 42 f7 lea eax, [edx - 9]
a: 83 f8 04 cmp eax, 4
d: 0f 96 c0 setbe al
10: 83 fa 20 cmp edx, 32
13: 0f 94 c2 sete dl
16: 09 d0 or eax, edx
18: 0f b6 c0 movzx eax, al
1b: c3 ret
Disassembly of section .text.ispunct:
00000000 <ispunct>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 83 ec 14 sub esp, 20
6: 8b 4d 08 mov ecx, dword ptr [ebp + 8]
9: 51 push ecx
a: e8 fc ff ff ff call 0xb <ispunct+0xb>
0000000b: R_386_PC32 isprint
f: 83 c4 10 add esp, 16
12: 85 c0 test eax, eax
14: 74 28 je 0x3e <ispunct+0x3e>
16: 83 ec 0c sub esp, 12
19: 51 push ecx
1a: e8 fc ff ff ff call 0x1b <ispunct+0x1b>
0000001b: R_386_PC32 isspace
1f: 83 c4 10 add esp, 16
22: 89 c2 mov edx, eax
24: 31 c0 xor eax, eax
26: 85 d2 test edx, edx
28: 75 14 jne 0x3e <ispunct+0x3e>
2a: 83 ec 0c sub esp, 12
2d: 51 push ecx
2e: e8 fc ff ff ff call 0x2f <ispunct+0x2f>
0000002f: R_386_PC32 isalnum
33: 83 c4 10 add esp, 16
36: 85 c0 test eax, eax
38: 0f 94 c0 sete al
3b: 0f b6 c0 movzx eax, al
3e: c9 leave
3f: c3 ret
Disassembly of section .text.isupper:
00000000 <isupper>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: 83 e8 41 sub eax, 65
a: 83 f8 19 cmp eax, 25
d: 0f 96 c0 setbe al
10: 0f b6 c0 movzx eax, al
13: c3 ret
Disassembly of section .text.isxdigit:
00000000 <isxdigit>:
0: 55 push ebp
1: ba 01 00 00 00 mov edx, 1
6: 89 e5 mov ebp, esp
8: 8b 45 08 mov eax, dword ptr [ebp + 8]
b: 8d 48 d0 lea ecx, [eax - 48]
e: 83 f9 09 cmp ecx, 9
11: 76 0e jbe 0x21 <isxdigit+0x21>
13: 83 e0 df and eax, -33
16: 31 d2 xor edx, edx
18: 83 e8 41 sub eax, 65
1b: 83 f8 05 cmp eax, 5
1e: 0f 96 c2 setbe dl
21: 89 d0 mov eax, edx
23: 5d pop ebp
24: c3 ret
libc/x86/libc.a(string.o): file format elf32-i386
Disassembly of section .text.memchr:
00000000 <memchr>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 8b 55 10 mov edx, dword ptr [ebp + 16]
9: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
c: 01 c2 add edx, eax
e: 39 d0 cmp eax, edx
10: 74 07 je 0x19 <memchr+0x19>
12: 38 08 cmp byte ptr [eax], cl
14: 74 05 je 0x1b <memchr+0x1b>
16: 40 inc eax
17: eb f5 jmp 0xe <memchr+0xe>
19: 31 c0 xor eax, eax
1b: 5d pop ebp
1c: c3 ret
Disassembly of section .text.memcmp:
00000000 <memcmp>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 56 push esi
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 8b 75 10 mov esi, dword ptr [ebp + 16]
a: 53 push ebx
b: 8b 55 0c mov edx, dword ptr [ebp + 12]
e: 01 c6 add esi, eax
10: 39 f0 cmp eax, esi
12: 74 15 je 0x29 <memcmp+0x29>
14: 8a 08 mov cl, byte ptr [eax]
16: 8a 1a mov bl, byte ptr [edx]
18: 38 d9 cmp cl, bl
1a: 72 11 jb 0x2d <memcmp+0x2d>
1c: 40 inc eax
1d: 42 inc edx
1e: 38 cb cmp bl, cl
20: 73 ee jae 0x10 <memcmp+0x10>
22: b8 01 00 00 00 mov eax, 1
27: eb 07 jmp 0x30 <memcmp+0x30>
29: 31 c0 xor eax, eax
2b: eb 03 jmp 0x30 <memcmp+0x30>
2d: 83 c8 ff or eax, -1
30: 5b pop ebx
31: 5e pop esi
32: 5d pop ebp
33: c3 ret
Disassembly of section .text.strncmp:
00000000 <strncmp>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 53 push ebx
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 8b 55 0c mov edx, dword ptr [ebp + 12]
a: 8b 4d 10 mov ecx, dword ptr [ebp + 16]
d: 85 c9 test ecx, ecx
f: 74 0f je 0x20 <strncmp+0x20>
11: 8a 18 mov bl, byte ptr [eax]
13: 84 db test bl, bl
15: 74 0d je 0x24 <strncmp+0x24>
17: 3a 1a cmp bl, byte ptr [edx]
19: 75 09 jne 0x24 <strncmp+0x24>
1b: 40 inc eax
1c: 42 inc edx
1d: 49 dec ecx
1e: eb ed jmp 0xd <strncmp+0xd>
20: 31 c0 xor eax, eax
22: eb 08 jmp 0x2c <strncmp+0x2c>
24: 0f b6 00 movzx eax, byte ptr [eax]
27: 0f b6 12 movzx edx, byte ptr [edx]
2a: 29 d0 sub eax, edx
2c: 5b pop ebx
2d: 5d pop ebp
2e: c3 ret
Disassembly of section .text.memset:
00000000 <memset>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 57 push edi
4: 8a 45 0c mov al, byte ptr [ebp + 12]
7: 8b 4d 10 mov ecx, dword ptr [ebp + 16]
a: 8b 7d 08 mov edi, dword ptr [ebp + 8]
d: f3 aa rep stosb byte ptr es:[edi], al
f: 8b 45 08 mov eax, dword ptr [ebp + 8]
12: 5f pop edi
13: 5d pop ebp
14: c3 ret
Disassembly of section .text.memcpy:
00000000 <memcpy>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 57 push edi
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 8b 4d 10 mov ecx, dword ptr [ebp + 16]
a: 56 push esi
b: 8b 75 0c mov esi, dword ptr [ebp + 12]
e: 89 c7 mov edi, eax
10: f3 a4 rep movsb byte ptr es:[edi], byte ptr [esi]
12: 5e pop esi
13: 5f pop edi
14: 5d pop ebp
15: c3 ret
Disassembly of section .text.memmove:
00000000 <memmove>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 57 push edi
4: 8b 55 08 mov edx, dword ptr [ebp + 8]
7: 8b 45 10 mov eax, dword ptr [ebp + 16]
a: 56 push esi
b: 8b 75 0c mov esi, dword ptr [ebp + 12]
e: 39 d6 cmp esi, edx
10: 72 0b jb 0x1d <memmove+0x1d>
12: 01 d0 add eax, edx
14: 89 d7 mov edi, edx
16: 39 c7 cmp edi, eax
18: 74 10 je 0x2a <memmove+0x2a>
1a: a4 movsb byte ptr es:[edi], byte ptr [esi]
1b: eb f9 jmp 0x16 <memmove+0x16>
1d: 83 e8 01 sub eax, 1
20: 72 08 jb 0x2a <memmove+0x2a>
22: 8a 0c 06 mov cl, byte ptr [esi + eax]
25: 88 0c 02 mov byte ptr [edx + eax], cl
28: eb f3 jmp 0x1d <memmove+0x1d>
2a: 5e pop esi
2b: 89 d0 mov eax, edx
2d: 5f pop edi
2e: 5d pop ebp
2f: c3 ret
Disassembly of section .text.strcat:
00000000 <strcat>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 53 push ebx
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 89 c2 mov edx, eax
9: 8a 0a mov cl, byte ptr [edx]
b: 89 d3 mov ebx, edx
d: 8d 52 01 lea edx, [edx + 1]
10: 84 c9 test cl, cl
12: 75 f5 jne 0x9 <strcat+0x9>
14: 31 d2 xor edx, edx
16: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
19: 8a 0c 11 mov cl, byte ptr [ecx + edx]
1c: 88 0c 13 mov byte ptr [ebx + edx], cl
1f: 42 inc edx
20: 84 c9 test cl, cl
22: 75 f2 jne 0x16 <strcat+0x16>
24: 5b pop ebx
25: 5d pop ebp
26: c3 ret
Disassembly of section .text.strcmp:
00000000 <strcmp>:
0: 55 push ebp
1: 31 c9 xor ecx, ecx
3: 89 e5 mov ebp, esp
5: 8b 45 08 mov eax, dword ptr [ebp + 8]
8: 8b 55 0c mov edx, dword ptr [ebp + 12]
b: 0f b6 04 08 movzx eax, byte ptr [eax + ecx]
f: 0f b6 14 0a movzx edx, byte ptr [edx + ecx]
13: 84 c0 test al, al
15: 74 05 je 0x1c <strcmp+0x1c>
17: 41 inc ecx
18: 38 d0 cmp al, dl
1a: 74 e9 je 0x5 <strcmp+0x5>
1c: 29 d0 sub eax, edx
1e: 5d pop ebp
1f: c3 ret
Disassembly of section .text.strcpy:
00000000 <strcpy>:
0: 55 push ebp
1: 31 c0 xor eax, eax
3: 89 e5 mov ebp, esp
5: 8b 55 08 mov edx, dword ptr [ebp + 8]
8: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
b: 8a 0c 01 mov cl, byte ptr [ecx + eax]
e: 88 0c 02 mov byte ptr [edx + eax], cl
11: 40 inc eax
12: 84 c9 test cl, cl
14: 75 f2 jne 0x8 <strcpy+0x8>
16: 89 d0 mov eax, edx
18: 5d pop ebp
19: c3 ret
Disassembly of section .text.strlen:
00000000 <strlen>:
0: 55 push ebp
1: 31 c0 xor eax, eax
3: 89 e5 mov ebp, esp
5: 8b 55 08 mov edx, dword ptr [ebp + 8]
8: 80 3c 02 00 cmp byte ptr [edx + eax], 0
c: 74 03 je 0x11 <strlen+0x11>
e: 40 inc eax
f: eb f7 jmp 0x8 <strlen+0x8>
11: 5d pop ebp
12: c3 ret
Disassembly of section .text.strncpy:
00000000 <strncpy>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 56 push esi
4: 8b 55 08 mov edx, dword ptr [ebp + 8]
7: 8b 75 10 mov esi, dword ptr [ebp + 16]
a: 53 push ebx
b: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
e: 01 d6 add esi, edx
10: 89 d0 mov eax, edx
12: 39 f0 cmp eax, esi
14: 74 0e je 0x24 <strncpy+0x24>
16: 8a 19 mov bl, byte ptr [ecx]
18: 40 inc eax
19: 80 fb 01 cmp bl, 1
1c: 88 58 ff mov byte ptr [eax - 1], bl
1f: 83 d9 ff sbb ecx, -1
22: eb ee jmp 0x12 <strncpy+0x12>
24: 5b pop ebx
25: 89 d0 mov eax, edx
27: 5e pop esi
28: 5d pop ebp
29: c3 ret
Disassembly of section .text.strchr:
00000000 <strchr>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 8a 10 mov dl, byte ptr [eax]
8: 3a 55 0c cmp dl, byte ptr [ebp + 12]
b: 74 07 je 0x14 <strchr+0x14>
d: 40 inc eax
e: 84 d2 test dl, dl
10: 75 f4 jne 0x6 <strchr+0x6>
12: 31 c0 xor eax, eax
14: 5d pop ebp
15: c3 ret
Disassembly of section .text.strdup:
00000000 <strdup>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 56 push esi
4: 53 push ebx
5: 8b 75 08 mov esi, dword ptr [ebp + 8]
8: 83 ec 0c sub esp, 12
b: 56 push esi
c: e8 fc ff ff ff call 0xd <strdup+0xd>
0000000d: R_386_PC32 strlen
11: 40 inc eax
12: 89 04 24 mov dword ptr [esp], eax
15: e8 fc ff ff ff call 0x16 <strdup+0x16>
00000016: R_386_PC32 malloc
1a: 89 c3 mov ebx, eax
1c: 58 pop eax
1d: 5a pop edx
1e: 56 push esi
1f: 53 push ebx
20: e8 fc ff ff ff call 0x21 <strdup+0x21>
00000021: R_386_PC32 strcpy
25: 8d 65 f8 lea esp, [ebp - 8]
28: 89 d8 mov eax, ebx
2a: 5b pop ebx
2b: 5e pop esi
2c: 5d pop ebp
2d: c3 ret
Disassembly of section .text.strerror:
00000000 <strerror>:
0: 55 push ebp
1: b8 00 00 00 00 mov eax, 0
00000002: R_386_32 .rodata.strerror.str1.1
6: 89 e5 mov ebp, esp
8: 8b 55 08 mov edx, dword ptr [ebp + 8]
b: 83 fa 22 cmp edx, 34
e: 77 07 ja 0x17 <strerror+0x17>
10: 8b 04 95 00 00 00 00 mov eax, dword ptr [4*edx]
00000013: R_386_32 .rodata.CSWTCH.61
17: 5d pop ebp
18: c3 ret
Disassembly of section .text.strncat:
00000000 <strncat>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 56 push esi
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
a: 53 push ebx
b: 89 c2 mov edx, eax
d: 80 3a 00 cmp byte ptr [edx], 0
10: 74 03 je 0x15 <strncat+0x15>
12: 42 inc edx
13: eb f8 jmp 0xd <strncat+0xd>
15: 8b 75 10 mov esi, dword ptr [ebp + 16]
18: 01 d6 add esi, edx
1a: 8a 19 mov bl, byte ptr [ecx]
1c: 84 db test bl, bl
1e: 74 0b je 0x2b <strncat+0x2b>
20: 39 f2 cmp edx, esi
22: 74 07 je 0x2b <strncat+0x2b>
24: 42 inc edx
25: 41 inc ecx
26: 88 5a ff mov byte ptr [edx - 1], bl
29: eb ef jmp 0x1a <strncat+0x1a>
2b: c6 02 00 mov byte ptr [edx], 0
2e: 5b pop ebx
2f: 5e pop esi
30: 5d pop ebp
31: c3 ret
Disassembly of section .text.strxfrm:
00000000 <strxfrm>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 53 push ebx
4: 8b 5d 10 mov ebx, dword ptr [ebp + 16]
7: 8b 45 08 mov eax, dword ptr [ebp + 8]
a: 8b 4d 0c mov ecx, dword ptr [ebp + 12]
d: 85 db test ebx, ebx
f: 74 07 je 0x18 <strxfrm+0x18>
11: 8d 51 01 lea edx, [ecx + 1]
14: 01 d9 add ecx, ebx
16: eb 14 jmp 0x2c <strxfrm+0x2c>
18: 85 c0 test eax, eax
1a: 74 21 je 0x3d <strxfrm+0x3d>
1c: c6 00 00 mov byte ptr [eax], 0
1f: eb 1c jmp 0x3d <strxfrm+0x3d>
21: 8a 5a ff mov bl, byte ptr [edx - 1]
24: 42 inc edx
25: 84 db test bl, bl
27: 74 07 je 0x30 <strxfrm+0x30>
29: 88 18 mov byte ptr [eax], bl
2b: 40 inc eax
2c: 39 d1 cmp ecx, edx
2e: 75 f1 jne 0x21 <strxfrm+0x21>
30: c6 00 00 mov byte ptr [eax], 0
33: 5b pop ebx
34: 89 45 08 mov dword ptr [ebp + 8], eax
37: 5d pop ebp
38: e9 fc ff ff ff jmp 0x39 <strxfrm+0x39>
00000039: R_386_PC32 strlen
3d: 31 c0 xor eax, eax
3f: 5b pop ebx
40: 5d pop ebp
41: c3 ret
Disassembly of section .text.strcoll:
00000000 <strcoll>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 56 push esi
4: 53 push ebx
5: 8d 5d f6 lea ebx, [ebp - 10]
8: 8d 75 f7 lea esi, [ebp - 9]
b: 83 ec 14 sub esp, 20
e: 6a 01 push 1
10: ff 75 08 push dword ptr [ebp + 8]
13: 53 push ebx
14: e8 fc ff ff ff call 0x15 <strcoll+0x15>
00000015: R_386_PC32 strxfrm
19: 83 c4 0c add esp, 12
1c: 6a 01 push 1
1e: ff 75 0c push dword ptr [ebp + 12]
21: 56 push esi
22: e8 fc ff ff ff call 0x23 <strcoll+0x23>
00000023: R_386_PC32 strxfrm
27: 58 pop eax
28: 5a pop edx
29: 56 push esi
2a: 53 push ebx
2b: e8 fc ff ff ff call 0x2c <strcoll+0x2c>
0000002c: R_386_PC32 strcmp
30: 83 c4 10 add esp, 16
33: 8d 65 f8 lea esp, [ebp - 8]
36: 5b pop ebx
37: 5e pop esi
38: 5d pop ebp
39: c3 ret
Disassembly of section .text.strspn:
00000000 <strspn>:
0: 55 push ebp
1: 31 c0 xor eax, eax
3: 89 e5 mov ebp, esp
5: 53 push ebx
6: 8b 55 08 mov edx, dword ptr [ebp + 8]
9: 8a 0c 02 mov cl, byte ptr [edx + eax]
c: 84 c9 test cl, cl
e: 74 11 je 0x21 <strspn+0x21>
10: 8b 55 0c mov edx, dword ptr [ebp + 12]
13: 8a 1a mov bl, byte ptr [edx]
15: 84 db test bl, bl
17: 74 08 je 0x21 <strspn+0x21>
19: 42 inc edx
1a: 38 cb cmp bl, cl
1c: 75 f5 jne 0x13 <strspn+0x13>
1e: 40 inc eax
1f: eb e5 jmp 0x6 <strspn+0x6>
21: 5b pop ebx
22: 5d pop ebp
23: c3 ret
Disassembly of section .text.strcspn:
00000000 <strcspn>:
0: 55 push ebp
1: 31 c0 xor eax, eax
3: 89 e5 mov ebp, esp
5: 53 push ebx
6: 8b 55 08 mov edx, dword ptr [ebp + 8]
9: 8a 0c 02 mov cl, byte ptr [edx + eax]
c: 84 c9 test cl, cl
e: 74 13 je 0x23 <strcspn+0x23>
10: 8b 55 0c mov edx, dword ptr [ebp + 12]
13: 8a 1a mov bl, byte ptr [edx]
15: 84 db test bl, bl
17: 74 07 je 0x20 <strcspn+0x20>
19: 42 inc edx
1a: 38 cb cmp bl, cl
1c: 75 f5 jne 0x13 <strcspn+0x13>
1e: eb 03 jmp 0x23 <strcspn+0x23>
20: 40 inc eax
21: eb e3 jmp 0x6 <strcspn+0x6>
23: 5b pop ebx
24: 5d pop ebp
25: c3 ret
Disassembly of section .text.strpbrk:
00000000 <strpbrk>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 53 push ebx
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 8a 08 mov cl, byte ptr [eax]
9: 84 c9 test cl, cl
b: 74 13 je 0x20 <strpbrk+0x20>
d: 8b 55 0c mov edx, dword ptr [ebp + 12]
10: 8a 1a mov bl, byte ptr [edx]
12: 84 db test bl, bl
14: 74 07 je 0x1d <strpbrk+0x1d>
16: 42 inc edx
17: 38 cb cmp bl, cl
19: 75 f5 jne 0x10 <strpbrk+0x10>
1b: eb 05 jmp 0x22 <strpbrk+0x22>
1d: 40 inc eax
1e: eb e7 jmp 0x7 <strpbrk+0x7>
20: 31 c0 xor eax, eax
22: 5b pop ebx
23: 5d pop ebp
24: c3 ret
Disassembly of section .text.strrchr:
00000000 <strrchr>:
0: 55 push ebp
1: 31 d2 xor edx, edx
3: 89 e5 mov ebp, esp
5: 8b 45 08 mov eax, dword ptr [ebp + 8]
8: 8a 08 mov cl, byte ptr [eax]
a: 84 c9 test cl, cl
c: 74 09 je 0x17 <strrchr+0x17>
e: 3a 4d 0c cmp cl, byte ptr [ebp + 12]
11: 0f 44 d0 cmove edx, eax
14: 40 inc eax
15: eb f1 jmp 0x8 <strrchr+0x8>
17: 89 d0 mov eax, edx
19: 5d pop ebp
1a: c3 ret
Disassembly of section .text.strstr:
00000000 <strstr>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 57 push edi
4: 56 push esi
5: 53 push ebx
6: 83 ec 18 sub esp, 24
9: 8b 7d 0c mov edi, dword ptr [ebp + 12]
c: 8b 5d 08 mov ebx, dword ptr [ebp + 8]
f: 57 push edi
10: e8 fc ff ff ff call 0x11 <strstr+0x11>
00000011: R_386_PC32 strlen
15: 83 c4 10 add esp, 16
18: 89 c6 mov esi, eax
1a: 85 c0 test eax, eax
1c: 74 1a je 0x38 <strstr+0x38>
1e: 80 3b 00 cmp byte ptr [ebx], 0
21: 74 13 je 0x36 <strstr+0x36>
23: 50 push eax
24: 56 push esi
25: 57 push edi
26: 53 push ebx
27: e8 fc ff ff ff call 0x28 <strstr+0x28>
00000028: R_386_PC32 memcmp
2c: 83 c4 10 add esp, 16
2f: 85 c0 test eax, eax
31: 74 05 je 0x38 <strstr+0x38>
33: 43 inc ebx
34: eb e8 jmp 0x1e <strstr+0x1e>
36: 31 db xor ebx, ebx
38: 8d 65 f4 lea esp, [ebp - 12]
3b: 89 d8 mov eax, ebx
3d: 5b pop ebx
3e: 5e pop esi
3f: 5f pop edi
40: 5d pop ebp
41: c3 ret
Disassembly of section .text.strtok:
00000000 <strtok>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 57 push edi
4: 8b 45 08 mov eax, dword ptr [ebp + 8]
7: 56 push esi
8: 53 push ebx
9: 85 c0 test eax, eax
b: 74 07 je 0x14 <strtok+0x14>
d: a3 00 00 00 00 mov dword ptr [0], eax
0000000e: R_386_32 .bss.saved_pointer.0
12: eb 09 jmp 0x1d <strtok+0x1d>
14: 83 3d 00 00 00 00 00 cmp dword ptr [0], 0
00000016: R_386_32 .bss.saved_pointer.0
1b: 74 2c je 0x49 <strtok+0x49>
1d: 8b 15 00 00 00 00 mov edx, dword ptr [0]
0000001f: R_386_32 .bss.saved_pointer.0
23: 31 f6 xor esi, esi
25: 89 d0 mov eax, edx
27: eb 08 jmp 0x31 <strtok+0x31>
29: 46 inc esi
2a: 38 cb cmp bl, cl
2c: 75 0e jne 0x3c <strtok+0x3c>
2e: 40 inc eax
2f: 89 fe mov esi, edi
31: 8a 08 mov cl, byte ptr [eax]
33: 89 c7 mov edi, eax
35: 84 c9 test cl, cl
37: 74 14 je 0x4d <strtok+0x4d>
39: 8b 75 0c mov esi, dword ptr [ebp + 12]
3c: 8a 1e mov bl, byte ptr [esi]
3e: 84 db test bl, bl
40: 75 e7 jne 0x29 <strtok+0x29>
42: 31 c0 xor eax, eax
44: a3 00 00 00 00 mov dword ptr [0], eax
00000045: R_386_32 .bss.saved_pointer.0
49: 31 f6 xor esi, esi
4b: eb 2b jmp 0x78 <strtok+0x78>
4d: 31 c0 xor eax, eax
4f: 8a 0c 02 mov cl, byte ptr [edx + eax]
52: 84 c9 test cl, cl
54: 74 1b je 0x71 <strtok+0x71>
56: 8b 7d 0c mov edi, dword ptr [ebp + 12]
59: 8a 1f mov bl, byte ptr [edi]
5b: 84 db test bl, bl
5d: 74 0f je 0x6e <strtok+0x6e>
5f: 47 inc edi
60: 38 cb cmp bl, cl
62: 75 f5 jne 0x59 <strtok+0x59>
64: c6 04 02 00 mov byte ptr [edx + eax], 0
68: 8d 44 02 01 lea eax, [edx + eax + 1]
6c: eb 05 jmp 0x73 <strtok+0x73>
6e: 40 inc eax
6f: eb de jmp 0x4f <strtok+0x4f>
71: 31 c0 xor eax, eax
73: a3 00 00 00 00 mov dword ptr [0], eax
00000074: R_386_32 .bss.saved_pointer.0
78: 5b pop ebx
79: 89 f0 mov eax, esi
7b: 5e pop esi
7c: 5f pop edi
7d: 5d pop ebp
7e: c3 ret
libc/x86/libc.a(rand.o): file format elf32-i386
Disassembly of section .text.rand:
00000000 <rand>:
0: 69 05 00 00 00 00 d6 c9 48 02 imul eax, dword ptr [0], 38324694
00000002: R_386_32 .data.rand_seed
a: 69 0d 04 00 00 00 a5 2b 35 8b imul ecx, dword ptr [4], 2335517605
0000000c: R_386_32 .data.rand_seed
14: 01 c1 add ecx, eax
16: b8 a5 2b 35 8b mov eax, 2335517605
1b: f7 25 00 00 00 00 mul dword ptr [0]
0000001d: R_386_32 .data.rand_seed
21: 01 ca add edx, ecx
23: 05 7d 12 fd 98 add eax, 2566722173
28: 81 d2 48 6e 8b cc adc edx, 3431689800
2e: a3 00 00 00 00 mov dword ptr [0], eax
0000002f: R_386_32 .data.rand_seed
33: 89 d0 mov eax, edx
35: 89 15 04 00 00 00 mov dword ptr [4], edx
00000037: R_386_32 .data.rand_seed
3b: d1 e8 shr eax
3d: c3 ret
Disassembly of section .text.srand:
00000000 <srand>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 08 mov eax, dword ptr [ebp + 8]
6: 5d pop ebp
7: a3 00 00 00 00 mov dword ptr [0], eax
00000008: R_386_32 .data.rand_seed
c: 31 c0 xor eax, eax
e: a3 04 00 00 00 mov dword ptr [4], eax
0000000f: R_386_32 .data.rand_seed
13: c3 ret
libc/x86/libc.a(abs.o): file format elf32-i386
Disassembly of section .text.abs:
00000000 <abs>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 89 d0 mov eax, edx
9: f7 d8 neg eax
b: 0f 48 c2 cmovs eax, edx
e: c3 ret
Disassembly of section .text.labs:
00000000 <labs>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 55 08 mov edx, dword ptr [ebp + 8]
6: 5d pop ebp
7: 89 d0 mov eax, edx
9: f7 d8 neg eax
b: 0f 48 c2 cmovs eax, edx
e: c3 ret
Disassembly of section .text.llabs:
00000000 <llabs>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 4d 08 mov ecx, dword ptr [ebp + 8]
6: 8b 55 0c mov edx, dword ptr [ebp + 12]
9: 89 c8 mov eax, ecx
b: f7 d8 neg eax
d: 83 d2 00 adc edx, 0
10: f7 da neg edx
12: 0f 48 55 0c cmovs edx, dword ptr [ebp + 12]
16: 5d pop ebp
17: 0f 48 c1 cmovs eax, ecx
1a: c3 ret
libc/x86/libc.a(div.o): file format elf32-i386
Disassembly of section .text.div:
00000000 <div>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 0c mov eax, dword ptr [ebp + 12]
6: 8b 4d 08 mov ecx, dword ptr [ebp + 8]
9: 99 cdq
a: f7 7d 10 idiv dword ptr [ebp + 16]
d: 89 01 mov dword ptr [ecx], eax
f: 89 c8 mov eax, ecx
11: 89 51 04 mov dword ptr [ecx + 4], edx
14: 5d pop ebp
15: c2 04 00 ret 4
Disassembly of section .text.ldiv:
00000000 <ldiv>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 8b 45 0c mov eax, dword ptr [ebp + 12]
6: 8b 4d 08 mov ecx, dword ptr [ebp + 8]
9: 99 cdq
a: f7 7d 10 idiv dword ptr [ebp + 16]
d: 89 01 mov dword ptr [ecx], eax
f: 89 c8 mov eax, ecx
11: 89 51 04 mov dword ptr [ecx + 4], edx
14: 5d pop ebp
15: c2 04 00 ret 4
Disassembly of section .text.lldiv:
00000000 <lldiv>:
0: 55 push ebp
1: 89 e5 mov ebp, esp
3: 53 push ebx
4: 8d 45 f0 lea eax, [ebp - 16]
7: 83 ec 20 sub esp, 32
a: 8b 5d 08 mov ebx, dword ptr [ebp + 8]
d: 50 push eax
e: ff 75 18 push dword ptr [ebp + 24]
11: ff 75 14 push dword ptr [ebp + 20]
14: ff 75 10 push dword ptr [ebp + 16]