[*] Binary protection state of libptzaurus_common.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libptzaurus_common.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/libptzaurus_common.so @ 0x9574 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00009574 lui gp, 3 |
0x00009578 addiu gp, gp, 0x6adc |
0x0000957c addu gp, gp, t9 | gp += t9;
0x00009580 addiu sp, sp, -0x20 |
0x00009584 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00009588 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000958c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00009590 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00009594 lbu v0, -0x7960(s0) | v0 = *((s0 - 31072));
0x00009598 lw v0, -0x79f0(gp) | v0 = *((gp - 7804));
| if (v0 == 0) {
0x0000959c bnez v0, 0x95d0 |
0x000095a0 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x000095a4 beqz v0, 0x95b8 |
0x000095a8 lw t9, -0x79f0(gp) | t9 = *((gp - 7804));
0x000095ac lw a0, (v0) | a0 = *(v0);
0x000095b0 jalr t9 | t9 ();
0x000095b4 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x000095b8 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000095bc addiu t9, t9, -0x6b10 | t9 += -0x6b10;
0x000095c0 bal 0x94f0 | entry0 ();
0x000095c4 nop |
0x000095c8 addiu v0, zero, 1 | v0 = 1;
0x000095cc sb v0, -0x7960(s0) | *((s0 - 31072)) = v0;
| }
0x000095d0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x000095d4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x000095d8 addiu sp, sp, 0x20 |
0x000095dc jr ra | return v0;
| }
[*] Function strcpy used 1 times libptzaurus_common.so