[*] Binary protection state of libtyco_services.so.1.0.0
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH Symbols
[*] Function printf tear down of libtyco_services.so.1.0.0
93c: 00000050 .word 0x00000050
940: 00011744 .word 0x00011744
944: 00001368 .word 0x00001368
00000948 <_ZL14write_mtd_partPcPhj>:
948: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
94c: e1a0a001 mov sl, r1
950: e24dd044 sub sp, sp, #68 ; 0x44
954: e3a01002 mov r1, #2
958: e1a05000 mov r5, r0
95c: e1a04002 mov r4, r2
960: ebffff85 bl 77c <open64@plt>
964: e3700001 cmn r0, #1
968: 1a000009 bne 994 <_ZL14write_mtd_partPcPhj+0x4c>
96c: ebffff61 bl 6f8 <__errno_location@plt>
970: e1a02005 mov r2, r5
974: e3a05000 mov r5, #0
978: e5901000 ldr r1, [r0]
97c: e59f01b4 ldr r0, [pc, #436] ; b38 <_ZL14write_mtd_partPcPhj+0x1f0>
980: e08f0000 add r0, pc, r0
984: ebffff82 bl 794 <printf@plt>
988: e1a00005 mov r0, r5
98c: e28dd044 add sp, sp, #68 ; 0x44
--
9d0: e1530002 cmp r3, r2
9d4: 3a000014 bcc a2c <_ZL14write_mtd_partPcPhj+0xe4>
9d8: e59fb16c ldr fp, [pc, #364] ; b4c <_ZL14write_mtd_partPcPhj+0x204>
9dc: e28d3010 add r3, sp, #16
9e0: e08fb00b add fp, pc, fp
9e4: e58d300c str r3, [sp, #12]
9e8: e59d3028 ldr r3, [sp, #40] ; 0x28
9ec: e1530005 cmp r3, r5
9f0: da000047 ble b14 <_ZL14write_mtd_partPcPhj+0x1cc>
9f4: e1a08005 mov r8, r5
9f8: e1a09fc5 asr r9, r5, #31
9fc: e59d200c ldr r2, [sp, #12]
a00: e59f113c ldr r1, [pc, #316] ; b44 <_ZL14write_mtd_partPcPhj+0x1fc>
a04: e1a00006 mov r0, r6
a08: e1cd81f0 strd r8, [sp, #16]
a0c: ebffff45 bl 728 <ioctl@plt>
a10: e3500000 cmp r0, #0
a14: 0a000024 beq aac <_ZL14write_mtd_partPcPhj+0x164>
a18: e1a01005 mov r1, r5
a1c: e1a0000b mov r0, fp
a20: ebffff5b bl 794 <printf@plt>
a24: e0855007 add r5, r5, r7
a28: eaffffee b 9e8 <_ZL14write_mtd_partPcPhj+0xa0>
a2c: e28d2010 add r2, sp, #16
a30: e1a01008 mov r1, r8
a34: e1a00006 mov r0, r6
a38: e58d5014 str r5, [sp, #20]
a3c: e58d3010 str r3, [sp, #16]
a40: ebffff38 bl 728 <ioctl@plt>
a44: e2505000 subs r5, r0, #0
a48: 1a00000f bne a8c <_ZL14write_mtd_partPcPhj+0x144>
a4c: e28d2018 add r2, sp, #24
a50: e1a0100b mov r1, fp
a54: e1a00006 mov r0, r6
a58: ebffff32 bl 728 <ioctl@plt>
a5c: e2502000 subs r2, r0, #0
a60: 0a00000d beq a9c <_ZL14write_mtd_partPcPhj+0x154>
a64: e58d200c str r2, [sp, #12]
a68: ebffff22 bl 6f8 <__errno_location@plt>
a6c: e59d200c ldr r2, [sp, #12]
a70: e5901000 ldr r1, [r0]
a74: e59f00d4 ldr r0, [pc, #212] ; b50 <_ZL14write_mtd_partPcPhj+0x208>
a78: e08f0000 add r0, pc, r0
a7c: ebffff44 bl 794 <printf@plt>
a80: e1a00006 mov r0, r6
a84: ebffff33 bl 758 <close@plt>
a88: eaffffbe b 988 <_ZL14write_mtd_partPcPhj+0x40>
a8c: e1a02005 mov r2, r5
a90: e59d1018 ldr r1, [sp, #24]
a94: e1a00009 mov r0, r9
a98: ebffff3d bl 794 <printf@plt>
a9c: e1cd21d8 ldrd r2, [sp, #24]
aa0: e0833002 add r3, r3, r2
--
ac0: e1540007 cmp r4, r7
ac4: b1a08004 movlt r8, r4
ac8: a1a08007 movge r8, r7
acc: e1a02008 mov r2, r8
ad0: e1a0100a mov r1, sl
ad4: e1a00006 mov r0, r6
ad8: ebffff1b bl 74c <write@plt>
adc: e1580000 cmp r8, r0
ae0: e1a09000 mov r9, r0
ae4: 1a000004 bne afc <_ZL14write_mtd_partPcPhj+0x1b4>
ae8: e0544008 subs r4, r4, r8
aec: e08aa008 add sl, sl, r8
af0: 1affffcb bne a24 <_ZL14write_mtd_partPcPhj+0xdc>
af4: e3a05001 mov r5, #1
af8: eaffffe0 b a80 <_ZL14write_mtd_partPcPhj+0x138>
afc: ebfffefd bl 6f8 <__errno_location@plt>
b00: e1a02009 mov r2, r9
b04: e5901000 ldr r1, [r0]
b08: e59f0044 ldr r0, [pc, #68] ; b54 <_ZL14write_mtd_partPcPhj+0x20c>
b0c: e08f0000 add r0, pc, r0
b10: ebffff1f bl 794 <printf@plt>
b14: e59f003c ldr r0, [pc, #60] ; b58 <_ZL14write_mtd_partPcPhj+0x210>
b18: e1a01004 mov r1, r4
b1c: e08f0000 add r0, pc, r0
b20: ebffff1b bl 794 <printf@plt>
b24: e59f0030 ldr r0, [pc, #48] ; b5c <_ZL14write_mtd_partPcPhj+0x214>
b28: e3a05000 mov r5, #0
--
b7c: e5843000 str r3, [r4]
b80: e8bd8010 pop {r4, pc}
b84: 000114f4 .word 0x000114f4
00000b88 <_ZL13read_mtd_partPcPhj>:
b88: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr}
b8c: e1a0b001 mov fp, r1
b90: e24dd03c sub sp, sp, #60 ; 0x3c
b94: e3a01002 mov r1, #2
b98: e1a05000 mov r5, r0
b9c: e1a04002 mov r4, r2
ba0: ebfffef5 bl 77c <open64@plt>
ba4: e3700001 cmn r0, #1
ba8: 1a000009 bne bd4 <_ZL13read_mtd_partPcPhj+0x4c>
bac: ebfffed1 bl 6f8 <__errno_location@plt>
bb0: e1a02005 mov r2, r5
bb4: e3a05000 mov r5, #0
bb8: e5901000 ldr r1, [r0]
bbc: e59f00f8 ldr r0, [pc, #248] ; cbc <_ZL13read_mtd_partPcPhj+0x134>
bc0: e08f0000 add r0, pc, r0
bc4: ebfffef2 bl 794 <printf@plt>
bc8: e1a00005 mov r0, r5
bcc: e28dd03c add sp, sp, #60 ; 0x3c
--
bec: e28d3010 add r3, sp, #16
bf0: e58d3008 str r3, [sp, #8]
bf4: e59f30c8 ldr r3, [pc, #200] ; cc4 <_ZL13read_mtd_partPcPhj+0x13c>
bf8: e59da024 ldr sl, [sp, #36] ; 0x24
bfc: e08f3003 add r3, pc, r3
c00: e58d300c str r3, [sp, #12]
c04: e59d3020 ldr r3, [sp, #32]
c08: e1530007 cmp r3, r7
c0c: da000028 ble cb4 <_ZL13read_mtd_partPcPhj+0x12c>
c10: e1a08007 mov r8, r7
c14: e1a09fc7 asr r9, r7, #31
c18: e59d2008 ldr r2, [sp, #8]
c1c: e59f10a4 ldr r1, [pc, #164] ; cc8 <_ZL13read_mtd_partPcPhj+0x140>
c20: e1a00006 mov r0, r6
c24: e1cd81f0 strd r8, [sp, #16]
c28: ebfffebe bl 728 <ioctl@plt>
c2c: e2505000 subs r5, r0, #0
c30: 0a000004 beq c48 <_ZL13read_mtd_partPcPhj+0xc0>
c34: e1a01007 mov r1, r7
c38: e59d000c ldr r0, [sp, #12]
c3c: ebfffed4 bl 794 <printf@plt>
c40: e087700a add r7, r7, sl
c44: eaffffee b c04 <_ZL13read_mtd_partPcPhj+0x7c>
--
c54: e1a00006 mov r0, r6
c58: ebfffeb8 bl 740 <lseek64@plt>
c5c: e154000a cmp r4, sl
c60: b1a08004 movlt r8, r4
c64: a1a0800a movge r8, sl
c68: e1a02008 mov r2, r8
c6c: e1a0100b mov r1, fp
c70: e1a00006 mov r0, r6
c74: ebfffeae bl 734 <read@plt>
c78: e1580000 cmp r8, r0
c7c: 1a000004 bne c94 <_ZL13read_mtd_partPcPhj+0x10c>
c80: e0544008 subs r4, r4, r8
c84: e08bb008 add fp, fp, r8
c88: 1affffec bne c40 <_ZL13read_mtd_partPcPhj+0xb8>
c8c: e3a05001 mov r5, #1
c90: ea000004 b ca8 <_ZL13read_mtd_partPcPhj+0x120>
c94: ebfffe97 bl 6f8 <__errno_location@plt>
c98: e5901000 ldr r1, [r0]
c9c: e59f0028 ldr r0, [pc, #40] ; ccc <_ZL13read_mtd_partPcPhj+0x144>
ca0: e08f0000 add r0, pc, r0
ca4: ebfffeba bl 794 <printf@plt>
ca8: e1a00006 mov r0, r6
cac: ebfffea9 bl 758 <close@plt>
--
00000cd0 <_ZL7my_mmapjj>:
cd0: e92d4030 push {r4, r5, lr}
cd4: e1a05000 mov r5, r0
cd8: e59f0070 ldr r0, [pc, #112] ; d50 <_ZL7my_mmapjj+0x80>
cdc: e3a02000 mov r2, #0
ce0: e24dd014 sub sp, sp, #20
ce4: e1a04001 mov r4, r1
ce8: e08f0000 add r0, pc, r0
cec: e3a01002 mov r1, #2
cf0: ebfffea1 bl 77c <open64@plt>
cf4: e59f2058 ldr r2, [pc, #88] ; d54 <_ZL7my_mmapjj+0x84>
cf8: e08f2002 add r2, pc, r2
cfc: e3500000 cmp r0, #0
d00: e5820000 str r0, [r2]
d04: aa000007 bge d28 <_ZL7my_mmapjj+0x58>
d08: ebfffe7a bl 6f8 <__errno_location@plt>
d0c: e5901000 ldr r1, [r0]
d10: e59f0040 ldr r0, [pc, #64] ; d58 <_ZL7my_mmapjj+0x88>
d14: e08f0000 add r0, pc, r0
d18: ebfffe9d bl 794 <printf@plt>
d1c: e3a00000 mov r0, #0
d20: e28dd014 add sp, sp, #20
--
ec0: 03a05000 moveq r5, #0
ec4: e3550000 cmp r5, #0
ec8: 0a000006 beq ee8 <_Z15KernelIoControljPvjS_jPj+0xa0>
ecc: e5963000 ldr r3, [r6]
ed0: e3530002 cmp r3, #2
ed4: 0a0001ea beq 1684 <_Z15KernelIoControljPvjS_jPj+0x83c>
ed8: e3530003 cmp r3, #3
edc: 0a0001ec beq 1694 <_Z15KernelIoControljPvjS_jPj+0x84c>
ee0: e3530001 cmp r3, #1
ee4: 1a000005 bne f00 <_Z15KernelIoControljPvjS_jPj+0xb8>
ee8: e59f07b8 ldr r0, [pc, #1976] ; 16a8 <_Z15KernelIoControljPvjS_jPj+0x860>
eec: e08f0000 add r0, pc, r0
ef0: ebfffe2a bl 7a0 <puts@plt>
ef4: e59f07b0 ldr r0, [pc, #1968] ; 16ac <_Z15KernelIoControljPvjS_jPj+0x864>
ef8: e08f0000 add r0, pc, r0
efc: ebfffe00 bl 704 <system@plt>
f00: e59f17a8 ldr r1, [pc, #1960] ; 16b0 <_Z15KernelIoControljPvjS_jPj+0x868>
f04: e59f07a8 ldr r0, [pc, #1960] ; 16b4 <_Z15KernelIoControljPvjS_jPj+0x86c>
f08: e08f1001 add r1, pc, r1
f0c: e08f0000 add r0, pc, r0
f10: ebfffe1f bl 794 <printf@plt>
f14: ea000006 b f34 <_Z15KernelIoControljPvjS_jPj+0xec>
f18: e59f3798 ldr r3, [pc, #1944] ; 16b8 <_Z15KernelIoControljPvjS_jPj+0x870>
--
105c: ea0000fb b 1450 <_Z15KernelIoControljPvjS_jPj+0x608>
1060: e59f3680 ldr r3, [pc, #1664] ; 16e8 <_Z15KernelIoControljPvjS_jPj+0x8a0>
1064: e1500003 cmp r0, r3
1068: 0a00016f beq 162c <_Z15KernelIoControljPvjS_jPj+0x7e4>
106c: 8a000010 bhi 10b4 <_Z15KernelIoControljPvjS_jPj+0x26c>
1070: e2433004 sub r3, r3, #4
1074: e1500003 cmp r0, r3
1078: 1affffad bne f34 <_Z15KernelIoControljPvjS_jPj+0xec>
107c: e2584004 subs r4, r8, #4
1080: 13a04001 movne r4, #1
1084: e3570000 cmp r7, #0
1088: 03a04001 moveq r4, #1
108c: e3540000 cmp r4, #0
1090: 1a00001c bne 1108 <_Z15KernelIoControljPvjS_jPj+0x2c0>
1094: e59f0650 ldr r0, [pc, #1616] ; 16ec <_Z15KernelIoControljPvjS_jPj+0x8a4>
1098: e08f0000 add r0, pc, r0
109c: ebfffdbf bl 7a0 <puts@plt>
10a0: e59f0648 ldr r0, [pc, #1608] ; 16f0 <_Z15KernelIoControljPvjS_jPj+0x8a8>
10a4: e1a01004 mov r1, r4
10a8: e08f0000 add r0, pc, r0
10ac: ebfffdb8 bl 794 <printf@plt>
10b0: ea0000b1 b 137c <_Z15KernelIoControljPvjS_jPj+0x534>
10b4: e59f3638 ldr r3, [pc, #1592] ; 16f4 <_Z15KernelIoControljPvjS_jPj+0x8ac>
--
1124: e5913000 ldr r3, [r1]
1128: e59f25c8 ldr r2, [pc, #1480] ; 16f8 <_Z15KernelIoControljPvjS_jPj+0x8b0>
112c: e1530002 cmp r3, r2
1130: 0a000061 beq 12bc <_Z15KernelIoControljPvjS_jPj+0x474>
1134: 8a000023 bhi 11c8 <_Z15KernelIoControljPvjS_jPj+0x380>
1138: e28223be add r2, r2, #-134217726 ; 0xf8000002
113c: e28228fe add r2, r2, #16646144 ; 0xfe0000
1140: e2822cff add r2, r2, #65280 ; 0xff00
1144: e1530002 cmp r3, r2
1148: 0a000043 beq 125c <_Z15KernelIoControljPvjS_jPj+0x414>
114c: e28228f5 add r2, r2, #16056320 ; 0xf50000
1150: e2822cf9 add r2, r2, #63744 ; 0xf900
1154: e28220f9 add r2, r2, #249 ; 0xf9
1158: e1530002 cmp r3, r2
115c: 1affffe9 bne 1108 <_Z15KernelIoControljPvjS_jPj+0x2c0>
1160: e5951008 ldr r1, [r5, #8]
1164: e3510615 cmp r1, #22020096 ; 0x1500000
1168: 8affffe6 bhi 1108 <_Z15KernelIoControljPvjS_jPj+0x2c0>
116c: e59f0588 ldr r0, [pc, #1416] ; 16fc <_Z15KernelIoControljPvjS_jPj+0x8b4>
1170: e08f0000 add r0, pc, r0
1174: ebfffd86 bl 794 <printf@plt>
1178: e5952018 ldr r2, [r5, #24]
117c: e3520000 cmp r2, #0
[*] Function printf used 13 times libtyco_services.so.1.0.0