[*] Binary protection state of libaffile.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function strcpy tear down of libaffile.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/syslog-ng/libaffile.so @ 0x5444 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00005444 lui gp, 3 |
0x00005448 addiu gp, gp, -0x4254 |
0x0000544c addu gp, gp, t9 | gp += t9;
0x00005450 addiu sp, sp, -0x20 |
0x00005454 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00005458 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000545c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00005460 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00005464 lbu v0, -0x6870(s0) | v0 = *((s0 - 26736));
0x00005468 lw v0, -0x7b84(gp) | v0 = *((gp - 7905));
| if (v0 == 0) {
0x0000546c bnez v0, 0x54a0 |
0x00005470 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00005474 beqz v0, 0x5488 |
0x00005478 lw t9, -0x7b84(gp) | t9 = *((gp - 7905));
0x0000547c lw a0, (v0) | a0 = *(v0);
0x00005480 jalr t9 | t9 ();
0x00005484 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00005488 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000548c addiu t9, t9, 0x53c0 | t9 += entry0;
0x00005490 bal 0x53c0 | entry0 ();
0x00005494 nop |
0x00005498 addiu v0, zero, 1 | v0 = 1;
0x0000549c sb v0, -0x6870(s0) | *((s0 - 26736)) = v0;
| }
0x000054a0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x000054a4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x000054a8 addiu sp, sp, 0x20 |
0x000054ac jr ra | return v0;
| }
[*] Function strcpy used 1 times libaffile.so