[*] Binary protection state of dosfsck
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of dosfsck
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/dosfsck @ 0x6680 */
| #include <stdint.h>
|
; (fcn) fcn.00006680 () | void fcn_00006680 () {
0x00006680 lui gp, 2 |
0x00006684 addiu gp, gp, -0x660 |
0x00006688 addu gp, gp, t9 | gp += t9;
0x0000668c addiu sp, sp, -0x28 |
0x00006690 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00006694 sw s0, 0x20(sp) | *(var_20h_2) = s0;
0x00006698 lw s0, -0x7e30(gp) | s0 = *((gp - 8076));
0x0000669c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000066a0 lw t9, -0x7ebc(gp) | t9 = sym.imp.__fprintf_chk
0x000066a4 move a3, a0 | a3 = a0;
0x000066a8 addiu v0, v0, -0x3eec | v0 += -0x3eec;
0x000066ac lw a0, (s0) | a0 = *(s0);
0x000066b0 sw ra, 0x24(sp) | *(var_24h_2) = ra;
0x000066b4 sw gp, 0x18(sp) | *(var_18h) = gp;
0x000066b8 addiu a2, a2, -0x3bdc | a2 += -0x3bdc;
0x000066bc sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000066c0 addiu a1, zero, 1 | a1 = 1;
0x000066c4 jalr t9 | t9 ();
0x000066c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000066cc lw a3, (s0) | a3 = *(s0);
0x000066d0 addiu a2, zero, 0x30 | a2 = 0x30;
0x000066d4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000066d8 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x000066dc addiu a1, zero, 1 | a1 = 1;
0x000066e0 addiu a0, a0, -0x3b94 | a0 += -0x3b94;
0x000066e4 jalr t9 | t9 ();
0x000066e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000066ec lw a3, (s0) | a3 = *(s0);
0x000066f0 addiu a2, zero, 0x2b | a2 = 0x2b;
0x000066f4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000066f8 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x000066fc addiu a1, zero, 1 | a1 = 1;
0x00006700 addiu a0, a0, -0x3b60 | a0 += -0x3b60;
0x00006704 jalr t9 | t9 ();
0x00006708 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000670c lw a3, (s0) | a3 = *(s0);
0x00006710 addiu a2, zero, 0x1a | a2 = 0x1a;
0x00006714 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006718 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000671c addiu a1, zero, 1 | a1 = 1;
0x00006720 addiu a0, a0, -0x3b34 | a0 += -0x3b34;
0x00006724 jalr t9 | t9 ();
0x00006728 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000672c lw a3, (s0) | a3 = *(s0);
0x00006730 addiu a2, zero, 0x2a | a2 = 0x2a;
0x00006734 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006738 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000673c addiu a1, zero, 1 | a1 = 1;
0x00006740 addiu a0, a0, -0x3b18 | a0 += -0x3b18;
0x00006744 jalr t9 | t9 ();
0x00006748 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000674c lw a3, (s0) | a3 = *(s0);
0x00006750 addiu a2, zero, 0x1b | a2 = 0x1b;
0x00006754 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006758 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000675c addiu a1, zero, 1 | a1 = 1;
0x00006760 addiu a0, a0, -0x3aec | a0 += -0x3aec;
0x00006764 jalr t9 | t9 ();
0x00006768 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000676c lw a3, (s0) | a3 = *(s0);
0x00006770 addiu a2, zero, 0x3b | a2 = 0x3b;
0x00006774 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006778 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000677c addiu a1, zero, 1 | a1 = 1;
0x00006780 addiu a0, a0, -0x3ad0 | a0 += -0x3ad0;
0x00006784 jalr t9 | t9 ();
0x00006788 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000678c lw a3, (s0) | a3 = *(s0);
0x00006790 addiu a2, zero, 0x30 | a2 = 0x30;
0x00006794 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006798 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000679c addiu a1, zero, 1 | a1 = 1;
0x000067a0 addiu a0, a0, -0x3a94 | a0 += -0x3a94;
0x000067a4 jalr t9 | t9 ();
0x000067a8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067ac lw a3, (s0) | a3 = *(s0);
0x000067b0 addiu a2, zero, 0x21 | a2 = 0x21;
0x000067b4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000067b8 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x000067bc addiu a1, zero, 1 | a1 = 1;
0x000067c0 addiu a0, a0, -0x3a60 | a0 += -0x3a60;
0x000067c4 jalr t9 | t9 ();
0x000067c8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067cc lw a3, (s0) | a3 = *(s0);
0x000067d0 addiu a2, zero, 0x35 | a2 = 0x35;
0x000067d4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000067d8 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x000067dc addiu a1, zero, 1 | a1 = 1;
0x000067e0 addiu a0, a0, -0x3a3c | a0 += -0x3a3c;
0x000067e4 jalr t9 | t9 ();
0x000067e8 lw gp, 0x18(sp) | gp = *(var_18h);
0x000067ec lw a3, (s0) | a3 = *(s0);
0x000067f0 addiu a2, zero, 0x18 | a2 = 0x18;
0x000067f4 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x000067f8 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x000067fc addiu a1, zero, 1 | a1 = 1;
0x00006800 addiu a0, a0, -0x3a04 | a0 += -0x3a04;
0x00006804 jalr t9 | t9 ();
0x00006808 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000680c lw a3, (s0) | a3 = *(s0);
0x00006810 addiu a2, zero, 0x27 | a2 = 0x27;
0x00006814 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006818 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000681c addiu a1, zero, 1 | a1 = 1;
0x00006820 addiu a0, a0, -0x39e8 | a0 += -0x39e8;
0x00006824 jalr t9 | t9 ();
0x00006828 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000682c lw a3, (s0) | a3 = *(s0);
0x00006830 addiu a2, zero, 0x2d | a2 = 0x2d;
0x00006834 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006838 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000683c addiu a1, zero, 1 | a1 = 1;
0x00006840 addiu a0, a0, -0x39c0 | a0 += -0x39c0;
0x00006844 jalr t9 | t9 ();
0x00006848 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000684c lw a3, (s0) | a3 = *(s0);
0x00006850 addiu a2, zero, 0x33 | a2 = 0x33;
0x00006854 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00006858 lw t9, -0x7e58(gp) | t9 = sym.imp.fwrite;
0x0000685c addiu a0, a0, -0x3990 | a0 += -0x3990;
0x00006860 addiu a1, zero, 1 | a1 = 1;
0x00006864 jalr t9 | t9 ();
0x00006868 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000686c lw t9, -0x7e78(gp) | t9 = sym.imp.exit;
0x00006870 addiu a0, zero, 2 | a0 = 2;
0x00006874 jalr t9 | t9 ();
0x00006878 nop |
0x0000687c nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/dosfsck @ 0x8e28 */
| #include <stdint.h>
|
; (fcn) sym.fs_close () | void fs_close () {
0x00008e28 lui gp, 2 |
0x00008e2c addiu gp, gp, -0x2e08 |
0x00008e30 addu gp, gp, t9 | gp += t9;
0x00008e34 addiu sp, sp, -0x58 |
0x00008e38 sw s2, 0x38(sp) | *(var_38h_3) = s2;
0x00008e3c lw s2, -0x7f78(gp) | s2 = *((gp - 8158));
0x00008e40 sw gp, 0x20(sp) | *(var_20h_3) = gp;
0x00008e44 sw s0, 0x30(sp) | *(var_30h_4) = s0;
0x00008e48 sw ra, 0x54(sp) | *(var_54h) = ra;
0x00008e4c sw fp, 0x50(sp) | *(var_50h) = fp;
0x00008e50 sw s7, 0x4c(sp) | *(var_4ch) = s7;
0x00008e54 sw s6, 0x48(sp) | *(var_48h) = s6;
0x00008e58 sw s5, 0x44(sp) | *(var_44h_2) = s5;
0x00008e5c sw s4, 0x40(sp) | *(var_40h_2) = s4;
0x00008e60 sw s3, 0x3c(sp) | *(var_3ch_3) = s3;
0x00008e64 sw s1, 0x34(sp) | *(var_34h_4) = s1;
0x00008e68 lw s0, 0x30c(s2) | s0 = *((s2 + 195));
| if (a0 != 0) {
0x00008e6c bnez a0, 0x8ef4 | goto label_4;
| }
0x00008e70 lw v0, -0x7f78(gp) | v0 = *((gp - 8158));
| if (s0 == 0) {
0x00008e74 beqz s0, 0x90a8 | goto label_5;
| }
| do {
0x00008e78 lw t9, -0x7e38(gp) | t9 = sym.imp.free;
0x00008e7c lw a0, (s0) | a0 = *(s0);
0x00008e80 lw s1, 0x14(s0) | s1 = *((s0 + 5));
0x00008e84 jalr t9 | t9 ();
0x00008e88 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008e8c move a0, s0 | a0 = s0;
0x00008e90 lw t9, -0x7e38(gp) | t9 = sym.imp.free;
0x00008e94 move s0, s1 | s0 = s1;
0x00008e98 jalr t9 | t9 ();
0x00008e9c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008ea0 sw s1, 0x30c(s2) | *((s2 + 195)) = s1;
0x00008ea4 bnez s1, 0x8e78 |
| } while (s1 != 0);
0x00008ea8 lw s4, -0x7f78(gp) | s4 = *((gp - 8158));
| do {
0x00008eac lw t9, -0x7ecc(gp) | t9 = sym.imp.close;
0x00008eb0 lw a0, 0x304(s4) | a0 = *((s4 + 193));
0x00008eb4 jalr t9 | t9 ();
0x00008eb8 lw gp, 0x20(sp) | gp = *(var_20h_3);
| if (v0 < 0) {
0x00008ebc bltz v0, 0x9094 | goto label_6;
| }
0x00008ec0 lw ra, 0x54(sp) | ra = *(var_54h);
0x00008ec4 lw fp, 0x50(sp) | fp = *(var_50h);
0x00008ec8 lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x00008ecc lw s6, 0x48(sp) | s6 = *(var_48h);
0x00008ed0 lw s5, 0x44(sp) | s5 = *(var_44h_2);
0x00008ed4 lw s4, 0x40(sp) | s4 = *(var_40h_2);
0x00008ed8 lw s3, 0x3c(sp) | s3 = *(var_3ch_3);
0x00008edc lw s2, 0x38(sp) | s2 = *(var_38h_3);
0x00008ee0 lw s1, 0x34(sp) | s1 = *(var_34h_4);
0x00008ee4 lw s0, 0x30(sp) | s0 = *(var_30h_4);
0x00008ee8 addiu v0, zero, 1 | v0 = 1;
0x00008eec addiu sp, sp, 0x58 |
0x00008ef0 jr ra | return v0;
| label_4:
0x00008ef4 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
| if (s0 == 0) {
0x00008ef8 beqz s0, 0x90a4 | goto label_7;
| }
0x00008efc lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00008f00 lw s4, -0x7f78(gp) | s4 = *((gp - 8158));
0x00008f04 lw s7, -0x7fdc(gp) | s7 = *((gp - 8183));
0x00008f08 addiu s5, s5, -0x3160 | s5 += -0x3160;
0x00008f0c addiu s6, s6, -0x3104 | s6 += -0x3104;
0x00008f10 b 0x8f8c | goto label_8;
| label_0:
0x00008f14 lw v0, -0x7e30(gp) | v0 = *((gp - 8076));
| label_1:
0x00008f18 lw t9, -0x7ea8(gp) | t9 = sym.imp.__errno_location;
0x00008f1c lw s3, (v0) | s3 = *(v0);
0x00008f20 jalr t9 | t9 ();
0x00008f24 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008f28 lw t9, -0x7e70(gp) | t9 = sym.imp.strerror;
0x00008f2c lw a0, (v0) | a0 = *(v0);
0x00008f30 jalr t9 | t9 ();
0x00008f34 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008f38 lw v1, 0x10(s0) | v1 = *((s0 + 4));
0x00008f3c sw v0, 0x18(sp) | *(var_18h_4) = v0;
0x00008f40 lw t9, -0x7ebc(gp) | t9 = sym.imp.__fprintf_chk
0x00008f44 sw v1, 0x1c(sp) | *(var_1ch) = v1;
0x00008f48 sw s1, 0x10(sp) | *(var_10h_5) = s1;
0x00008f4c sw fp, 0x14(sp) | *(var_14h_2) = fp;
0x00008f50 move a2, s5 | a2 = s5;
0x00008f54 addiu a1, zero, 1 | a1 = 1;
0x00008f58 move a0, s3 | a0 = s3;
0x00008f5c jalr t9 | t9 ();
0x00008f60 lw gp, 0x20(sp) | gp = *(var_20h_3);
| label_3:
0x00008f64 lw t9, -0x7e38(gp) | t9 = sym.imp.free;
| label_2:
0x00008f68 lw a0, (s0) | a0 = *(s0);
0x00008f6c jalr t9 | t9 ();
0x00008f70 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008f74 lw t9, -0x7e38(gp) | t9 = sym.imp.free;
0x00008f78 move a0, s0 | a0 = s0;
0x00008f7c jalr t9 | t9 ();
0x00008f80 lw s0, 0x30c(s2) | s0 = *((s2 + 195));
0x00008f84 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008f88 beqz s0, 0x8eac |
| } while (s0 == 0);
| label_8:
0x00008f8c lw v0, 0x14(s0) | v0 = *((s0 + 5));
0x00008f90 lw s3, 0x304(s4) | s3 = *((s4 + 193));
0x00008f94 lw t9, -0x7e64(gp) | t9 = sym.imp.lseek64;
0x00008f98 lw a2, 8(s0) | a2 = *((s0 + 2));
0x00008f9c lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x00008fa0 move a0, s3 | a0 = s3;
0x00008fa4 sw zero, 0x10(sp) | *(var_10h_5) = 0;
0x00008fa8 sw v0, 0x30c(s2) | *((s2 + 195)) = v0;
0x00008fac jalr t9 | t9 ();
0x00008fb0 lw s1, 8(s0) | s1 = *((s0 + 2));
0x00008fb4 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00008fb8 lw fp, 0xc(s0) | fp = *((s0 + 3));
| if (v0 != s1) {
0x00008fbc bne v0, s1, 0x8f14 | goto label_0;
| }
0x00008fc0 lw v0, -0x7e30(gp) | v0 = *((gp - 8076));
| if (v1 != fp) {
0x00008fc4 bne v1, fp, 0x8f18 | goto label_1;
| }
0x00008fc8 lw t9, -0x7e90(gp) | t9 = sym.imp.write;
0x00008fcc lw a2, 0x10(s0) | a2 = *((s0 + 4));
0x00008fd0 lw a1, (s0) | a1 = *(s0);
0x00008fd4 move a0, s3 | a0 = s3;
0x00008fd8 jalr t9 | t9 ();
0x00008fdc lw gp, 0x20(sp) | gp = *(var_20h_3);
| if (v0 < 0) {
0x00008fe0 bltz v0, 0x9028 | goto label_9;
| }
0x00008fe4 lw v1, 0x10(s0) | v1 = *((s0 + 4));
0x00008fe8 lw t9, -0x7e38(gp) | t9 = sym.imp.free;
| if (v0 == v1) {
0x00008fec beq v0, v1, 0x8f68 | goto label_2;
| }
0x00008ff0 lw a0, -0x7e30(gp) | a0 = *((gp - 8076));
0x00008ff4 lw a2, 8(s0) | a2 = *((s0 + 2));
0x00008ff8 lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x00008ffc lw a0, (a0) | a0 = *(a0);
0x00009000 lw t9, -0x7ebc(gp) | t9 = sym.imp.__fprintf_chk
0x00009004 sw a2, 0x18(sp) | *(var_18h_4) = a2;
0x00009008 sw a3, 0x1c(sp) | *(var_1ch) = a3;
0x0000900c sw v1, 0x10(sp) | *(var_10h_5) = v1;
0x00009010 move a3, v0 | a3 = v0;
0x00009014 move a2, s6 | a2 = s6;
0x00009018 addiu a1, zero, 1 | a1 = 1;
0x0000901c jalr t9 | t9 ();
0x00009020 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00009024 b 0x8f64 | goto label_3;
| label_9:
0x00009028 lw v0, -0x7e30(gp) | v0 = *((gp - 8076));
0x0000902c lw t9, -0x7ea8(gp) | t9 = sym.imp.__errno_location;
0x00009030 lw s3, 0x10(s0) | s3 = *((s0 + 4));
0x00009034 lw s1, (v0) | s1 = *(v0);
0x00009038 jalr t9 | t9 ();
0x0000903c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00009040 lw a2, 8(s0) | a2 = *((s0 + 2));
0x00009044 lw a3, 0xc(s0) | a3 = *((s0 + 3));
0x00009048 lw a0, (v0) | a0 = *(v0);
0x0000904c lw t9, -0x7e70(gp) | t9 = sym.imp.strerror;
0x00009050 sw a2, 0x28(sp) | *(var_28h_4) = a2;
0x00009054 sw a3, 0x2c(sp) | *(var_2ch_4) = a3;
0x00009058 jalr t9 | t9 ();
0x0000905c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00009060 lw a2, 0x28(sp) | a2 = *(var_28h_4);
0x00009064 lw a3, 0x2c(sp) | a3 = *(var_2ch_4);
0x00009068 lw t9, -0x7ebc(gp) | t9 = sym.imp.__fprintf_chk
0x0000906c sw a2, 0x10(sp) | *(var_10h_5) = a2;
0x00009070 sw a3, 0x14(sp) | *(var_14h_2) = a3;
0x00009074 sw v0, 0x18(sp) | *(var_18h_4) = v0;
0x00009078 move a3, s3 | a3 = s3;
0x0000907c addiu a2, s7, -0x312c | a2 = s7 + -0x312c;
0x00009080 addiu a1, zero, 1 | a1 = 1;
0x00009084 move a0, s1 | a0 = s1;
0x00009088 jalr t9 | t9 ();
0x0000908c lw gp, 0x20(sp) | gp = *(var_20h_3);
0x00009090 b 0x8f64 | goto label_3;
| do {
| label_6:
0x00009094 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00009098 lw t9, -0x7f08(gp) | t9 = sym.pdie;
0x0000909c addiu a0, a0, -0x30d4 | a0 += -0x30d4;
0x000090a0 bal 0x6320 | sym_pdie ();
| label_7:
0x000090a4 lw v0, -0x7f78(gp) | v0 = *((gp - 8158));
| label_5:
0x000090a8 lw t9, -0x7ecc(gp) | t9 = sym.imp.close;
0x000090ac lw a0, 0x304(v0) | a0 = *((v0 + 193));
0x000090b0 jalr t9 | t9 ();
0x000090b4 lw gp, 0x20(sp) | gp = *(var_20h_3);
0x000090b8 bltz v0, 0x9094 |
| } while (v0 < 0);
0x000090bc lw v0, -0x7f78(gp) | v0 = *((gp - 8158));
0x000090c0 lw ra, 0x54(sp) | ra = *(var_54h);
0x000090c4 lw fp, 0x50(sp) | fp = *(var_50h);
0x000090c8 lw v0, 0x300(v0) | v0 = *((v0 + 192));
0x000090cc lw s7, 0x4c(sp) | s7 = *(var_4ch);
0x000090d0 lw s6, 0x48(sp) | s6 = *(var_48h);
0x000090d4 lw s5, 0x44(sp) | s5 = *(var_44h_2);
0x000090d8 lw s4, 0x40(sp) | s4 = *(var_40h_2);
0x000090dc lw s3, 0x3c(sp) | s3 = *(var_3ch_3);
0x000090e0 lw s2, 0x38(sp) | s2 = *(var_38h_3);
0x000090e4 lw s1, 0x34(sp) | s1 = *(var_34h_4);
0x000090e8 lw s0, 0x30(sp) | s0 = *(var_30h_4);
0x000090ec sltu v0, zero, v0 | v0 = (0 < v0) ? 1 : 0;
0x000090f0 addiu sp, sp, 0x58 |
0x000090f4 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/dosfsck @ 0x6320 */
| #include <stdint.h>
|
; (fcn) sym.pdie () | void pdie () {
0x00006320 lui gp, 2 |
0x00006324 addiu gp, gp, -0x300 |
0x00006328 addu gp, gp, t9 | gp += t9;
0x0000632c addiu sp, sp, -0x28 |
0x00006330 lw v1, -0x7e40(gp) | v1 = *((gp - 8080));
0x00006334 sw s0, 0x20(sp) | *(var_20h_2) = s0;
0x00006338 lw s0, -0x7e30(gp) | s0 = *((gp - 8076));
0x0000633c sw a2, 0x30(sp) | *(var_30h) = a2;
0x00006340 lw v1, (v1) | v1 = *(v1);
0x00006344 move a2, a0 | a2 = a0;
0x00006348 lw t9, -0x7e20(gp) | t9 = sym.imp.__vfprintf_chk
0x0000634c lw a0, (s0) | a0 = *(s0);
0x00006350 addiu v0, sp, 0x2c | v0 = sp + 0x2c;
0x00006354 sw ra, 0x24(sp) | *(var_24h_2) = ra;
0x00006358 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x0000635c sw gp, 0x10(sp) | *(var_10h_2) = gp;
0x00006360 sw a1, 0x2c(sp) | *(var_2ch) = a1;
0x00006364 sw a3, 0x34(sp) | *(var_34h) = a3;
0x00006368 addiu a1, zero, 1 | a1 = 1;
0x0000636c sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00006370 move a3, v0 | a3 = v0;
0x00006374 jalr t9 | t9 ();
0x00006378 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x0000637c lw t9, -0x7ea8(gp) | t9 = sym.imp.__errno_location;
0x00006380 lw s0, (s0) | s0 = *(s0);
0x00006384 jalr t9 | t9 ();
0x00006388 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x0000638c lw t9, -0x7e70(gp) | t9 = sym.imp.strerror;
0x00006390 lw a0, (v0) | a0 = *(v0);
0x00006394 jalr t9 | t9 ();
0x00006398 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x0000639c move a0, s0 | a0 = s0;
0x000063a0 move a3, v0 | a3 = v0;
0x000063a4 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000063a8 lw t9, -0x7ebc(gp) | t9 = sym.imp.__fprintf_chk
0x000063ac addiu a2, a2, -0x3c00 | a2 += -0x3c00;
0x000063b0 addiu a1, zero, 1 | a1 = 1;
0x000063b4 jalr t9 | t9 ();
0x000063b8 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x000063bc lw t9, -0x7e78(gp) | t9 = sym.imp.exit;
0x000063c0 addiu a0, zero, 1 | a0 = 1;
0x000063c4 jalr t9 | return t9 ();
| }
[*] Function fprintf used 7 times dosfsck