[*] Binary protection state of librt-0.9.33.so
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of librt-0.9.33.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/librt-0.9.33.so @ 0x1c70 */
| #include <stdint.h>
|
; (fcn) sym._Unwind_Resume () | void Unwind_Resume () {
0x00001c70 lui gp, 2 |
0x00001c74 addiu gp, gp, -0x6c70 |
0x00001c78 addu gp, gp, t9 | gp += t9;
0x00001c7c addiu sp, sp, -0x28 |
0x00001c80 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00001c84 sw s0, 0x20(sp) | *(var_20h) = s0;
0x00001c88 lw t8, -0x7fe8(gp) | t8 = *((gp - 8186));
0x00001c8c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001c90 lw v0, 0x3144(t8) | v0 = *((t8 + 3153));
0x00001c94 move s0, t8 | s0 = t8;
| if (v0 == 0) {
0x00001c98 bnez v0, 0x1cb4 |
0x00001c9c lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001ca0 addiu t9, t9, 0xcd0 | t9 += entry0;
0x00001ca4 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001ca8 jalr t9 | t9 ();
0x00001cac lw gp, 0x10(sp) | gp = *(var_10h);
0x00001cb0 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001cb4 lw t9, 0x3144(s0) | t9 = *((s0 + 3153));
0x00001cb8 lw ra, 0x24(sp) | ra = *(var_24h);
0x00001cbc lw s0, 0x20(sp) | s0 = *(var_20h);
0x00001cc0 addiu sp, sp, 0x28 |
0x00001cc4 jr t9 | t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/lib/librt-0.9.33.so @ 0x1cc8 */
| #include <stdint.h>
|
; (fcn) sym.__gcc_personality_v0 () | void gcc_personality_v0 () {
0x00001cc8 lui gp, 2 |
0x00001ccc addiu gp, gp, -0x6cc8 |
0x00001cd0 addu gp, gp, t9 | gp += t9;
0x00001cd4 addiu sp, sp, -0x38 |
0x00001cd8 sw ra, 0x34(sp) | *(var_34h) = ra;
0x00001cdc sw s2, 0x30(sp) | *(var_30h) = s2;
0x00001ce0 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00001ce4 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00001ce8 lw t8, -0x7fe8(gp) | t8 = *((gp - 8186));
0x00001cec sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001cf0 lw v0, 0x3140(t8) | v0 = *((t8 + 3152));
0x00001cf4 move s0, t8 | s0 = t8;
0x00001cf8 lw s2, 0x48(sp) | s2 = *(arg_48h);
0x00001cfc lw s1, 0x4c(sp) | s1 = *(arg_4ch);
| if (v0 == 0) {
0x00001d00 bnez v0, 0x1d34 |
0x00001d04 lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001d08 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001d0c sw a1, 0x1c(sp) | *(var_1ch) = a1;
0x00001d10 addiu t9, t9, 0xcd0 | t9 += entry0;
0x00001d14 sw a2, 0x20(sp) | *(var_20h) = a2;
0x00001d18 sw a3, 0x24(sp) | *(var_24h) = a3;
0x00001d1c jalr t9 | t9 ();
0x00001d20 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001d24 lw a3, 0x24(sp) | a3 = *(var_24h);
0x00001d28 lw a2, 0x20(sp) | a2 = *(var_20h);
0x00001d2c lw a1, 0x1c(sp) | a1 = *(var_1ch);
0x00001d30 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001d34 sw s2, 0x48(sp) | *(arg_48h) = s2;
0x00001d38 sw s1, 0x4c(sp) | *(arg_4ch) = s1;
0x00001d3c lw t9, 0x3140(s0) | t9 = *((s0 + 3152));
0x00001d40 lw ra, 0x34(sp) | ra = *(var_34h);
0x00001d44 lw s2, 0x30(sp) | s2 = *(var_30h);
0x00001d48 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00001d4c lw s0, 0x28(sp) | s0 = *(var_28h);
0x00001d50 addiu sp, sp, 0x38 |
0x00001d54 jr t9 | t9 ();
| }
[*] Function popen used 1 times librt-0.9.33.so