[*] Binary protection state of custfwcerts.cgi
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function printf tear down of custfwcerts.cgi
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/secure_boot/custfwcerts.cgi @ 0x23ac */
| #include <stdint.h>
|
; (fcn) fcn.000023ac () | void fcn_000023ac () {
0x000023ac lui gp, 2 |
0x000023b0 addiu gp, gp, -0x439c |
0x000023b4 addu gp, gp, t9 | gp += t9;
0x000023b8 addiu sp, sp, -0x28 |
0x000023bc lw t9, -0x7fd8(gp) | t9 = *((gp - 8182));
0x000023c0 sw gp, 0x10(sp) | *(var_10h) = gp;
0x000023c4 sw ra, 0x24(sp) | *(var_24h) = ra;
0x000023c8 sw s1, 0x20(sp) | *(var_20h) = s1;
0x000023cc sw s0, 0x1c(sp) | *(var_1ch) = s0;
0x000023d0 addiu t9, t9, 0x22e0 | t9 += fcn.000022e0;
0x000023d4 move s0, a0 | s0 = a0;
0x000023d8 move s1, a1 | s1 = a1;
0x000023dc bal 0x22e0 | fcn_000022e0 ();
0x000023e0 lw gp, 0x10(sp) | gp = *(var_10h);
0x000023e4 addiu a0, zero, 1 | a0 = 1;
0x000023e8 move a3, s1 | a3 = s1;
0x000023ec lw a1, -0x7fd8(gp) | a1 = *((gp - 8182));
0x000023f0 lw t9, -0x7ec0(gp) | t9 = sym.imp.__printf_chk
0x000023f4 move a2, s0 | a2 = s0;
0x000023f8 addiu a1, a1, 0x4488 | a1 += str.Status:__s_r_nContent_Type:_text_plain_r_n_r_n_s_r_n;
0x000023fc jalr t9 | t9 ();
0x00002400 lw gp, 0x10(sp) | gp = *(var_10h);
0x00002404 lw t9, -0x7fa8(gp) | t9 = sym.imp.exit;
0x00002408 addiu a0, zero, 1 | a0 = 1;
0x0000240c jalr t9 | return t9 ();
| }
[*] Function printf used 2 times custfwcerts.cgi