[*] Binary protection state of afalg-engine.so
Full RELRO Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function popen tear down of afalg-engine.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/engines-1.1/afalg-engine.so @ 0x1454 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00001454 lui gp, 2 |
0x00001458 addiu gp, gp, -0x5464 |
0x0000145c addu gp, gp, t9 | gp += t9;
0x00001460 addiu sp, sp, -0x20 |
0x00001464 sw s0, 0x18(sp) | *(var_18h) = s0;
0x00001468 lw s0, -0x7fe4(gp) | s0 = *((gp - 8185));
0x0000146c sw gp, 0x10(sp) | *(var_10h) = gp;
0x00001470 sw ra, 0x1c(sp) | *(var_1ch) = ra;
0x00001474 lbu v0, 0x4150(s0) | v0 = *((s0 + 16720));
0x00001478 lw v0, -0x7f38(gp) | v0 = *((gp - 8142));
| if (v0 == 0) {
0x0000147c bnez v0, 0x14b0 |
0x00001480 lw v0, -0x7fe0(gp) | v0 = *((gp - 8184));
| if (v0 != 0) {
0x00001484 beqz v0, 0x1498 |
0x00001488 lw t9, -0x7f38(gp) | t9 = *((gp - 8142));
0x0000148c lw a0, (v0) | a0 = *(v0);
0x00001490 jalr t9 | t9 ();
0x00001494 lw gp, 0x10(sp) | gp = *(var_10h);
| }
0x00001498 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x0000149c addiu t9, t9, 0x13d0 | t9 += entry0;
0x000014a0 bal 0x13d0 | entry0 ();
0x000014a4 nop |
0x000014a8 addiu v0, zero, 1 | v0 = 1;
0x000014ac sb v0, 0x4150(s0) | *((s0 + 16720)) = v0;
| }
0x000014b0 lw ra, 0x1c(sp) | ra = *(var_1ch);
0x000014b4 lw s0, 0x18(sp) | s0 = *(var_18h);
0x000014b8 addiu sp, sp, 0x20 |
0x000014bc jr ra | return v0;
| }
[*] Function popen used 1 times afalg-engine.so