[*] Binary protection state of impdbg

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


[*] Function mmap tear down of impdbg

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/bin/impdbg @ 0x400ce8 */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) sym.imp.puts ()                  | void puts () {
    0x00400ce8 lw s5, 0x22d4(v0)             |     s5 = *((v0 + 2229));
    0x00400cec lui a1, 0x40                  |     a1 = 0x400000;
                                             |     if (s5 == 0) {
    0x00400cf0 beqz s5, 0x400f90             |         void (*0x400f90)() ();
                                             |     }
    0x00400cf4 move a0, s5                   |     a0 = s5;
    0x00400cf8 jal 0x4020a0                  |     fcn_004020a0 ();
    0x00400cfc sltiu v0, v0, 0x32            |     v0 = (v0 < 0x32) ? 1 : 0;
    0x00400d00 addiu a0, sp, 0x2c            |     a0 = sp + 0x2c;
                                             |     if (v0 == 0) {
    0x00400d04 beqz v0, 0x400fec             |         void (*0x400fec)() ();
                                             |     }
    0x00400d08 move a1, s5                   |     a1 = s5;
    0x00400d0c addiu a2, zero, 0x31          |     a2 = 0x31;
    0x00400d10 jal 0x4020e0                  |     fcn_004020e0 ();
    0x00400d14 addiu v0, zero, 1             |     v0 = 1;
    0x00400d18 sw v0, 0x28(sp)               |     *(arg_28h) = v0;
    0x00400d1c b 0x400c28                    |     return void (*0x400c28)() ();
                                             | }
    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/unblob_extracted/firmware_extract/6225984-11075644.jffs2_new_extract/bin/impdbg @ 0x400cb8 */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) sym.imp.strerror ()              | void strerror () {
    0x00400cb8 lui a1, 0x40                  |     a1 = 0x400000;
    0x00400cbc addiu s6, zero, 1             |     s6 = 1;
    0x00400cc0 move a0, s5                   |     a0 = s5;
                                             |     /* esilref: 'RAW' */
    0x00400cc4 addiu a1, a1, 0x1d10          |     a1 += 0x1d10;
    0x00400cc8 addiu a2, zero, 3             |     a2 = 3;
    0x00400ccc sw s6, 0x60(sp)               |     *(arg_60h) = s6;
    0x00400cd0 jal 0x402080                  |     fcn_00402080 ();
    0x00400cd4 lui a1, 0x40                  |     a1 = 0x400000;
                                             |     if (v0 != 0) {
    0x00400cd8 bnez v0, 0x400da0             |         void (*0x400da0)() ();
                                             |     }
    0x00400cdc sw zero, 0x64(sp)             |     *(arg_64h) = 0;
    0x00400ce0 b 0x400c28                    |     return void (*0x400c28)() ();
                                             | }

[*] Function mmap used 1 times impdbg