[*] Binary protection state of librt-0.9.33.2.so
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcat tear down of librt-0.9.33.2.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/lib/librt-0.9.33.2.so @ 0x1bf0 */
| #include <stdint.h>
|
; (fcn) sym._Unwind_Resume () | void Unwind_Resume () {
0x00001bf0 lui gp, 2 |
0x00001bf4 addiu gp, gp, -0x7370 |
0x00001bf8 addu gp, gp, t9 | gp += t9;
0x00001bfc lw v0, -0x7fe8(gp) | v0 = *((gp - 8186));
0x00001c00 addiu sp, sp, -0x28 |
0x00001c04 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001c08 lw v1, 0x29c0(v0) | v1 = *((v0 + 2672));
0x00001c0c sw s0, 0x20(sp) | *(var_20h) = s0;
0x00001c10 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00001c14 move s0, v0 | s0 = v0;
| if (v1 == 0) {
0x00001c18 bnez v1, 0x1c34 |
0x00001c1c lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001c20 addiu t9, t9, 0xce0 | t9 += entry0;
0x00001c24 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001c28 bal 0xce0 | entry0 ();
0x00001c2c lw gp, 0x10(sp) | gp = *(var_10h);
0x00001c30 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001c34 lw ra, 0x24(sp) | ra = *(var_24h);
0x00001c38 lw t9, 0x29c0(s0) | t9 = *((s0 + 2672));
0x00001c3c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00001c40 addiu sp, sp, 0x28 |
0x00001c44 jr t9 | t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/2097216-5451840.squashfs_v4_le_extract/lib/librt-0.9.33.2.so @ 0x1c48 */
| #include <stdint.h>
|
; (fcn) sym.__gcc_personality_v0 () | void gcc_personality_v0 () {
0x00001c48 lui gp, 2 |
0x00001c4c addiu gp, gp, -0x73c8 |
0x00001c50 addu gp, gp, t9 | gp += t9;
0x00001c54 lw v0, -0x7fe8(gp) | v0 = *((gp - 8186));
0x00001c58 addiu sp, sp, -0x38 |
0x00001c5c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001c60 lw v1, 0x29c4(v0) | v1 = *((v0 + 2673));
0x00001c64 sw s2, 0x30(sp) | *(var_30h) = s2;
0x00001c68 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00001c6c sw s0, 0x28(sp) | *(var_28h) = s0;
0x00001c70 sw ra, 0x34(sp) | *(var_34h) = ra;
0x00001c74 lw s2, 0x48(sp) | s2 = *(arg_48h);
0x00001c78 lw s1, 0x4c(sp) | s1 = *(arg_4ch);
0x00001c7c move s0, v0 | s0 = v0;
| if (v1 == 0) {
0x00001c80 bnez v1, 0x1cb4 |
0x00001c84 lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001c88 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001c8c sw a1, 0x1c(sp) | *(var_1ch) = a1;
0x00001c90 sw a2, 0x20(sp) | *(var_20h) = a2;
0x00001c94 addiu t9, t9, 0xce0 | t9 += entry0;
0x00001c98 sw a3, 0x24(sp) | *(var_24h) = a3;
0x00001c9c bal 0xce0 | entry0 ();
0x00001ca0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001ca4 lw a3, 0x24(sp) | a3 = *(var_24h);
0x00001ca8 lw a2, 0x20(sp) | a2 = *(var_20h);
0x00001cac lw a1, 0x1c(sp) | a1 = *(var_1ch);
0x00001cb0 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001cb4 sw s2, 0x48(sp) | *(arg_48h) = s2;
0x00001cb8 sw s1, 0x4c(sp) | *(arg_4ch) = s1;
0x00001cbc lw ra, 0x34(sp) | ra = *(var_34h);
0x00001cc0 lw s2, 0x30(sp) | s2 = *(var_30h);
0x00001cc4 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00001cc8 lw t9, 0x29c4(s0) | t9 = *((s0 + 2673));
0x00001ccc lw s0, 0x28(sp) | s0 = *(var_28h);
0x00001cd0 addiu sp, sp, 0x38 |
0x00001cd4 jr t9 | t9 ();
| }
[*] Function strcat used 1 times librt-0.9.33.2.so