[*] Binary protection state of debugfs
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of debugfs
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/debugfs @ 0x133b4 */
| #include <stdint.h>
|
; (fcn) fcn.000133b4 () | void fcn_000133b4 () {
0x000133b4 lui gp, 4 |
0x000133b8 addiu gp, gp, -0x5274 |
0x000133bc addu gp, gp, t9 | gp += t9;
0x000133c0 lw v0, -0x7aa4(gp) | v0 = *((gp - 7849));
0x000133c4 addiu sp, sp, -0xb0 |
0x000133c8 sw s7, 0xa4(sp) | *(var_a4h) = s7;
0x000133cc sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x000133d0 move s7, a0 | s7 = a0;
0x000133d4 lw a0, (v0) | a0 = *(v0);
0x000133d8 lw v0, -0x7f30(gp) | v0 = *((gp - 8140));
0x000133dc sw gp, 0x18(sp) | *(var_18h) = gp;
| /* esilref: 'inodes_count' */
0x000133e0 addiu v0, v0, 0x575c | v0 += 0x575c;
0x000133e4 sw ra, 0xac(sp) | *(var_ach) = ra;
0x000133e8 sw fp, 0xa8(sp) | *(var_a8h) = fp;
0x000133ec sw s6, 0xa0(sp) | *(var_a0h) = s6;
0x000133f0 sw s5, 0x9c(sp) | *(var_9ch) = s5;
0x000133f4 sw s4, 0x98(sp) | *(var_98h) = s4;
0x000133f8 sw s3, 0x94(sp) | *(var_94h) = s3;
0x000133fc sw s2, 0x90(sp) | *(var_90h) = s2;
0x00013400 sw s1, 0x8c(sp) | *(var_8ch) = s1;
0x00013404 sw s0, 0x88(sp) | *(var_88h) = s0;
0x00013408 sw a0, 0x84(sp) | *(var_84h) = a0;
0x0001340c lw v0, -0x7f30(gp) | v0 = *((gp - 8140));
| if (s7 == v0) {
0x00013410 beq s7, v0, 0x1368c | goto label_5;
| }
| /* esilref: 'mode' */
0x00013414 addiu v0, v0, 0x53c0 | v0 += 0x53c0;
0x00013418 lw v0, -0x7f30(gp) | v0 = *((gp - 8140));
| if (s7 == v0) {
0x0001341c beq s7, v0, 0x135dc | goto label_6;
| }
| /* esilref: 'clear' */
0x00013420 addiu v0, v0, 0x5040 | v0 += 0x5040;
0x00013424 lw s2, -0x7fdc(gp) | s2 = *(gp);
| if (s7 == v0) {
0x00013428 beq s7, v0, 0x136b4 | goto label_7;
| }
0x0001342c lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00013430 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.set_block_group */
0x00013434 addiu s2, s2, -0x1fb4 | s2 += -0x1fb4;
| /* str.Block_group_descriptor */
0x00013438 addiu s0, s0, 0x520 | s0 += 0x520;
| label_1:
0x0001343c lw t9, -0x7f8c(gp) | t9 = sym.open_pager;
0x00013440 bal 0xe418 | sym_open_pager ();
0x00013444 nop |
0x00013448 lw gp, 0x18(sp) | gp = *(var_18h);
0x0001344c addiu a1, zero, 1 | a1 = 1;
0x00013450 sw s2, 0x10(sp) | *(var_10h) = s2;
0x00013454 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00013458 lw t9, -0x7d90(gp) | t9 = sym.imp.__fprintf_chk;
0x0001345c move a3, s0 | a3 = s0;
| /* str._s_fields_supported_by_the__s_command:_n */
0x00013460 addiu a2, a2, 0x5c4 | a2 += 0x5c4;
0x00013464 move a0, v0 | a0 = v0;
0x00013468 move s1, v0 | s1 = v0;
0x0001346c jalr t9 | t9 ();
0x00013470 lw a1, (s7) | a1 = *(s7);
0x00013474 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a1 == 0) {
0x00013478 beqz a1, 0x13618 | goto label_8;
| }
0x0001347c lw v0, -0x7fdc(gp) | v0 = *(gp);
0x00013480 lw s6, -0x7fdc(gp) | s6 = *(gp);
0x00013484 sw v0, 0x24(sp) | *(var_24h_3) = v0;
0x00013488 lw v0, -0x7fdc(gp) | v0 = *(gp);
0x0001348c lw s2, -0x7fa8(gp) | s2 = *(gp);
0x00013490 lw s4, -0x7fa8(gp) | s4 = *(gp);
0x00013494 lw s5, -0x7fa8(gp) | s5 = *(gp);
0x00013498 sw v0, 0x28(sp) | *(var_28h_2) = v0;
| /* str.string */
0x0001349c addiu v0, s6, 0x560 | v0 = s6 + 0x560;
0x000134a0 lw s3, -0x7fdc(gp) | s3 = *(gp);
0x000134a4 addiu s2, s2, 0x2740 | s2 += 0x2740;
0x000134a8 addiu fp, sp, 0x34 | fp = sp + 0x34;
0x000134ac sw v0, 0x20(sp) | *(var_20h_3) = v0;
0x000134b0 addiu s4, s4, 0x3164 | s4 += 0x3164;
0x000134b4 addiu s5, s5, 0x2940 | s5 += 0x2940;
0x000134b8 b 0x135c8 |
| while (v0 != s2) {
| if (v0 == s4) {
0x000134bc beql v0, s4, 0x135f0 | goto label_9;
| }
0x000134c0 lw v0, 0x24(sp) | v0 = *(var_24h_3);
0x000134c4 lw a0, -0x7fa8(gp) | a0 = *(gp);
| if (v0 == s5) {
0x000134c8 beq v0, s5, 0x1360c | goto label_10;
| }
0x000134cc addiu a0, a0, 0x27ec | a0 += 0x27ec;
0x000134d0 lw a0, -0x7fa8(gp) | a0 = *(gp);
| if (v0 == a0) {
0x000134d4 beq v0, a0, 0x13668 | goto label_11;
| }
0x000134d8 addiu a0, a0, 0x30e4 | a0 += 0x30e4;
0x000134dc lw a0, -0x7fa8(gp) | a0 = *(gp);
| if (v0 == a0) {
0x000134e0 beq v0, a0, 0x13674 | goto label_12;
| }
0x000134e4 addiu a0, a0, 0x327c | a0 += 0x327c;
0x000134e8 lw a0, -0x7fa8(gp) | a0 = *(gp);
| if (v0 == a0) {
0x000134ec beq v0, a0, 0x13680 | goto label_13;
| }
0x000134f0 addiu a0, a0, 0x36d0 | a0 += 0x36d0;
0x000134f4 lw a0, -0x7fa8(gp) | a0 = *(gp);
| if (v0 == a0) {
0x000134f8 beq v0, a0, 0x136a0 | goto label_14;
| }
0x000134fc addiu a0, a0, 0x2d6c | a0 += 0x2d6c;
0x00013500 lw s0, -0x7fdc(gp) | s0 = *(gp);
| if (v0 == a0) {
0x00013504 beq v0, a0, 0x136ac | goto label_15;
| }
0x00013508 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.unknown */
0x0001350c addiu s0, s0, 0x558 | s0 += 0x558;
| label_2:
0x00013510 lw t9, -0x7cbc(gp) | t9 = sym.imp.__strcpy_chk
| label_0:
0x00013514 addiu a2, zero, 0x28 | a2 = 0x28;
0x00013518 move a0, fp | a0 = fp;
0x0001351c jalr t9 | t9 ();
0x00013520 lw v0, 0x14(s7) | v0 = *((s7 + 5));
0x00013524 andi v0, v0, 1 | v0 &= 1;
0x00013528 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x0001352c beqz v0, 0x13578 |
0x00013530 lw v0, 0x18(s7) | v0 = *((s7 + 6));
0x00013534 lw a3, -0x7fdc(gp) | a3 = *(gp);
| if (v0 <= 0) {
0x00013538 blez v0, 0x135f8 | goto label_16;
| }
0x0001353c lw t9, -0x7e0c(gp) | t9 = sym.imp.__sprintf_chk;
0x00013540 addiu s6, sp, 0x5c | s6 = sp + 0x5c;
0x00013544 sw v0, 0x10(sp) | *(var_10h) = v0;
| /* str.__d_ */
0x00013548 addiu a3, a3, 0x5ec | a3 += 0x5ec;
0x0001354c addiu a2, zero, 0x28 | a2 = 0x28;
0x00013550 addiu a1, zero, 1 | a1 = 1;
0x00013554 move a0, s6 | a0 = s6;
0x00013558 jalr t9 | t9 ();
0x0001355c lw gp, 0x18(sp) | gp = *(var_18h);
| label_3:
0x00013560 lw t9, -0x79f4(gp) | t9 = sym.imp.__strcat_chk;
0x00013564 addiu a2, zero, 0x28 | a2 = 0x28;
0x00013568 move a1, s6 | a1 = s6;
0x0001356c move a0, fp | a0 = fp;
0x00013570 jalr t9 | t9 ();
0x00013574 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00013578 lw v0, 8(s7) | v0 = *((s7 + 2));
0x0001357c lw a1, -0x7fdc(gp) | a1 = *(gp);
| if (v0 != 0) {
0x00013580 beqz v0, 0x1359c |
0x00013584 lw t9, -0x79f4(gp) | t9 = sym.imp.__strcat_chk;
0x00013588 addiu a2, zero, 0x28 | a2 = 0x28;
| /* str.__hi_lo_ */
0x0001358c addiu a1, a1, 0x5f4 | a1 += 0x5f4;
0x00013590 move a0, fp | a0 = fp;
0x00013594 jalr t9 | t9 ();
0x00013598 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x0001359c lw t9, -0x7d90(gp) | t9 = sym.imp.__fprintf_chk;
0x000135a0 addiu s7, s7, 0x1c | s7 += 0x1c;
0x000135a4 addiu a1, zero, 1 | a1 = 1;
0x000135a8 sw s0, 0x10(sp) | *(var_10h) = s0;
0x000135ac move a3, fp | a3 = fp;
| /* str._t__25s_t_s_n */
0x000135b0 addiu a2, s3, 0x600 | a2 = s3 + 0x600;
0x000135b4 move a0, s1 | a0 = s1;
0x000135b8 jalr t9 | t9 ();
0x000135bc lw a1, (s7) | a1 = *(s7);
0x000135c0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (a1 == 0) {
0x000135c4 beqz a1, 0x13618 | goto label_8;
| }
0x000135c8 lw v0, 0x10(s7) | v0 = *((s7 + 4));
0x000135cc lw s0, 0x20(sp) | s0 = *(var_20h_3);
0x000135d0 bne v0, s2, 0x134bc |
| }
0x000135d4 lw t9, -0x7cbc(gp) | t9 = sym.imp.__strcpy_chk
0x000135d8 b 0x13514 | goto label_0;
| label_6:
0x000135dc lw s2, -0x7fdc(gp) | s2 = *(gp);
0x000135e0 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.set_inode */
0x000135e4 addiu s2, s2, 0x50c | s2 += 0x50c;
| /* str.Inode */
0x000135e8 addiu s0, s0, 0x518 | s0 += 0x518;
0x000135ec b 0x1343c | goto label_1;
| label_9:
0x000135f0 addiu s0, v0, 0x568 | s0 = v0 + 0x568;
0x000135f4 b 0x13510 | goto label_2;
| label_16:
0x000135f8 addiu s6, sp, 0x5c | s6 = sp + 0x5c;
0x000135fc addiu v0, zero, 0x5d5b | v0 = 0x5d5b;
0x00013600 sh v0, 0x5c(sp) | *(var_5ch_2) = v0;
0x00013604 sb zero, 2(s6) | *(var_2h) = 0;
0x00013608 b 0x13560 | goto label_3;
| label_10:
0x0001360c lw v0, 0x28(sp) | v0 = *(var_28h_2);
0x00013610 addiu s0, v0, 0x570 | s0 = v0 + 0x570;
0x00013614 b 0x13510 | goto label_2;
| label_8:
0x00013618 lw t9, -0x7f88(gp) | t9 = sym.close_pager;
0x0001361c move a0, s1 | a0 = s1;
0x00013620 bal 0xe5d0 | sym_close_pager ();
0x00013624 lw v0, 0x2c(sp) | v0 = *(var_2ch);
0x00013628 lw v1, 0x84(sp) | v1 = *(var_84h);
0x0001362c lw gp, 0x18(sp) | gp = *(var_18h);
0x00013630 lw v0, (v0) | v0 = *(v0);
0x00013634 lw ra, 0xac(sp) | ra = *(var_ach);
| if (v1 == v0) {
0x00013638 bne v1, v0, 0x136c4 |
0x0001363c lw fp, 0xa8(sp) | fp = *(var_a8h);
0x00013640 lw s7, 0xa4(sp) | s7 = *(var_a4h);
0x00013644 lw s6, 0xa0(sp) | s6 = *(var_a0h);
0x00013648 lw s5, 0x9c(sp) | s5 = *(var_9ch);
0x0001364c lw s4, 0x98(sp) | s4 = *(var_98h);
0x00013650 lw s3, 0x94(sp) | s3 = *(var_94h);
0x00013654 lw s2, 0x90(sp) | s2 = *(var_90h);
0x00013658 lw s1, 0x8c(sp) | s1 = *(var_8ch);
0x0001365c lw s0, 0x88(sp) | s0 = *(var_88h);
0x00013660 addiu sp, sp, 0xb0 |
0x00013664 jr ra | return v0;
| label_11:
0x00013668 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.UUID */
0x0001366c addiu s0, s0, 0x584 | s0 += 0x584;
0x00013670 b 0x13510 | goto label_2;
| label_12:
0x00013674 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.hash_algorithm */
0x00013678 addiu s0, s0, 0x58c | s0 += 0x58c;
0x0001367c b 0x13510 | goto label_2;
| label_13:
0x00013680 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.date_time */
0x00013684 addiu s0, s0, 0x59c | s0 += 0x59c;
0x00013688 b 0x13510 | goto label_2;
| label_5:
0x0001368c lw s2, -0x7fdc(gp) | s2 = *(gp);
0x00013690 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.set_super_value */
0x00013694 addiu s2, s2, -0x1f88 | s2 += -0x1f88;
| /* str.Superblock */
0x00013698 addiu s0, s0, 0x500 | s0 += aav.0x00000500;
0x0001369c b 0x1343c | goto label_1;
| label_14:
0x000136a0 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.set_physical__logical_block_map */
0x000136a4 addiu s0, s0, 0x538 | s0 += 0x538;
0x000136a8 b 0x13510 | goto label_2;
| /* str.unsigned_integer_OR__calc_ */
| label_15:
0x000136ac addiu s0, s0, 0x5a8 | s0 += 0x5a8;
0x000136b0 b 0x13510 | goto label_2;
| label_7:
0x000136b4 lw s0, -0x7fdc(gp) | s0 = *(gp);
| /* str.set_mmp_value */
0x000136b8 addiu s2, s2, -0x2074 | s2 += -0x2074;
| /* esilref: 'MMP' */
0x000136bc addiu s0, s0, 0x4fc | s0 += 0x4fc;
0x000136c0 b 0x1343c | goto label_1;
| }
0x000136c4 lw t9, -0x7b08(gp) | t9 = sym.imp.__stack_chk_fail;
0x000136c8 jalr t9 | t9 ();
0x000136cc nop |
0x000136d0 lui gp, 4 |
0x000136d4 addiu gp, gp, -0x5590 |
0x000136d8 addu gp, gp, t9 | gp += t9;
0x000136dc addiu sp, sp, -0x60 |
0x000136e0 lw t9, -0x7c80(gp) | t9 = sym.imp.strtoull;
0x000136e4 sw s0, 0x50(sp) | *(var_50h) = s0;
0x000136e8 lw s0, -0x7aa4(gp) | s0 = *((gp - 7849));
0x000136ec sw s1, 0x54(sp) | *(var_54h) = s1;
0x000136f0 move s1, a2 | s1 = a2;
0x000136f4 lw v0, (s0) | v0 = *(s0);
0x000136f8 sw gp, 0x28(sp) | *(var_28h) = gp;
0x000136fc sw s2, 0x58(sp) | *(var_58h) = s2;
0x00013700 sw ra, 0x5c(sp) | *(var_5ch) = ra;
0x00013704 move s2, a0 | s2 = a0;
0x00013708 move a2, zero | a2 = 0;
0x0001370c addiu a1, sp, 0x3c | a1 = sp + 0x3c;
0x00013710 move a0, s1 | a0 = s1;
0x00013714 sw v0, 0x4c(sp) | *(var_4ch) = v0;
0x00013718 jalr t9 | t9 ();
0x0001371c nop |
0x00013720 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00013724 lw v0, 0x3c(sp) | v0 = *(var_3ch);
0x00013728 sw v1, 0x44(sp) | *(var_44h) = v1;
0x0001372c lb v0, (v0) | v0 = *(v0);
0x00013730 lw gp, 0x28(sp) | gp = *(var_28h);
| if (v0 != 0) {
0x00013734 bnez v0, 0x137dc | goto label_17;
| }
0x00013738 lw a0, -0x7f30(gp) | a0 = *((gp - 8140));
0x0001373c lw v0, -0x7f30(gp) | v0 = *((gp - 8140));
0x00013740 addiu a2, sp, 0x40 | a2 = sp + 0x40;
0x00013744 lw a1, 0x6798(a0) | a1 = *((a0 + 6630));
0x00013748 lw a0, -0x7fd8(gp) | a0 = *(gp);
0x0001374c lw v0, 0x6794(v0) | v0 = *((v0 + 6629));
0x00013750 lw t9, -0x7c1c(gp) | t9 = sym.imp.ext2fs_bmap2;
0x00013754 lw a0, (a0) | a0 = *(a0);
0x00013758 sw a2, 0x24(sp) | *(var_24h_2) = a2;
0x0001375c lw a2, -0x7f30(gp) | a2 = *((gp - 8140));
0x00013760 sra v1, v0, 0x1f | v1 = v0 >> 0x1f;
0x00013764 sw v0, 0x18(sp) | *(var_18h_2) = v0;
0x00013768 addiu v0, zero, 3 | v0 = 3;
0x0001376c sw zero, 0x20(sp) | *(var_20h_2) = 0;
0x00013770 sw v1, 0x1c(sp) | *(var_1ch_2) = v1;
0x00013774 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00013778 move a3, zero | a3 = 0;
0x0001377c addiu a2, a2, 0x6c00 | a2 += 0x6c00;
0x00013780 jalr t9 | t9 ();
0x00013784 lw gp, 0x28(sp) | gp = *(var_28h);
0x00013788 bnez v0, 0x137b0 |
| while (1) {
| label_4:
0x0001378c lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x00013790 lw v1, (s0) | v1 = *(s0);
0x00013794 lw ra, 0x5c(sp) | ra = *(var_5ch);
| if (a0 != v1) {
0x00013798 bne a0, v1, 0x13810 | goto label_18;
| }
0x0001379c lw s2, 0x58(sp) | s2 = *(var_58h);
0x000137a0 lw s1, 0x54(sp) | s1 = *(var_54h);
0x000137a4 lw s0, 0x50(sp) | s0 = *(var_50h);
0x000137a8 addiu sp, sp, 0x60 |
0x000137ac jr ra | return v0;
0x000137b0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000137b4 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x000137b8 lw t9, -0x7b4c(gp) | t9 = sym.imp.com_err;
0x000137bc move a1, v0 | a1 = v0;
0x000137c0 sw v0, 0x34(sp) | *(var_34h) = v0;
| /* str.while_setting_block_map */
0x000137c4 addiu a2, a2, 0x60c | a2 += 0x60c;
| /* str.set_inode */
0x000137c8 addiu a0, a0, 0x50c | a0 += 0x50c;
0x000137cc jalr t9 | t9 ();
0x000137d0 lw gp, 0x28(sp) | gp = *(var_28h);
0x000137d4 lw v0, 0x34(sp) | v0 = *(var_34h);
0x000137d8 b 0x1378c |
| }
| label_17:
0x000137dc lw v1, -0x7a6c(gp) | v1 = *((gp - 7835));
0x000137e0 lw a2, -0x7fdc(gp) | a2 = *(gp);
0x000137e4 lw v0, (s2) | v0 = *(s2);
0x000137e8 lw t9, -0x7d90(gp) | t9 = sym.imp.__fprintf_chk;
0x000137ec lw a0, (v1) | a0 = *(v1);
0x000137f0 move a3, s1 | a3 = s1;
0x000137f4 sw v0, 0x10(sp) | *(var_10h_2) = v0;
| /* str.Couldnt_parse__s_for_field__s._n */
0x000137f8 addiu a2, a2, 0x428 | a2 += 0x428;
0x000137fc addiu a1, zero, 1 | a1 = 1;
0x00013800 jalr t9 | t9 ();
0x00013804 lw gp, 0x28(sp) | gp = *(var_28h);
0x00013808 addiu v0, zero, 0x16 | v0 = 0x16;
0x0001380c b 0x1378c | goto label_4;
| label_18:
0x00013810 lw t9, -0x7b08(gp) | t9 = sym.imp.__stack_chk_fail;
0x00013814 jalr t9 | t9 ();
0x00013818 nop |
0x0001381c lui gp, 4 |
0x00013820 addiu gp, gp, -0x56dc |
0x00013824 addu gp, gp, t9 | gp += t9;
0x00013828 addiu sp, sp, -0x28 |
0x0001382c lw t9, -0x7cdc(gp) | t9 = sym.imp.ext2fs_mmp_clear;
0x00013830 sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x00013834 lw s0, -0x7fd8(gp) | s0 = *(gp);
0x00013838 sw s1, 0x20(sp) | *(var_20h) = s1;
0x0001383c move s1, a0 | s1 = a0;
0x00013840 lw a0, (s0) | a0 = *(s0);
0x00013844 sw gp, 0x10(sp) | *(var_10h_3) = gp;
0x00013848 sw ra, 0x24(sp) | *(var_24h) = ra;
0x0001384c jalr t9 | t9 ();
0x00013850 nop |
0x00013854 lw gp, 0x10(sp) | gp = *(var_10h_3);
| if (v0 != 0) {
0x00013858 beqz v0, 0x13890 |
0x0001385c lw a2, -0x7fdc(gp) | a2 = *(gp);
0x00013860 lw a0, -0x7fdc(gp) | a0 = *(gp);
0x00013864 lw t9, -0x7b4c(gp) | t9 = sym.imp.com_err;
0x00013868 move a1, v0 | a1 = v0;
| /* str.while_clearing_MMP_block_n */
0x0001386c addiu a2, a2, 0x624 | a2 += 0x624;
| /* str.set_mmp_value */
0x00013870 addiu a0, a0, -0x2074 | a0 += -0x2074;
0x00013874 jalr t9 | t9 ();
0x00013878 lw ra, 0x24(sp) | ra = *(var_24h);
0x0001387c lw s1, 0x20(sp) | s1 = *(var_20h);
0x00013880 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x00013884 addiu v0, zero, 1 | v0 = 1;
0x00013888 addiu sp, sp, 0x28 |
0x0001388c jr ra | return v0;
| }
0x00013890 lw v0, (s0) | v0 = *(s0);
0x00013894 lw t9, -0x7aa0(gp) | t9 = sym.imp.memcpy;
0x00013898 lw a2, 0xc(s1) | a2 = *((s1 + 3));
0x0001389c lw a0, 4(s1) | a0 = *((s1 + 1));
0x000138a0 lw a1, 0x98(v0) | a1 = *((v0 + 38));
0x000138a4 jalr t9 | t9 ();
0x000138a8 lw ra, 0x24(sp) | ra = *(var_24h);
0x000138ac lw s1, 0x20(sp) | s1 = *(var_20h);
0x000138b0 lw s0, 0x1c(sp) | s0 = *(var_1ch);
0x000138b4 addiu v0, zero, 1 | v0 = 1;
0x000138b8 addiu sp, sp, 0x28 |
0x000138bc jr ra | return v0;
| }
[*] Function strcpy used 3 times debugfs