[*] 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 fprintf tear down of librt-0.9.33.2.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/11108416-13869836.lzma_extract/lzma.uncompressed_extract/3761304-11775640.cpio_portable_ascii_extract/lib/librt-0.9.33.2.so @ 0x1c00 */
| #include <stdint.h>
|
; (fcn) sym._Unwind_Resume () | void Unwind_Resume () {
0x00001c00 lui gp, 2 |
0x00001c04 addiu gp, gp, -0x7370 |
0x00001c08 addu gp, gp, t9 | gp += t9;
0x00001c0c lw v0, -0x7fe8(gp) | v0 = *((gp - 8186));
0x00001c10 addiu sp, sp, -0x28 |
0x00001c14 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001c18 lw v1, 0x29d0(v0) | v1 = *((v0 + 2676));
0x00001c1c sw s0, 0x20(sp) | *(var_20h) = s0;
0x00001c20 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00001c24 move s0, v0 | s0 = v0;
| if (v1 == 0) {
0x00001c28 bnez v1, 0x1c44 |
0x00001c2c lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001c30 addiu t9, t9, 0xcf0 | t9 += entry0;
0x00001c34 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001c38 bal 0xcf0 | entry0 ();
0x00001c3c lw gp, 0x10(sp) | gp = *(var_10h);
0x00001c40 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001c44 lw ra, 0x24(sp) | ra = *(var_24h);
0x00001c48 lw t9, 0x29d0(s0) | t9 = *((s0 + 2676));
0x00001c4c lw s0, 0x20(sp) | s0 = *(var_20h);
0x00001c50 addiu sp, sp, 0x28 |
0x00001c54 jr t9 | t9 ();
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/11108416-13869836.lzma_extract/lzma.uncompressed_extract/3761304-11775640.cpio_portable_ascii_extract/lib/librt-0.9.33.2.so @ 0x1c58 */
| #include <stdint.h>
|
; (fcn) sym.__gcc_personality_v0 () | void gcc_personality_v0 () {
0x00001c58 lui gp, 2 |
0x00001c5c addiu gp, gp, -0x73c8 |
0x00001c60 addu gp, gp, t9 | gp += t9;
0x00001c64 lw v0, -0x7fe8(gp) | v0 = *((gp - 8186));
0x00001c68 addiu sp, sp, -0x38 |
0x00001c6c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001c70 lw v1, 0x29d4(v0) | v1 = *((v0 + 2677));
0x00001c74 sw s2, 0x30(sp) | *(var_30h) = s2;
0x00001c78 sw s1, 0x2c(sp) | *(var_2ch) = s1;
0x00001c7c sw s0, 0x28(sp) | *(var_28h) = s0;
0x00001c80 sw ra, 0x34(sp) | *(var_34h) = ra;
0x00001c84 lw s2, 0x48(sp) | s2 = *(arg_48h);
0x00001c88 lw s1, 0x4c(sp) | s1 = *(arg_4ch);
0x00001c8c move s0, v0 | s0 = v0;
| if (v1 == 0) {
0x00001c90 bnez v1, 0x1cc4 |
0x00001c94 lw t9, -0x7fe4(gp) | t9 = *((gp - 8185));
0x00001c98 sw a0, 0x18(sp) | *(var_18h) = a0;
0x00001c9c sw a1, 0x1c(sp) | *(var_1ch) = a1;
0x00001ca0 sw a2, 0x20(sp) | *(var_20h) = a2;
0x00001ca4 addiu t9, t9, 0xcf0 | t9 += entry0;
0x00001ca8 sw a3, 0x24(sp) | *(var_24h) = a3;
0x00001cac bal 0xcf0 | entry0 ();
0x00001cb0 lw gp, 0x10(sp) | gp = *(var_10h);
0x00001cb4 lw a3, 0x24(sp) | a3 = *(var_24h);
0x00001cb8 lw a2, 0x20(sp) | a2 = *(var_20h);
0x00001cbc lw a1, 0x1c(sp) | a1 = *(var_1ch);
0x00001cc0 lw a0, 0x18(sp) | a0 = *(var_18h);
| }
0x00001cc4 sw s2, 0x48(sp) | *(arg_48h) = s2;
0x00001cc8 sw s1, 0x4c(sp) | *(arg_4ch) = s1;
0x00001ccc lw ra, 0x34(sp) | ra = *(var_34h);
0x00001cd0 lw s2, 0x30(sp) | s2 = *(var_30h);
0x00001cd4 lw s1, 0x2c(sp) | s1 = *(var_2ch);
0x00001cd8 lw t9, 0x29d4(s0) | t9 = *((s0 + 2677));
0x00001cdc lw s0, 0x28(sp) | s0 = *(var_28h);
0x00001ce0 addiu sp, sp, 0x38 |
0x00001ce4 jr t9 | t9 ();
| }
[*] Function fprintf used 1 times librt-0.9.33.2.so