[*] Binary protection state of libblkid.so.1.1.0
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libblkid.so.1.1.0
825c: e1a01005 mov r1, r5
8260: e1a00006 mov r0, r6
8264: ebfff724 bl 5efc <strcmp@plt>
8268: e3500000 cmp r0, #0
826c: 0affffea beq 821c <blkid_get_dev@@BLKID_1.0+0x66c>
8270: e3a02003 mov r2, #3
8274: e1a0100a mov r1, sl
8278: e1a00006 mov r0, r6
827c: ebfff6ac bl 5d34 <strncmp@plt>
8280: e3500000 cmp r0, #0
8284: 1affffe4 bne 821c <blkid_get_dev@@BLKID_1.0+0x66c>
8288: e1a00006 mov r0, r6
828c: ebfff7a1 bl 6118 <strlen@plt>
8290: e35000f2 cmp r0, #242 ; 0xf2
8294: 8affffe0 bhi 821c <blkid_get_dev@@BLKID_1.0+0x66c>
8298: e59f10e0 ldr r1, [pc, #224] ; 8380 <blkid_get_dev@@BLKID_1.0+0x7d0>
829c: e1a02006 mov r2, r6
82a0: e28d6084 add r6, sp, #132 ; 0x84
82a4: e08f1001 add r1, pc, r1
82a8: e1a00006 mov r0, r6
82ac: ebfff72d bl 5f68 <sprintf@plt>
82b0: e1a00006 mov r0, r6
82b4: ebfff701 bl 5ec0 <opendir@plt>
--
84a0: ebfff695 bl 5efc <strcmp@plt>
84a4: e3500000 cmp r0, #0
84a8: 0afffff4 beq 8480 <blkid_get_dev@@BLKID_1.0+0x8d0>
84ac: e59f1a48 ldr r1, [pc, #2632] ; 8efc <blkid_get_dev@@BLKID_1.0+0x134c>
84b0: e1a00005 mov r0, r5
84b4: e08f1001 add r1, pc, r1
84b8: ebfff68f bl 5efc <strcmp@plt>
84bc: e3500000 cmp r0, #0
84c0: 0affffee beq 8480 <blkid_get_dev@@BLKID_1.0+0x8d0>
84c4: e1a00005 mov r0, r5
84c8: ebfff712 bl 6118 <strlen@plt>
84cc: e2800015 add r0, r0, #21
84d0: ebfff548 bl 59f8 <alloc@plt>
84d4: e2504000 subs r4, r0, #0
84d8: 0a000073 beq 86ac <blkid_get_dev@@BLKID_1.0+0xafc>
84dc: e59f2a1c ldr r2, [pc, #2588] ; 8f00 <blkid_get_dev@@BLKID_1.0+0x1350>
84e0: e59f1a1c ldr r1, [pc, #2588] ; 8f04 <blkid_get_dev@@BLKID_1.0+0x1354>
84e4: e1a03005 mov r3, r5
84e8: e08f2002 add r2, pc, r2
84ec: e08f1001 add r1, pc, r1
84f0: ebfff69c bl 5f68 <sprintf@plt>
84f4: e1a00004 mov r0, r4
84f8: ebfff670 bl 5ec0 <opendir@plt>
--
8758: e59d3014 ldr r3, [sp, #20]
875c: e1a04184 lsl r4, r4, #3
8760: e88d0009 stm sp, {r0, r3}
8764: e28d3050 add r3, sp, #80 ; 0x50
8768: e58d0008 str r0, [sp, #8]
876c: e1a01006 mov r1, r6
8770: e18320d4 ldrd r2, [r3, r4]
8774: e1a0000b mov r0, fp
8778: ebfffdef bl 7f3c <blkid_get_dev@@BLKID_1.0+0x38c>
877c: e59d001c ldr r0, [sp, #28]
8780: ebfff5c2 bl 5e90 <fclose@plt>
8784: e1a0000b mov r0, fp
8788: eb001ab2 bl f258 <blkid_get_devname@@BLKID_1.0+0x260>
878c: eaffff6d b 8548 <blkid_get_dev@@BLKID_1.0+0x998>
8790: e59f27a4 ldr r2, [pc, #1956] ; 8f3c <blkid_get_dev@@BLKID_1.0+0x138c>
8794: e59f17a4 ldr r1, [pc, #1956] ; 8f40 <blkid_get_dev@@BLKID_1.0+0x1390>
8798: e1a03005 mov r3, r5
879c: e58d6000 str r6, [sp]
87a0: e08f2002 add r2, pc, r2
87a4: e08f1001 add r1, pc, r1
87a8: ebfff5ee bl 5f68 <sprintf@plt>
87ac: e5983000 ldr r3, [r8]
87b0: e3130020 tst r3, #32
--
88b0: ea00000d b 88ec <blkid_get_dev@@BLKID_1.0+0xd3c>
88b4: e28d3050 add r3, sp, #80 ; 0x50
88b8: e59d2024 ldr r2, [sp, #36] ; 0x24
88bc: e1a01004 mov r1, r4
88c0: e1a0000a mov r0, sl
88c4: ebfff54a bl 5df4 <sscanf@plt>
88c8: e3500002 cmp r0, #2
88cc: 1affffd4 bne 8824 <blkid_get_dev@@BLKID_1.0+0xc74>
88d0: e59d1050 ldr r1, [sp, #80] ; 0x50
88d4: e59d0038 ldr r0, [sp, #56] ; 0x38
88d8: ebfff602 bl 60e8 <gnu_dev_makedev@plt>
88dc: e1a04000 mov r4, r0
88e0: e1a0a001 mov sl, r1
88e4: e59d001c ldr r0, [sp, #28]
88e8: ebfff568 bl 5e90 <fclose@plt>
88ec: e59f1678 ldr r1, [pc, #1656] ; 8f6c <blkid_get_dev@@BLKID_1.0+0x13bc>
88f0: e1a03006 mov r3, r6
88f4: e1a02005 mov r2, r5
88f8: e08f1001 add r1, pc, r1
88fc: e1a00007 mov r0, r7
8900: ebfff598 bl 5f68 <sprintf@plt>
8904: e5983000 ldr r3, [r8]
8908: e3130020 tst r3, #32
--
a04c: e3550000 cmp r5, #0
a050: 1affffe7 bne 9ff4 <blkid_encode_string@@BLKID_2.15+0x38>
a054: e1540008 cmp r4, r8
a058: 0affffe2 beq 9fe8 <blkid_encode_string@@BLKID_2.15+0x2c>
a05c: e7c75004 strb r5, [r7, r4]
a060: e1a00005 mov r0, r5
a064: eaffffe0 b 9fec <blkid_encode_string@@BLKID_2.15+0x30>
a068: e355005c cmp r5, #92 ; 0x5c
a06c: 0a000004 beq a084 <blkid_encode_string@@BLKID_2.15+0xc8>
a070: e3a01000 mov r1, #0
a074: e1a00005 mov r0, r5
a078: ebffff5d bl 9df4 <blkid_devno_to_wholedisk@@BLKID_2.17+0x360>
a07c: e3500000 cmp r0, #0
a080: 1a000008 bne a0a8 <blkid_encode_string@@BLKID_2.15+0xec>
a084: e0483004 sub r3, r8, r4
a088: e3530003 cmp r3, #3
a08c: 9affffd5 bls 9fe8 <blkid_encode_string@@BLKID_2.15+0x2c>
a090: e0870004 add r0, r7, r4
a094: e20520ff and r2, r5, #255 ; 0xff
a098: e1a0100b mov r1, fp
a09c: ebffefb1 bl 5f68 <sprintf@plt>
a0a0: e2844004 add r4, r4, #4
a0a4: eaffffe2 b a034 <blkid_encode_string@@BLKID_2.15+0x78>
--
f984: e59f32e4 ldr r3, [pc, #740] ; fc70 <blkid_get_devname@@BLKID_1.0+0xc78>
f988: e08f1001 add r1, pc, r1
f98c: e08f3003 add r3, pc, r3
f990: e1a02000 mov r2, r0
f994: e1a00004 mov r0, r4
f998: ebffd8ac bl 5c50 <fprintf@plt>
f99c: e59f02d0 ldr r0, [pc, #720] ; fc74 <blkid_get_devname@@BLKID_1.0+0xc7c>
f9a0: e1a01005 mov r1, r5
f9a4: e08f0000 add r0, pc, r0
f9a8: ebfffe07 bl f1cc <blkid_get_devname@@BLKID_1.0+0x1d4>
f9ac: eaffff07 b f5d0 <blkid_get_devname@@BLKID_1.0+0x5d8>
f9b0: e1a00005 mov r0, r5
f9b4: ebffd9d7 bl 6118 <strlen@plt>
f9b8: e2800005 add r0, r0, #5
f9bc: ebffd80d bl 59f8 <alloc@plt>
f9c0: e2504000 subs r4, r0, #0
f9c4: 0a000022 beq fa54 <blkid_get_devname@@BLKID_1.0+0xa5c>
f9c8: e59f12a8 ldr r1, [pc, #680] ; fc78 <blkid_get_devname@@BLKID_1.0+0xc80>
f9cc: e1a02005 mov r2, r5
f9d0: e08f1001 add r1, pc, r1
f9d4: ebffd963 bl 5f68 <sprintf@plt>
f9d8: e1a00004 mov r0, r4
f9dc: ebffd8da bl 5d4c <unlink@plt>
--
fb04: e1a02000 mov r2, r0
fb08: e1a00004 mov r0, r4
fb0c: ebffd84f bl 5c50 <fprintf@plt>
fb10: e59f0190 ldr r0, [pc, #400] ; fca8 <blkid_get_devname@@BLKID_1.0+0xcb0>
fb14: e1a01008 mov r1, r8
fb18: e08f0000 add r0, pc, r0
fb1c: eafffec5 b f638 <blkid_get_devname@@BLKID_1.0+0x640>
fb20: e59d3030 ldr r3, [sp, #48] ; 0x30
fb24: e2033a0f and r3, r3, #61440 ; 0xf000
fb28: e3530902 cmp r3, #32768 ; 0x8000
fb2c: 1afffe34 bne f404 <blkid_get_devname@@BLKID_1.0+0x40c>
fb30: e1a00005 mov r0, r5
fb34: ebffd977 bl 6118 <strlen@plt>
fb38: e2800008 add r0, r0, #8
fb3c: ebffd7ad bl 59f8 <alloc@plt>
fb40: e2508000 subs r8, r0, #0
fb44: 0afffe2e beq f404 <blkid_get_devname@@BLKID_1.0+0x40c>
fb48: e59f115c ldr r1, [pc, #348] ; fcac <blkid_get_devname@@BLKID_1.0+0xcb4>
fb4c: e1a02005 mov r2, r5
fb50: e08f1001 add r1, pc, r1
fb54: ebffd903 bl 5f68 <sprintf@plt>
fb58: e1a00008 mov r0, r8
fb5c: eb004d19 bl 22fc8 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x1ba4>
--
23f68: 15c47000 strbne r7, [r4]
23f6c: 12855001 addne r5, r5, #1
23f70: 12844001 addne r4, r4, #1
23f74: 1affffeb bne 23f28 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b04>
23f78: e357005c cmp r7, #92 ; 0x5c
23f7c: e20720ff and r2, r7, #255 ; 0xff
23f80: 1a000002 bne 23f90 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b6c>
23f84: e1d530d1 ldrsb r3, [r5, #1]
23f88: e3530078 cmp r3, #120 ; 0x78
23f8c: 0a000007 beq 23fb0 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b8c>
23f90: e59f1154 ldr r1, [pc, #340] ; 240ec <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2cc8>
23f94: e59d0004 ldr r0, [sp, #4]
23f98: e1a03082 lsl r3, r2, #1
23f9c: e7909001 ldr r9, [r0, r1]
23fa0: e5991000 ldr r1, [r9]
23fa4: e19130b3 ldrh r3, [r1, r3]
23fa8: e3130c02 tst r3, #512 ; 0x200
23fac: 0a000008 beq 23fd4 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2bb0>
23fb0: e1a00004 mov r0, r4
23fb4: e59d1008 ldr r1, [sp, #8]
23fb8: ebff87ea bl 5f68 <sprintf@plt>
23fbc: e5963000 ldr r3, [r6]
23fc0: e2844004 add r4, r4, #4
--
23fcc: e2855001 add r5, r5, #1
23fd0: eaffffd4 b 23f28 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b04>
23fd4: ebff8729 bl 5c80 <_stdlib_mb_cur_max@plt>
23fd8: e59d3000 ldr r3, [sp]
23fdc: e1a01005 mov r1, r5
23fe0: e1a02000 mov r2, r0
23fe4: e28d001c add r0, sp, #28
23fe8: ebff8670 bl 59b0 <brtowc@plt>
23fec: e2507000 subs r7, r0, #0
23ff0: 0affffd1 beq 23f3c <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b18>
23ff4: e3770002 cmn r7, #2
23ff8: 3a000016 bcc 24058 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2c34>
23ffc: e5d52000 ldrb r2, [r5]
24000: e5991000 ldr r1, [r9]
24004: e1a03082 lsl r3, r2, #1
24008: e19130b3 ldrh r3, [r1, r3]
2400c: e3130040 tst r3, #64 ; 0x40
24010: 1a000009 bne 2403c <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2c18>
24014: e1a00004 mov r0, r4
24018: e59d1010 ldr r1, [sp, #16]
2401c: ebff87d1 bl 5f68 <sprintf@plt>
24020: e5963000 ldr r3, [r6]
24024: e2844004 add r4, r4, #4
--
24038: eaffffba b 23f28 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2b04>
2403c: e5963000 ldr r3, [r6]
24040: e2844001 add r4, r4, #1
24044: e2833001 add r3, r3, #1
24048: e5863000 str r3, [r6]
2404c: e1d530d0 ldrsb r3, [r5]
24050: e5443001 strb r3, [r4, #-1]
24054: eafffff5 b 24030 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2c0c>
24058: e59d901c ldr r9, [sp, #28]
2405c: e1a00009 mov r0, r9
24060: ebff86cd bl 5b9c <iswprint@plt>
24064: e3500000 cmp r0, #0
24068: 1a000010 bne 240b0 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2c8c>
2406c: e1a09005 mov r9, r5
24070: e0873005 add r3, r7, r5
24074: e1a0a004 mov sl, r4
24078: e4d92001 ldrb r2, [r9], #1
2407c: e1a0000a mov r0, sl
24080: e59d100c ldr r1, [sp, #12]
24084: e58d3014 str r3, [sp, #20]
24088: ebff87b6 bl 5f68 <sprintf@plt>
2408c: e5962000 ldr r2, [r6]
24090: e59d3014 ldr r3, [sp, #20]
--
24194: e1a03008 mov r3, r8
24198: e1a01005 mov r1, r5
2419c: e1a02000 mov r2, r0
241a0: e59d0000 ldr r0, [sp]
241a4: ebff8601 bl 59b0 <brtowc@plt>
241a8: e250a000 subs sl, r0, #0
241ac: 0afffff2 beq 2417c <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2d58>
241b0: e37a0002 cmn sl, #2
241b4: e1d520d0 ldrsb r2, [r5]
241b8: 3a000018 bcc 24220 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2dfc>
241bc: e59f10c8 ldr r1, [pc, #200] ; 2428c <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2e68>
241c0: e20220ff and r2, r2, #255 ; 0xff
241c4: e7991001 ldr r1, [r9, r1]
241c8: e1a03082 lsl r3, r2, #1
241cc: e5911000 ldr r1, [r1]
241d0: e19130b3 ldrh r3, [r1, r3]
241d4: e3130040 tst r3, #64 ; 0x40
241d8: 1a000009 bne 24204 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2de0>
241dc: e1a00004 mov r0, r4
241e0: e1a0100b mov r1, fp
241e4: ebff875f bl 5f68 <sprintf@plt>
241e8: e5963000 ldr r3, [r6]
241ec: e2844004 add r4, r4, #4
241f0: e2833004 add r3, r3, #4
241f4: e5863000 str r3, [r6]
241f8: e3a0a001 mov sl, #1
241fc: e085500a add r5, r5, sl
24200: eaffffd8 b 24168 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2d44>
24204: e5963000 ldr r3, [r6]
24208: e2844001 add r4, r4, #1
2420c: e2833001 add r3, r3, #1
24210: e5863000 str r3, [r6]
24214: e1d530d0 ldrsb r3, [r5]
24218: e5443001 strb r3, [r4, #-1]
2421c: eafffff5 b 241f8 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2dd4>
24220: e352005c cmp r2, #92 ; 0x5c
24224: 1a00000a bne 24254 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2e30>
24228: e1d510d1 ldrsb r1, [r5, #1]
2422c: e3510078 cmp r1, #120 ; 0x78
24230: 1a000007 bne 24254 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x2e30>
24234: e1a00004 mov r0, r4
24238: e59d1004 ldr r1, [sp, #4]
2423c: ebff8749 bl 5f68 <sprintf@plt>
24240: e5962000 ldr r2, [r6]
24244: e2844004 add r4, r4, #4
--
27ce0: e1a00006 mov r0, r6
27ce4: e1a01007 mov r1, r7
27ce8: eb003b55 bl 36a44 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x15620>
27cec: e59d3028 ldr r3, [sp, #40] ; 0x28
27cf0: e3530000 cmp r3, #0
27cf4: e1a06002 mov r6, r2
27cf8: 1a000002 bne 27d08 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x68e4>
27cfc: e28d00b4 add r0, sp, #180 ; 0xb4
27d00: ebfff8cc bl 26038 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x4c14>
27d04: e58d0014 str r0, [sp, #20]
27d08: e1cd21d8 ldrd r2, [sp, #24]
27d0c: e59f13b0 ldr r1, [pc, #944] ; 280c4 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x6ca0>
27d10: e1cd20f0 strd r2, [sp]
27d14: e59f23ac ldr r2, [pc, #940] ; 280c8 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x6ca4>
27d18: e28d4048 add r4, sp, #72 ; 0x48
27d1c: e08f2002 add r2, pc, r2
27d20: e0822fa5 add r2, r2, r5, lsr #31
27d24: e08f1001 add r1, pc, r1
27d28: e58d6008 str r6, [sp, #8]
27d2c: e1a00004 mov r0, r4
27d30: ebff788c bl 5f68 <sprintf@plt>
27d34: e59f0390 ldr r0, [pc, #912] ; 280cc <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x6ca8>
27d38: e3a02001 mov r2, #1
--
2864c: e08f8008 add r8, pc, r8
28650: e5983004 ldr r3, [r8, #4]
28654: e3530000 cmp r3, #0
28658: 0a000024 beq 286f0 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x72cc>
2865c: e1a05001 mov r5, r1
28660: e1a07000 mov r7, r0
28664: ebff76ab bl 6118 <strlen@plt>
28668: e1a04000 mov r4, r0
2866c: e1a00005 mov r0, r5
28670: ebff76a8 bl 6118 <strlen@plt>
28674: e0844000 add r4, r4, r0
28678: e2844005 add r4, r4, #5
2867c: e3540b02 cmp r4, #2048 ; 0x800
28680: 8a00001a bhi 286f0 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x72cc>
28684: e59f1070 ldr r1, [pc, #112] ; 286fc <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x72d8>
28688: e1a0600d mov r6, sp
2868c: e08f1001 add r1, pc, r1
28690: e1a03005 mov r3, r5
28694: e1a02007 mov r2, r7
28698: e1a00006 mov r0, r6
2869c: ebff7631 bl 5f68 <sprintf@plt>
286a0: e1a00006 mov r0, r6
286a4: ebff769b bl 6118 <strlen@plt>
--
34070: e1a00004 mov r0, r4
34074: e5423001 strb r3, [r2, #-1]
34078: ebff4772 bl 5e48 <strdup@plt>
3407c: e1a04000 mov r4, r0
34080: e1a00008 mov r0, r8
34084: ebff4856 bl 61e4 <close@plt>
34088: e1a00004 mov r0, r4
3408c: e28dda01 add sp, sp, #4096 ; 0x1000
34090: e28dd014 add sp, sp, #20
34094: e8bd8ff0 pop {r4, r5, r6, r7, r8, r9, sl, fp, pc}
34098: 00007d61 andeq r7, r0, r1, ror #26
3409c: 0ee6b280 cdpeq 2, 14, cr11, cr6, cr0, {4}
340a0: e92d4030 push {r4, r5, lr}
340a4: e59f105c ldr r1, [pc, #92] ; 34108 <blkid_topology_get_physical_sector_size@@BLKID_2.17+0x12ce4>
340a8: e24dda01 sub sp, sp, #4096 ; 0x1000
340ac: e24dd004 sub sp, sp, #4
340b0: e1a0500d mov r5, sp
340b4: e1a02000 mov r2, r0
340b8: e08f1001 add r1, pc, r1
340bc: e1a00005 mov r0, r5
340c0: ebff47a8 bl 5f68 <sprintf@plt>
340c4: e3a00004 mov r0, #4
340c8: ebff464a bl 59f8 <alloc@plt>
[*] Function sprintf used 15 times libblkid.so.1.1.0