[*] Binary protection state of libgcrypt.so.20.2.4
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of libgcrypt.so.20.2.4
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libgcrypt.so.20.2.4 @ 0x5fb4 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00005fb4 lui gp, 0xe |
0x00005fb8 addiu gp, gp, 0x3abc |
0x00005fbc addu gp, gp, t9 | gp += t9;
0x00005fc0 addiu sp, sp, -0x20 |
0x00005fc4 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00005fc8 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00005fcc sw gp, 0x10(sp) | *(var_10h) = gp;
0x00005fd0 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00005fd4 lbu v0, 0x2500(s0) | v0 = *((s0 + 9472));
0x00005fd8 lw v0, -0x7594(gp) | v0 = *((gp - 7525));
| if (v0 == 0) {
0x00005fdc bnez v0, 0x6010 |
0x00005fe0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00005fe4 beqz v0, 0x5ff8 |
0x00005fe8 lw t9, -0x7594(gp) | t9 = *((gp - 7525));
0x00005fec lw a0, (v0) | a0 = *(v0);
0x00005ff0 jalr t9 | t9 ();
0x00005ff4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00005ff8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00005ffc addiu t9, t9, 0x5f30 | t9 += entry0;
0x00006000 bal 0x5f30 | entry0 ();
0x00006004 nop |
0x00006008 addiu v0, zero, 1 | v0 = 1;
0x0000600c sb v0, 0x2500(s0) | *((s0 + 9472)) = v0;
| }
0x00006010 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00006014 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00006018 addiu sp, sp, 0x20 |
0x0000601c jr ra | return v0;
| }
[*] Function sprintf used 1 times libgcrypt.so.20.2.4