[*] Binary protection state of libcertutil.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libcertutil.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libcertutil.so @ 0x1b74 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001b74 lui gp, 2 |
0x00001b78 addiu gp, gp, -0x2b74 |
0x00001b7c addu gp, gp, t9 | gp += t9;
0x00001b80 addiu sp, sp, -0x20 |
0x00001b84 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001b88 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x00001b8c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001b90 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001b94 lbu v0, 0x7170(s0) | v0 = *((s0 + 29040));
0x00001b98 lw v0, -0x7eac(gp) | v0 = *((gp - 8107));
| if (v0 == 0) {
0x00001b9c bnez v0, 0x1bd0 |
0x00001ba0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001ba4 beqz v0, 0x1bb8 |
0x00001ba8 lw t9, -0x7eac(gp) | t9 = *((gp - 8107));
0x00001bac lw a0, (v0) | a0 = *(v0);
0x00001bb0 jalr t9 | t9 ();
0x00001bb4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001bb8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001bbc addiu t9, t9, 0x1af0 | t9 += entry0;
0x00001bc0 bal 0x1af0 | entry0 ();
0x00001bc4 nop |
0x00001bc8 addiu v0, zero, 1 | v0 = 1;
0x00001bcc sb v0, 0x7170(s0) | *((s0 + 29040)) = v0;
| }
0x00001bd0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x00001bd4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x00001bd8 addiu sp, sp, 0x20 |
0x00001bdc jr ra | return v0;
| }
[*] Function strcpy used 1 times libcertutil.so