[*] Binary protection state of libjansson.so.4.13.0
Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcat tear down of libjansson.so.4.13.0
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/libjansson.so.4.13.0 @ 0x2b74 */
| #include <stdint.h>
|
; (fcn) fcn.00002b74 () | void fcn_00002b74 (int16_t arg1, int16_t arg2) {
| r0 = arg1;
| r1 = arg2;
0x00002b74 invalid |
0x00002b78 bl 0x2760 | fcn_00002760 (r0, r1);
0x00002b7c movs r1, 8 | r1 = 8;
0x00002b7e add.w r2, r4, 0xc | r2 = r4 + 0xc;
0x00002b80 lsls r4, r1, 8 | r4 = r1 << 8;
0x00002b82 ldrd r3, r0, [r4, 4] | __asm ("ldrd r3, r0, [r4, 4]");
0x00002b86 lsls r1, r0 | r1 <<= r0;
0x00002b88 add r1, r3 | r1 += r3;
| do {
0x00002b8a str r2, [r3, 4] | *((r3 + 4)) = r2;
0x00002b8c str r2, [r3], 8 | *(r3) = r2;
| r3 += 8;
0x00002b90 cmp r1, r3 |
0x00002b92 bne 0x2b8a |
| } while (r1 != r3);
0x00002b94 add.w r3, r4, 0x14 | r3 = r4 + 0x14;
0x00002b98 movs r1, 0 | r1 = 0;
0x00002b9a strd r2, r2, [r4, 0xc] | __asm ("strd r2, r2, [r4, 0xc]");
0x00002b9e strd r3, r3, [r4, 0x14] | __asm ("strd r3, r3, [r4, 0x14]");
0x00002ba2 str r1, [r4] | *(r4) = r1;
0x00002ba4 pop {r4, pc} |
| }
[*] Function strcat used 1 times libjansson.so.4.13.0