[*] Binary protection state of testBackchannelWAV

  
  	Full RELRO     Canary found      NX disabled  No PIE       No RPATH     No RUNPATH   No Symbols


[*] Function printf tear down of testBackchannelWAV

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/testBackchannelWAV @ 0x40263c */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) main ()                          | int32_t main () {
    0x0040263c lui gp, 2                     |     
    0x00402640 addiu gp, gp, -0x261c         |     
    0x00402644 addu gp, gp, t9               |     gp += t9;
    0x00402648 addiu sp, sp, -0x30           |     
    0x0040264c sw ra, 0x2c(sp)               |     *(var_2ch) = ra;
    0x00402650 sw fp, 0x28(sp)               |     *(var_28h) = fp;
    0x00402654 move fp, sp                   |     fp = sp;
    0x00402658 sw gp, 0x10(sp)               |     *(var_10h) = gp;
    0x0040265c sw a0, 0x1c(fp)               |     *(arg_1ch) = a0;
    0x00402660 sw a1, 0x18(fp)               |     *(envp) = a1;
    0x00402664 lw t8, -0x7e98(gp)            |     t8 = *((gp - 8102));
    0x00402668 lw t8, (t8)                   |     t8 = *(t8);
    0x0040266c sw t8, 0x24(fp)               |     *(arg_24h) = t8;
    0x00402670 lw t8, 0x1c(fp)               |     t8 = *(arg_1ch);
    0x00402674 slti t8, t8, 3                |     t8 = (t8 < 3) ? 1 : 0;
                                             |     if (t8 != 0) {
    0x00402678 beqz t8, 0x4026a8             |         
    0x0040267c nop                           |         
    0x00402680 lw t8, -0x7fdc(gp)            |         t8 = *(gp);
                                             |         /* str.argument_fail */
    0x00402684 addiu a0, t8, 0x680c          |         a0 = t8 + 0x680c;
    0x00402688 lw t8, -0x7f24(gp)            |         t8 = sym.imp.printf
    0x0040268c move t9, t8                   |         t9 = t8;
    0x00402690 jalr t9                       |         t9 ();
    0x00402694 nop                           |         
    0x00402698 lw gp, 0x10(fp)               |         gp = *(argv);
    0x0040269c addiu t8, zero, 1             |         t8 = 1;
    0x004026a0 b 0x4026e8                    |         goto label_0;
    0x004026a4 nop                           |         
                                             |     }
    0x004026a8 lw t8, 0x18(fp)               |     t8 = *(envp);
    0x004026ac lw v0, 8(t8)                  |     v0 = *((t8 + 2));
    0x004026b0 lw t8, -0x7fcc(gp)            |     t8 = *(gp);
    0x004026b4 sw v0, (t8)                   |     *(t8) = v0;
    0x004026b8 lw t8, 0x18(fp)               |     t8 = *(envp);
    0x004026bc addiu t8, t8, 4               |     t8 += 4;
    0x004026c0 lw t8, (t8)                   |     t8 = *(t8);
    0x004026c4 lw v0, -0x7fdc(gp)            |     v0 = *(gp);
                                             |     /* str.Albert_RTSP_Client */
    0x004026c8 addiu a0, v0, 0x681c          |     a0 = v0 + 0x681c;
    0x004026cc move a1, t8                   |     a1 = t8;
    0x004026d0 lw t8, -0x7fc8(gp)            |     t8 = sym.myRTSPClient_char__char_;
    0x004026d4 move t9, t8                   |     t9 = t8;
    0x004026d8 jalr t9                       |     t9 ();
    0x004026dc nop                           |     
    0x004026e0 lw gp, 0x10(fp)               |     gp = *(argv);
    0x004026e4 move t8, zero                 |     t8 = 0;
                                             | label_0:
    0x004026e8 move v0, t8                   |     v0 = t8;
    0x004026ec lw t8, -0x7e98(gp)            |     t8 = *((gp - 8102));
    0x004026f0 lw v1, 0x24(fp)               |     v1 = *(arg_24h);
    0x004026f4 lw t8, (t8)                   |     t8 = *(t8);
                                             |     if (v1 != t8) {
    0x004026f8 beq v1, t8, 0x402710          |         
    0x004026fc nop                           |         
    0x00402700 lw t8, -0x7ed4(gp)            |         t8 = sym.imp.__stack_chk_fail;
    0x00402704 move t9, t8                   |         t9 = t8;
    0x00402708 jalr t9                       |         t9 ();
    0x0040270c nop                           |         
                                             |     }
    0x00402710 move sp, fp                   |     
    0x00402714 lw ra, 0x2c(sp)               |     ra = *(var_2ch);
    0x00402718 lw fp, 0x28(sp)               |     fp = *(var_28h);
    0x0040271c addiu sp, sp, 0x30            |     
    0x00402720 jr ra                         |     return v1;
    0x00402724 nop                           |     
                                             | }

[*] Function printf used 2 times testBackchannelWAV