[*] Binary protection state of libglib-2.0.so.0.6000.7
Full RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of libglib-2.0.so.0.6000.7
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libglib-2.0.so.0.6000.7 @ 0x62f3c */
| #include <stdint.h>
|
; (fcn) sym.g_printf_string_upper_bound () | void g_printf_string_upper_bound () {
0x00062f3c lui gp, 0xd |
0x00062f40 addiu gp, gp, 0x6464 |
0x00062f44 addu gp, gp, t9 | gp += t9;
0x00062f48 addiu sp, sp, -0x28 |
0x00062f4c lw t9, -0x70fc(gp) | t9 = *((gp - 7231));
0x00062f50 move a3, a1 | a3 = a1;
0x00062f54 sw ra, 0x24(sp) | *(var_24h) = ra;
0x00062f58 sw gp, 0x10(sp) | *(var_10h) = gp;
0x00062f5c move a2, a0 | a2 = a0;
0x00062f60 addiu a1, zero, 1 | a1 = 1;
0x00062f64 addiu a0, sp, 0x18 | a0 = sp + 0x18;
0x00062f68 jalr t9 | t9 ();
0x00062f6c lw ra, 0x24(sp) | ra = *(var_24h);
0x00062f70 addiu v0, v0, 1 | v0++;
0x00062f74 addiu sp, sp, 0x28 |
0x00062f78 jr ra | return v0;
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libglib-2.0.so.0.6000.7 @ 0xb2fb0 */
| #include <stdint.h>
|
; (fcn) sym.g_printf () | void g_printf () {
0x000b2fb0 lui gp, 8 |
0x000b2fb4 addiu gp, gp, 0x63f0 |
0x000b2fb8 addu gp, gp, t9 | gp += t9;
0x000b2fbc addiu sp, sp, -0x28 |
0x000b2fc0 addiu v0, sp, 0x2c | v0 = sp + 0x2c;
0x000b2fc4 lw t9, -0x71f8(gp) | t9 = *((gp - 7294));
0x000b2fc8 sw ra, 0x24(sp) | *(var_24h) = ra;
0x000b2fcc sw gp, 0x10(sp) | *(var_10h) = gp;
0x000b2fd0 sw a1, 0x2c(sp) | *(arg_2ch) = a1;
0x000b2fd4 sw a2, 0x30(sp) | *(arg_30h) = a2;
0x000b2fd8 sw a3, 0x34(sp) | *(arg_34h) = a3;
0x000b2fdc sw v0, 0x18(sp) | *(var_18h) = v0;
0x000b2fe0 move a1, v0 | a1 = v0;
0x000b2fe4 bal 0xb2f40 | sym_g_vprintf ()
0x000b2fe8 lw ra, 0x24(sp) | ra = *(var_24h);
0x000b2fec addiu sp, sp, 0x28 |
0x000b2ff0 jr ra | return v0;
| }
[*] Function printf used 4 times libglib-2.0.so.0.6000.7