[*] Binary protection state of libgcc_s.so.1
No RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of libgcc_s.so.1
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libgcc_s.so.1 @ 0xbe94 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x0000be94 lui gp, 3 |
0x0000be98 addiu gp, gp, 0x747c |
0x0000be9c addu gp, gp, t9 | gp += t9;
0x0000bea0 addiu sp, sp, -0x20 |
0x0000bea4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x0000bea8 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000beac sw gp, 0x10(sp) | *(var_10h) = gp;
0x0000beb0 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x0000beb4 lbu v0, -0x4a90(s0) | v0 = *((s0 - 19088));
0x0000beb8 lw v0, -0x7dd0(gp) | v0 = *((gp - 8052));
| if (v0 == 0) {
0x0000bebc bnez v0, 0xbef0 |
0x0000bec0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x0000bec4 beqz v0, 0xbed8 |
0x0000bec8 lw t9, -0x7dd0(gp) | t9 = *((gp - 8052));
0x0000becc lw a0, (v0) | a0 = *(v0);
0x0000bed0 jalr t9 | t9 ();
0x0000bed4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x0000bed8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000bedc addiu t9, t9, -0x41f0 | t9 += -0x41f0;
0x0000bee0 bal 0xbe10 | entry0 ();
0x0000bee4 nop |
0x0000bee8 addiu v0, zero, 1 | v0 = 1;
0x0000beec sb v0, -0x4a90(s0) | *((s0 - 19088)) = v0;
| }
0x0000bef0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x0000bef4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x0000bef8 addiu sp, sp, 0x20 |
0x0000befc jr ra | return v0;
| }
[*] Function popen used 1 times libgcc_s.so.1