[*] Binary protection state of vdo-client
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of vdo-client
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/vdo-client @ 0x1980 */
| #include <stdint.h>
|
; (fcn) loc._ftext () | void loc_ftext () {
| /* [13] -r-x section size 20208 named .text */
0x00001980 lui gp, 2 |
0x00001984 addiu gp, gp, -0x1810 |
0x00001988 addu gp, gp, t9 | gp += t9;
0x0000198c addiu sp, sp, -0x30 |
0x00001990 lw v0, -0x7efc(gp) | v0 = *((gp - 8127));
0x00001994 sw s0, 0x24(sp) | *(var_24h) = s0;
0x00001998 lw s0, -0x7ed4(gp) | s0 = *((gp - 8117));
0x0000199c lw v0, (v0) | v0 = *(v0);
0x000019a0 sw s1, 0x28(sp) | *(var_28h) = s1;
0x000019a4 move s1, a0 | s1 = a0;
0x000019a8 lw a0, (s0) | a0 = *(s0);
0x000019ac sw a1, 0x34(sp) | *(arg_34h) = a1;
0x000019b0 sw a2, 0x38(sp) | *(arg_38h) = a2;
0x000019b4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000019b8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000019bc lw t9, -0x7eb8(gp) | t9 = sym.imp.g_fprintf
0x000019c0 sw gp, 0x10(sp) | *(var_10h) = gp;
0x000019c4 sw ra, 0x2c(sp) | *(var_2ch) = ra;
0x000019c8 sw a3, 0x3c(sp) | *(arg_3ch) = a3;
0x000019cc addiu a2, a2, 0x6e4c | a2 += str.vdo_client;
0x000019d0 addiu a1, a1, 0x6e58 | a1 += str._s:_;
0x000019d4 sw v0, 0x1c(sp) | *(var_1ch) = v0;
0x000019d8 jalr t9 | t9 ();
0x000019dc nop |
0x000019e0 lw gp, 0x10(sp) | gp = *(var_10h);
0x000019e4 addiu a2, sp, 0x34 | a2 = sp + 0x34;
0x000019e8 lw a0, (s0) | a0 = *(s0);
0x000019ec lw t9, -0x7ee4(gp) | t9 = sym.imp.g_vfprintf
0x000019f0 sw a2, 0x18(sp) | *(var_18h) = a2;
0x000019f4 move a1, s1 | a1 = s1;
0x000019f8 jalr t9 | t9 ();
0x000019fc lw gp, 0x10(sp) | gp = *(var_10h);
0x00001a00 lw t9, -0x7f8c(gp) | t9 = sym.imp.exit;
0x00001a04 addiu a0, zero, 1 | a0 = 1;
0x00001a08 jalr t9 | return t9 ();
| }
[*] Function fprintf used 3 times vdo-client