[*] Binary protection state of libmosquitto.so.2.0.13
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function system tear down of libmosquitto.so.2.0.13
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libmosquitto.so.2.0.13 @ 0x8cc0 */
| #include <stdint.h>
|
; (fcn) fcn.00008cc0 () | void fcn_00008cc0 (uint32_t arg1, int16_t arg3) {
| r0 = arg1;
| r2 = arg3;
0x00008cc0 cmnlt r8, r8, lsr r5 | __asm ("cmnlt r8, r8, lsr r5");
0x00008cc4 ldr r3, [r0, 0x18] | r3 = *((r0 + 0x18));
0x00008cc6 mov r4, r0 | r4 = r0;
0x00008cc8 mov r5, r2 | r5 = r2;
0x00008cca ldr r0, [r0, 0x10] | r0 = *((r0 + 0x10));
0x00008ccc add.w ip, r3, r2 |
0x00008cd0 cmp ip, r0 |
| if (ip <= r0) {
0x00008cd2 bhi 0x8cf8 |
0x00008cd4 ldr r0, [r4] | r0 = *(r4);
0x00008cd6 add r0, r3 | r0 += r3;
0x00008cd8 blx 0x3c90 | fcn_00003c90 ();
0x00008cdc ldr r3, [r4, 0x18] | r3 = *((r4 + 0x18));
0x00008cde add r3, r5 | r3 += r5;
0x00008ce0 str r3, [r4, 0x18] | *((r4 + 0x18)) = r3;
0x00008ce2 pop {r3, r4, r5, pc} |
0x00008ce4 ldr r3, [pc, 0x24] |
0x00008ce6 movs r2, 0x55 | r2 = 0x55;
0x00008ce8 ldr r1, [pc, 0x24] |
0x00008cea ldr r0, [pc, 0x28] |
0x00008cec add r3, pc | r3 = 0x119fc;
0x00008cee add r1, pc | r1 = 0x11a02;
0x00008cf0 adds r3, 0x3c | r3 += 0x3c;
0x00008cf2 add r0, pc | r0 = 0x11a0c;
0x00008cf4 blx 0x3a8c | fcn_00003a8c ();
| }
0x00008cf8 ldr r3, [pc, 0x1c] |
0x00008cfa movs r2, 0x56 | r2 = 0x56;
0x00008cfc ldr r1, [pc, 0x1c] |
0x00008cfe ldr r0, [pc, 0x20] |
0x00008d00 add r3, pc | r3 = 0x11a1c;
0x00008d02 add r1, pc | r1 = 0x11a22;
0x00008d04 adds r3, 0x3c | r3 += 0x3c;
0x00008d06 add r0, pc | r0 = 0x11a2c;
0x00008d08 blx 0x3a8c | fcn_00003a8c ();
0x00008d0c ldr r5, [pc, 0x280] | r5 = *(0x8f90);
0x00008d0e movs r0, r0 |
0x00008d10 ldr r4, [pc, 0x3d8] | r4 = *(0x90ec);
0x00008d12 movs r0, r0 |
0x00008d14 ldr r5, [pc, 0xf8] | r5 = *(0x8e10);
0x00008d16 movs r0, r0 |
0x00008d18 ldr r5, [pc, 0x230] | r5 = *(0x8f4c);
0x00008d1a movs r0, r0 |
0x00008d1c ldr r4, [pc, 0x388] | r4 = *(0x90a8);
0x00008d1e movs r0, r0 |
0x00008d20 ldr r5, [pc, 0x168] | r5 = *(0x8e8c);
0x00008d22 movs r0, r0 |
| }
[*] Function system used 1 times libmosquitto.so.2.0.13