[*] Binary protection state of vdo-output-ctrl
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of vdo-output-ctrl
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/vdo-output-ctrl @ 0x17c8 */
| #include <stdint.h>
|
; (fcn) fcn.000017c8 () | void fcn_000017c8 () {
0x000017c8 lui gp, 2 |
0x000017cc addiu gp, gp, -0x77b8 |
0x000017d0 addu gp, gp, t9 | gp += t9;
0x000017d4 lw v0, -0x7f6c(gp) | v0 = *((gp - 8155));
0x000017d8 addiu sp, sp, -0x20 |
0x000017dc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000017e0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000017e4 lw t9, -0x7f5c(gp) | t9 = sym.imp.g_fprintf
0x000017e8 lw a3, 8(a0) | a3 = *((a0 + 2));
0x000017ec sw s0, 0x18(sp) | *(var_18h) = s0;
0x000017f0 move s0, a0 | s0 = a0;
0x000017f4 lw a0, (v0) | a0 = *(v0);
0x000017f8 sw gp, 0x10(sp) | *(var_10h) = gp;
0x000017fc sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001800 addiu a2, a2, 0x1bd0 | a2 += str.vdo_input_ctrl;
0x00001804 addiu a1, a1, 0x1be0 | a1 += str._s:__s_n;
0x00001808 jalr t9 | t9 ();
0x0000180c lw gp, 0x10(sp) | gp = *(var_10h);
0x00001810 lw t9, -0x7fa0(gp) | t9 = sym.imp.g_error_free;
0x00001814 move a0, s0 | a0 = s0;
0x00001818 jalr t9 | t9 ();
0x0000181c lw gp, 0x10(sp) | gp = *(var_10h);
0x00001820 lw t9, -0x7fb0(gp) | t9 = sym.imp.exit;
0x00001824 addiu a0, zero, 1 | a0 = 1;
0x00001828 jalr t9 | t9 ();
0x0000182c nop |
| }
[*] Function printf used 2 times vdo-output-ctrl