[*] Binary protection state of vdo-stream-monitor

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


[*] Function printf tear down of vdo-stream-monitor

    ; assembly                           | /* r2dec pseudo code output */
                                         | /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/vdo-stream-monitor @ 0x178c */
                                         | #include <stdint.h>
                                         |  
    ; (fcn) fcn.0000178c ()              | void fcn_0000178c () {
    0x0000178c lui gp, 2                 |     
    0x00001790 addiu gp, gp, -0x677c     |     
    0x00001794 addu gp, gp, t9           |     gp += t9;
    0x00001798 lw v0, -0x7f64(gp)        |     v0 = *((gp - 8153));
    0x0000179c addiu sp, sp, -0x20       |     
    0x000017a0 lw a2, -0x7fd8(gp)        |     a2 = *((gp - 8182));
    0x000017a4 lw a1, -0x7fd8(gp)        |     a1 = *((gp - 8182));
    0x000017a8 lw t9, -0x7f54(gp)        |     t9 = sym.imp.g_fprintf
    0x000017ac lw a3, 8(a0)              |     a3 = *((a0 + 2));
    0x000017b0 sw s0, 0x18(sp)           |     *(var_18h) = s0;
    0x000017b4 move s0, a0               |     s0 = a0;
    0x000017b8 lw a0, (v0)               |     a0 = *(v0);
    0x000017bc sw gp, 0x10(sp)           |     *(var_10h) = gp;
    0x000017c0 sw ra, 0x1c(sp)           |     *(var_1ch) = ra;
    0x000017c4 addiu a2, a2, 0x20e8      |     a2 += str.vdo_stream_monitor;
    0x000017c8 addiu a1, a1, 0x20fc      |     a1 += str._s:__s_n;
    0x000017cc jalr t9                   |     t9 ();
    0x000017d0 lw gp, 0x10(sp)           |     gp = *(var_10h);
    0x000017d4 lw t9, -0x7f9c(gp)        |     t9 = sym.imp.g_error_free;
    0x000017d8 move a0, s0               |     a0 = s0;
    0x000017dc jalr t9                   |     t9 ();
    0x000017e0 lw gp, 0x10(sp)           |     gp = *(var_10h);
    0x000017e4 lw t9, -0x7fac(gp)        |     t9 = sym.imp.exit;
    0x000017e8 addiu a0, zero, 1         |     a0 = 1;
    0x000017ec jalr t9                   |     return t9 ();
                                         | }

[*] Function printf used 2 times vdo-stream-monitor