objdump
来自「webserve1.0」· 代码 · 共 1,623 行 · 第 1/5 页
TXT
1,623 行
00008444 <swap_arp>:
8444: e1a0c00d mov ip, sp
8448: e92dd810 stmdb sp!, {r4, fp, ip, lr, pc}
844c: e24cb004 sub fp, ip, #4 ; 0x4
8450: e24dd008 sub sp, sp, #8 ; 0x8
8454: e50b0014 str r0, [fp, -#20]
8458: e51b0014 ldr r0, [fp, -#20]
845c: eb000c63 bl b5f0 <getframe_datap>
8460: e50b0018 str r0, [fp, -#24]
8464: e51b4018 ldr r4, [fp, -#24]
8468: e51b3018 ldr r3, [fp, -#24]
846c: e1d330b0 ldrh r3, [r3]
8470: e1a00003 mov r0, r3
8474: eb0010ff bl c878 <swapw>
8478: e1c400b0 strh r0, [r4]
847c: e51b4018 ldr r4, [fp, -#24]
8480: e51b3018 ldr r3, [fp, -#24]
8484: e1d330b2 ldrh r3, [r3, #2]
8488: e1a00003 mov r0, r3
848c: eb0010f9 bl c878 <swapw>
8490: e1c400b2 strh r0, [r4, #2]
8494: e51b4018 ldr r4, [fp, -#24]
8498: e51b3018 ldr r3, [fp, -#24]
849c: e1d330b6 ldrh r3, [r3, #6]
84a0: e1a00003 mov r0, r3
84a4: eb0010f3 bl c878 <swapw>
84a8: e1c400b6 strh r0, [r4, #6]
84ac: e51b4018 ldr r4, [fp, -#24]
84b0: e51b3018 ldr r3, [fp, -#24]
84b4: e5930010 ldr r0, [r3, #16]
84b8: eb0010ff bl c8bc <swapl>
84bc: e5840010 str r0, [r4, #16]
84c0: e51b4018 ldr r4, [fp, -#24]
84c4: e51b3018 ldr r3, [fp, -#24]
84c8: e593001c ldr r0, [r3, #28]
84cc: eb0010fa bl c8bc <swapl>
84d0: e584001c str r0, [r4, #28]
84d4: e91ba810 ldmdb fp, {r4, fp, sp, pc}
000084d8 <is_ip>:
84d8: e1a0c00d mov ip, sp
84dc: e92dd800 stmdb sp!, {fp, ip, lr, pc}
84e0: e24cb004 sub fp, ip, #4 ; 0x4
84e4: e24dd01c sub sp, sp, #28 ; 0x1c
84e8: e50b0010 str r0, [fp, -#16]
84ec: e50b1014 str r1, [fp, -#20]
84f0: e3a03000 mov r3, #0 ; 0x0
84f4: e50b301c str r3, [fp, -#28]
84f8: e51b0010 ldr r0, [fp, -#16]
84fc: eb000ca9 bl b7a8 <getframe_pcol>
8500: e1a03000 mov r3, r0
8504: e14b32b2 strh r3, [fp, -#34]
8508: e15b32b2 ldrh r3, [fp, -#34]
850c: e3530b02 cmp r3, #2048 ; 0x800
8510: 0a000002 beq 8520 <is_ip+0x48>
8514: e15b32b2 ldrh r3, [fp, -#34]
8518: e3530000 cmp r3, #0 ; 0x0
851c: 1a000054 bne 8674 <is_ip+0x19c>
8520: e51b3014 ldr r3, [fp, -#20]
8524: e3530013 cmp r3, #19 ; 0x13
8528: 9a000051 bls 8674 <is_ip+0x19c>
852c: e51b0010 ldr r0, [fp, -#16]
8530: eb000c2e bl b5f0 <getframe_datap>
8534: e50b0028 str r0, [fp, -#40]
8538: e51b3028 ldr r3, [fp, -#40]
853c: e5d33000 ldrb r3, [r3]
8540: e1a03223 mov r3, r3, lsr #4
8544: e20330ff and r3, r3, #255 ; 0xff
8548: e50b3018 str r3, [fp, -#24]
854c: e51b3028 ldr r3, [fp, -#40]
8550: e5d33000 ldrb r3, [r3]
8554: e203300f and r3, r3, #15 ; 0xf
8558: e20330ff and r3, r3, #255 ; 0xff
855c: e1a03103 mov r3, r3, lsl #2
8560: e50b3020 str r3, [fp, -#32]
8564: e15b32b0 ldrh r3, [fp, -#32]
8568: e51b0028 ldr r0, [fp, -#40]
856c: e1a01003 mov r1, r3
8570: eb00103c bl c668 <csum>
8574: e1a03000 mov r3, r0
8578: e1e03003 mvn r3, r3
857c: e14b32b4 strh r3, [fp, -#36]
8580: e51b3018 ldr r3, [fp, -#24]
8584: e3530004 cmp r3, #4 ; 0x4
8588: 1a000030 bne 8650 <is_ip+0x178>
858c: e51b2014 ldr r2, [fp, -#20]
8590: e51b3020 ldr r3, [fp, -#32]
8594: e1520003 cmp r2, r3
8598: ba00002c blt 8650 <is_ip+0x178>
859c: e15b32b4 ldrh r3, [fp, -#36]
85a0: e3530000 cmp r3, #0 ; 0x0
85a4: 1a000029 bne 8650 <is_ip+0x178>
85a8: e51b0010 ldr r0, [fp, -#16]
85ac: eb0000e3 bl 8940 <swap_ip>
85b0: e51b3028 ldr r3, [fp, -#40]
85b4: e1d330b2 ldrh r3, [r3, #2]
85b8: e1a00003 mov r0, r3
85bc: e51b1014 ldr r1, [fp, -#20]
85c0: eb001094 bl c818 <mini>
85c4: e1a02000 mov r2, r0
85c8: e51b3020 ldr r3, [fp, -#32]
85cc: e0633002 rsb r3, r3, r2
85d0: e50b301c str r3, [fp, -#28]
85d4: e51b3020 ldr r3, [fp, -#32]
85d8: e3530014 cmp r3, #20 ; 0x14
85dc: 9a00000d bls 8618 <is_ip+0x140>
85e0: e51b3028 ldr r3, [fp, -#40]
85e4: e2831014 add r1, r3, #20 ; 0x14
85e8: e51b2028 ldr r2, [fp, -#40]
85ec: e51b3020 ldr r3, [fp, -#32]
85f0: e0823003 add r3, r2, r3
85f4: e1a00001 mov r0, r1
85f8: e1a01003 mov r1, r3
85fc: e51b2014 ldr r2, [fp, -#20]
8600: eb0018ae bl e8c0 <memmove>
8604: e51b201c ldr r2, [fp, -#28]
8608: e51b3020 ldr r3, [fp, -#32]
860c: e0633002 rsb r3, r3, r2
8610: e2833014 add r3, r3, #20 ; 0x14
8614: e50b301c str r3, [fp, -#28]
8618: e51b3028 ldr r3, [fp, -#40]
861c: e1d330b6 ldrh r3, [r3, #6]
8620: e1a03903 mov r3, r3, lsl #18
8624: e1a03923 mov r3, r3, lsr #18
8628: e1a03803 mov r3, r3, lsl #16
862c: e1a03823 mov r3, r3, lsr #16
8630: e3530000 cmp r3, #0 ; 0x0
8634: 0a00000e beq 8674 <is_ip+0x19c>
8638: e51b0028 ldr r0, [fp, -#40]
863c: e51b101c ldr r1, [fp, -#28]
8640: eb0000f3 bl 8a14 <defrag_ip>
8644: e1a03000 mov r3, r0
8648: e50b301c str r3, [fp, -#28]
864c: ea000008 b 8674 <is_ip+0x19c>
8650: e59f3024 ldr r3, [pc, #24] ; 867c <is_ip+0x1a4>
8654: e5933000 ldr r3, [r3]
8658: e3530000 cmp r3, #0 ; 0x0
865c: 0a000004 beq 8674 <is_ip+0x19c>
8660: e15b32b4 ldrh r3, [fp, -#36]
8664: e59f0014 ldr r0, [pc, #14] ; 8680 <is_ip+0x1a8>
8668: e51b1018 ldr r1, [fp, -#24]
866c: e51b2014 ldr r2, [fp, -#20]
8670: eb0018d3 bl e9c4 <printf>
8674: e51b001c ldr r0, [fp, -#28]
8678: e91ba800 ldmdb fp, {fp, sp, pc}
867c: 00058908 andeq r8, r5, r8, lsl #18
8680: 00017138 andeq r7, r1, r8, lsr r1
00008684 <make_ip>:
8684: e1a0c00d mov ip, sp
8688: e92dd810 stmdb sp!, {r4, fp, ip, lr, pc}
868c: e24cb004 sub fp, ip, #4 ; 0x4
8690: e24dd034 sub sp, sp, #52 ; 0x34
8694: e50b0014 str r0, [fp, -#20]
8698: e50b1018 str r1, [fp, -#24]
869c: e50b201c str r2, [fp, -#28]
86a0: e54b301d strb r3, [fp, -#29]
86a4: e1db30b4 ldrh r3, [fp, #4]
86a8: e14b32b0 strh r3, [fp, -#32]
86ac: e3a03000 mov r3, #0 ; 0x0
86b0: e50b3030 str r3, [fp, -#48]
86b4: e51b0014 ldr r0, [fp, -#20]
86b8: eb000bcc bl b5f0 <getframe_datap>
86bc: e50b0024 str r0, [fp, -#36]
86c0: e59f3270 ldr r3, [pc, #270] ; 8938 <make_ip+0x2b4>
86c4: e1d320b0 ldrh r2, [r3]
86c8: e51b3024 ldr r3, [fp, -#36]
86cc: e1c320b4 strh r2, [r3, #4]
86d0: e59f3264 ldr r3, [pc, #264] ; 893c <make_ip+0x2b8>
86d4: e1d330b0 ldrh r3, [r3]
86d8: e1a021a3 mov r2, r3, lsr #3
86dc: e51b3024 ldr r3, [fp, -#36]
86e0: e1c320b6 strh r2, [r3, #6]
86e4: e3a02000 mov r2, #0 ; 0x0
86e8: e51b3014 ldr r3, [fp, -#20]
86ec: e1c320b4 strh r2, [r3, #4]
86f0: e51b0014 ldr r0, [fp, -#20]
86f4: eb000b88 bl b51c <getframe_mtu>
86f8: e1a03000 mov r3, r0
86fc: e1a03803 mov r3, r3, lsl #16
8700: e1a03823 mov r3, r3, lsr #16
8704: e2433014 sub r3, r3, #20 ; 0x14
8708: e3c33007 bic r3, r3, #7 ; 0x7
870c: e1a03803 mov r3, r3, lsl #16
8710: e1a03823 mov r3, r3, lsr #16
8714: e50b3038 str r3, [fp, -#56]
8718: e15b32b0 ldrh r3, [fp, -#32]
871c: e1a00003 mov r0, r3
8720: e51b1038 ldr r1, [fp, -#56]
8724: eb00103b bl c818 <mini>
8728: e1a03000 mov r3, r0
872c: e50b302c str r3, [fp, -#44]
8730: e15b22b0 ldrh r2, [fp, -#32]
8734: e51b302c ldr r3, [fp, -#44]
8738: e1520003 cmp r2, r3
873c: da000042 ble 884c <make_ip+0x1c8>
8740: e51b3014 ldr r3, [fp, -#20]
8744: e1d330b2 ldrh r3, [r3, #2]
8748: e1a00003 mov r0, r3
874c: eb000b94 bl b5a4 <dtype_hdrlen>
8750: e1a03000 mov r3, r0
8754: e1a03803 mov r3, r3, lsl #16
8758: e1a03823 mov r3, r3, lsr #16
875c: e50b3034 str r3, [fp, -#52]
8760: e15b22bc ldrh r2, [fp, -#44]
8764: e15b33b4 ldrh r3, [fp, -#52]
8768: e0823003 add r3, r2, r3
876c: e2832014 add r2, r3, #20 ; 0x14
8770: e51b3014 ldr r3, [fp, -#20]
8774: e1c320b4 strh r2, [r3, #4]
8778: e51b3014 ldr r3, [fp, -#20]
877c: e1d320b4 ldrh r2, [r3, #4]
8780: e51b3014 ldr r3, [fp, -#20]
8784: e0823003 add r3, r2, r3
8788: e2833008 add r3, r3, #8 ; 0x8
878c: e50b303c str r3, [fp, -#60]
8790: e59f31a4 ldr r3, [pc, #1a4] ; 893c <make_ip+0x2b8>
8794: e1d330b0 ldrh r3, [r3]
8798: e1a031a3 mov r3, r3, lsr #3
879c: e2832a02 add r2, r3, #8192 ; 0x2000
87a0: e51b3024 ldr r3, [fp, -#36]
87a4: e1c320b6 strh r2, [r3, #6]
87a8: e59f318c ldr r3, [pc, #18c] ; 893c <make_ip+0x2b8>
87ac: e1d320b0 ldrh r2, [r3]
87b0: e15b32bc ldrh r3, [fp, -#44]
87b4: e0822003 add r2, r2, r3
87b8: e59f317c ldr r3, [pc, #17c] ; 893c <make_ip+0x2b8>
87bc: e1c320b0 strh r2, [r3]
87c0: e51b203c ldr r2, [fp, -#60]
87c4: e51b3034 ldr r3, [fp, -#52]
87c8: e0823003 add r3, r2, r3
87cc: e2833008 add r3, r3, #8 ; 0x8
87d0: e50b3028 str r3, [fp, -#40]
87d4: e51b3028 ldr r3, [fp, -#40]
87d8: e2830014 add r0, r3, #20 ; 0x14
87dc: e59f3158 ldr r3, [pc, #158] ; 893c <make_ip+0x2b8>
87e0: e1d320b0 ldrh r2, [r3]
87e4: e51b3024 ldr r3, [fp, -#36]
87e8: e0823003 add r3, r2, r3
87ec: e2831014 add r1, r3, #20 ; 0x14
87f0: e15b22b0 ldrh r2, [fp, -#32]
87f4: e51b302c ldr r3, [fp, -#44]
87f8: e0633002 rsb r3, r3, r2
87fc: e1a02003 mov r2, r3
8800: eb00182e bl e8c0 <memmove>
8804: e51b3014 ldr r3, [fp, -#20]
8808: e1d320b2 ldrh r2, [r3, #2]
880c: e51b303c ldr r3, [fp, -#60]
8810: e1c320b2 strh r2, [r3, #2]
8814: e55bc01d ldrb ip, [fp, -#29]
8818: e15b22b0 ldrh r2, [fp, -#32]
881c: e15b32bc ldrh r3, [fp, -#44]
8820: e0633002 rsb r3, r3, r2
8824: e1a03803 mov r3, r3, lsl #16
8828: e1a03823 mov r3, r3, lsr #16
882c: e58d3000 str r3, [sp]
8830: e51b003c ldr r0, [fp, -#60]
8834: e51b1018 ldr r1, [fp, -#24]
8838: e51b201c ldr r2, [fp, -#28]
883c: e1a0300c mov r3, ip
8840: ebffff8f bl 8684 <make_ip>
8844: e1a03000 mov r3, r0
8848: e50b3030 str r3, [fp, -#48]
884c: e3a02045 mov r2, #69 ; 0x45
8850: e51b3024 ldr r3, [fp, -#36]
8854: e5c32000 strb r2, [r3]
8858: e3a02000 mov r2, #0 ; 0x0
885c: e51b3024 ldr r3, [fp, -#36]
8860: e5c32001 strb r2, [r3, #1]
8864: e3a02064 mov r2, #100 ; 0x64
8868: e51b3024 ldr r3, [fp, -#36]
886c: e5c32008 strb r2, [r3, #8]
8870: e55b201d ldrb r2, [fp, -#29]
8874: e51b3024 ldr r3, [fp, -#36]
8878: e5c32009 strb r2, [r3, #9]
887c: e51b3018 ldr r3, [fp, -#24]
8880: e5932008 ldr r2, [r3, #8]
8884: e51b3024 ldr r3, [fp, -#36]
8888: e583200c str r2, [r3, #12]
888c: e51b301c ldr r3, [fp, -#28]
8890: e5932008 ldr r2, [r3, #8]
8894: e51b3024 ldr r3, [fp, -#36]
8898: e5832010 str r2, [r3, #16]
889c: e15b32bc ldrh r3, [fp, -#44]
88a0: e2832014 add r2, r3, #20 ; 0x14
88a4: e51b3024 ldr r3, [fp, -#36]
88a8: e1c320b2 strh r2, [r3, #2]
88ac: e51b0014 ldr r0, [fp, -#20]
88b0: eb000022 bl 8940 <swap_ip>
88b4: e3a02000 mov r2, #0 ; 0x0
88b8: e51b3024 ldr r3, [fp, -#36]
88bc: e1c320ba strh r2, [r3, #10]
88c0: e51b4024 ldr r4, [fp, -#36]
88c4: e51b0024 ldr r0, [fp, -#36]
88c8: e3a01014 mov r1, #20 ; 0x14
88cc: eb000f65 bl c668 <csum>
88d0: e1a03000 mov r3, r0
88d4: e1e03003 mvn r3, r3
88d8: e1c430ba strh r3, [r4, #10]
88dc: e59f3054 ldr r3, [pc, #54] ; 8938 <make_ip+0x2b4>
88e0: e1d330b0 ldrh r3, [r3]
88e4: e2832001 add r2, r3, #1 ; 0x1
88e8: e59f3048 ldr r3, [pc, #48] ; 8938 <make_ip+0x2b4>
88ec: e1c320b0 strh r2, [r3]
88f0: e3a02000 mov r2, #0 ; 0x0
88f4: e59f3040 ldr r3, [pc, #40] ; 893c <make_ip+0x2b8>
88f8: e1c320b0 strh r2, [r3]
88fc: e51b202c ldr r2, [fp, -#44]
8900: e51b3030 ldr r3, [fp, -#48]
8904: e0823003 add r3, r2, r3
8908: e2833014 add r3, r3, #20 ; 0x14
890c: e50b302c str r3, [fp, -#44]
8910: e51b301c ldr r3, [fp, -#28]
8914: e2833002 add r3, r3, #2 ; 0x2
8918: e15bc2bc ldrh ip, [fp, -#44]
891c: e51b0014 ldr r0, [fp, -#20]
8920: e1a01003 mov r1, r3
8924: e3a02b02 mov r2, #2048 ; 0x800
8928: e1a0300c mov r3, ip
892c: eb000bec bl b8e4 <make_frame>
8930: e1a03000 mov r3, r0
8934: e91ba810 ldmdb fp, {r4, fp, sp, pc}
8938: 00017c04 andeq r7, r1, r4, lsl #24
893c: 00017c06 andeq r7, r1, r6, lsl #24
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?