[*] Binary protection state of systemd-socket-activate
Full RELRO Canary found NX disabled PIE enabled RPATH No RUNPATH No Symbols
[*] Function printf tear down of systemd-socket-activate
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/systemd-socket-activate @ 0x27a0 */
| #include <stdint.h>
|
; (fcn) fcn.000027a0 () | void fcn_000027a0 () {
0x000027a0 lui gp, 2 |
0x000027a4 addiu gp, gp, -0x57a0 |
0x000027a8 addu gp, gp, t9 | gp += t9;
0x000027ac addiu sp, sp, -0x78 |
0x000027b0 sw s6, 0x68(sp) | *(var_68h) = s6;
0x000027b4 sw s5, 0x64(sp) | *(var_64h) = s5;
0x000027b8 lw s6, -0x7fd8(gp) | s6 = *((gp - 8182));
0x000027bc lw s5, -0x7f6c(gp) | s5 = *((gp - 8155));
0x000027c0 sw s3, 0x5c(sp) | *(var_5ch) = s3;
0x000027c4 sw gp, 0x20(sp) | *(var_20h) = gp;
0x000027c8 sw ra, 0x74(sp) | *(var_74h) = ra;
0x000027cc sw fp, 0x70(sp) | *(var_70h) = fp;
0x000027d0 sw s7, 0x6c(sp) | *(var_6ch) = s7;
0x000027d4 sw s4, 0x60(sp) | *(var_60h) = s4;
0x000027d8 sw s2, 0x58(sp) | *(var_58h) = s2;
0x000027dc sw s1, 0x54(sp) | *(var_54h) = s1;
0x000027e0 sw s0, 0x50(sp) | *(var_50h) = s0;
0x000027e4 sw a0, 0x34(sp) | *(var_34h) = a0;
0x000027e8 lw v1, (s5) | v1 = *(s5);
0x000027ec lw a0, 0x88(sp) | a0 = *(arg_88h);
0x000027f0 lbu v0, 0x5150(s6) | v0 = *((s6 + 20816));
0x000027f4 sw a1, 0x30(sp) | *(var_30h) = a1;
0x000027f8 move s3, a2 | s3 = a2;
0x000027fc sw a3, 0x2c(sp) | *(var_2ch) = a3;
0x00002800 sw a0, 0x28(sp) | *(var_28h) = a0;
0x00002804 sw v1, 0x4c(sp) | *(var_4ch) = v1;
0x00002808 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (v0 != 0) {
0x0000280c beqz v0, 0x2878 |
0x00002810 addiu v0, zero, 1 | v0 = 1;
0x00002814 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
| if (a0 == v0) {
0x00002818 beq a0, v0, 0x2878 | goto label_16;
| }
0x0000281c lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002820 move a0, zero | a0 = 0;
0x00002824 jalr t9 | t9 ();
0x00002828 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x0000282c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002830 beqz v0, 0x2c6c | goto label_17;
| }
0x00002834 addiu s0, zero, -0x16 | s0 = -0x16;
| label_1:
0x00002838 lw a0, 0x4c(sp) | a0 = *(var_4ch);
0x0000283c lw v1, (s5) | v1 = *(s5);
0x00002840 move v0, s0 | v0 = s0;
| if (a0 != v1) {
0x00002844 bne a0, v1, 0x30fc | goto label_18;
| }
0x00002848 lw ra, 0x74(sp) | ra = *(var_74h);
0x0000284c lw fp, 0x70(sp) | fp = *(var_70h);
0x00002850 lw s7, 0x6c(sp) | s7 = *(var_6ch);
0x00002854 lw s6, 0x68(sp) | s6 = *(var_68h);
0x00002858 lw s5, 0x64(sp) | s5 = *(var_64h);
0x0000285c lw s4, 0x60(sp) | s4 = *(var_60h);
0x00002860 lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x00002864 lw s2, 0x58(sp) | s2 = *(var_58h);
0x00002868 lw s1, 0x54(sp) | s1 = *(var_54h);
0x0000286c lw s0, 0x50(sp) | s0 = *(var_50h);
0x00002870 addiu sp, sp, 0x78 |
0x00002874 jr ra | return v0;
| }
| label_16:
0x00002878 lw t9, -0x7f74(gp) | t9 = sym.imp.strv_length;
0x0000287c lw s0, 0x5158(v0) | s0 = *((v0 + 5206));
0x00002880 move a0, s0 | a0 = s0;
0x00002884 jalr t9 | t9 ();
0x00002888 addiu a0, v0, 8 | a0 = v0 + 8;
0x0000288c lw gp, 0x20(sp) | gp = *(var_20h);
| if (a0 == 0) {
0x00002890 beqz a0, 0x2b0c | goto label_19;
| }
| label_2:
0x00002894 lw t9, -0x7f08(gp) | t9 = sym.imp.calloc;
0x00002898 addiu a1, zero, 4 | a1 = 4;
0x0000289c jalr t9 | t9 ();
0x000028a0 move s2, v0 | s2 = v0;
0x000028a4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000028a8 beqz v0, 0x2cf0 | goto label_20;
| }
0x000028ac move s1, zero | s1 = 0;
| if (s0 == 0) {
0x000028b0 beqz s0, 0x299c | goto label_21;
| }
0x000028b4 lw s7, (s0) | s7 = *(s0);
0x000028b8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (s7 == 0) {
0x000028bc beqz s7, 0x29a0 | goto label_22;
| }
0x000028c0 lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x000028c4 addiu s4, s4, 0x35d0 | s4 += 0x35d0;
0x000028c8 b 0x290c |
| while (v0 != 0) {
0x000028cc lw t9, -0x7fa8(gp) | t9 = sym.imp.strdup;
0x000028d0 move a0, s7 | a0 = s7;
0x000028d4 jalr t9 | t9 ();
0x000028d8 move fp, v0 | fp = v0;
0x000028dc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x000028e0 beqz v0, 0x2cdc | goto label_23;
| }
0x000028e4 sll v0, s1, 2 | v0 = s1 << 2;
0x000028e8 addu v0, s2, v0 | v0 = s2 + v0;
0x000028ec addiu s1, s1, 1 | s1++;
0x000028f0 sw fp, (v0) | *(v0) = fp;
| label_3:
0x000028f4 addiu s0, s0, 4 | s0 += 4;
0x000028f8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (s0 == 0) {
0x000028fc beqz s0, 0x29a0 | goto label_22;
| }
| label_0:
0x00002900 lw s7, (s0) | s7 = *(s0);
0x00002904 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (s7 == 0) {
0x00002908 beqz s7, 0x29a0 | goto label_22;
| }
0x0000290c lw t9, -0x7f04(gp) | t9 = sym.imp.strchr;
0x00002910 addiu a1, zero, 0x3d | a1 = 0x3d;
0x00002914 move a0, s7 | a0 = s7;
0x00002918 jalr t9 | t9 ();
0x0000291c move fp, v0 | fp = v0;
0x00002920 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002924 bnez v0, 0x28cc |
| }
0x00002928 lw t9, -0x7f1c(gp) | t9 = sym.imp.strjoin_real;
0x0000292c move a0, s7 | a0 = s7;
0x00002930 move a2, zero | a2 = 0;
0x00002934 move a1, s4 | a1 = s4;
0x00002938 jalr t9 | t9 ();
0x0000293c move s7, v0 | s7 = v0;
0x00002940 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002944 beqz v0, 0x2d48 | goto label_24;
| }
0x00002948 lw t9, -0x7ee4(gp) | t9 = sym.imp.strv_find_prefix;
0x0000294c move a1, v0 | a1 = v0;
0x00002950 move a0, s3 | a0 = s3;
0x00002954 jalr t9 | t9 ();
0x00002958 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x0000295c beqz v0, 0x2b14 | goto label_25;
| }
0x00002960 lw t9, -0x7fa8(gp) | t9 = sym.imp.strdup;
0x00002964 move a0, v0 | a0 = v0;
0x00002968 jalr t9 | t9 ();
0x0000296c sll a0, s1, 2 | a0 = s1 << 2;
0x00002970 addu a0, s2, a0 | a0 = s2 + a0;
0x00002974 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002978 sw v0, (a0) | *(a0) = v0;
| if (v0 == 0) {
0x0000297c beqz v0, 0x2dbc | goto label_26;
| }
0x00002980 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002984 move a0, s7 | a0 = s7;
0x00002988 addiu s0, s0, 4 | s0 += 4;
0x0000298c jalr t9 | t9 ();
0x00002990 addiu s1, s1, 1 | s1++;
0x00002994 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s0 != 0) {
0x00002998 bnez s0, 0x2900 | goto label_0;
| }
| label_21:
0x0000299c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| label_22:
0x000029a0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000029a4 addiu v0, v0, 0x35bc | v0 += str.PATH;
0x000029a8 sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x000029ac lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000029b0 addiu a1, a1, 0x3580 | a1 += str.TERM;
0x000029b4 addiu v0, v0, 0x35c4 | v0 += str.USER;
0x000029b8 sw v0, 0x40(sp) | *(var_40h) = v0;
0x000029bc lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000029c0 sw a1, 0x38(sp) | *(var_38h) = a1;
0x000029c4 addiu v0, v0, 0x35cc | v0 += str.HOME;
0x000029c8 sw v0, 0x44(sp) | *(var_44h) = v0;
0x000029cc sw zero, 0x48(sp) | *(var_48h) = 0;
0x000029d0 addiu s0, sp, 0x38 | s0 = sp + 0x38;
0x000029d4 lw t9, -0x7ee4(gp) | t9 = sym.imp.strv_find_prefix;
| do {
0x000029d8 move a0, s3 | a0 = s3;
0x000029dc jalr t9 | t9 ();
0x000029e0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x000029e4 beqz v0, 0x2a10 |
0x000029e8 lw t9, -0x7fa8(gp) | t9 = sym.imp.strdup;
0x000029ec move a0, v0 | a0 = v0;
0x000029f0 jalr t9 | t9 ();
0x000029f4 sll a0, s1, 2 | a0 = s1 << 2;
0x000029f8 addu a0, s2, a0 | a0 = s2 + a0;
0x000029fc lw gp, 0x20(sp) | gp = *(var_20h);
0x00002a00 move fp, v0 | fp = v0;
0x00002a04 sw v0, (a0) | *(a0) = v0;
| if (v0 == 0) {
0x00002a08 beqz v0, 0x2cb0 | goto label_27;
| }
0x00002a0c addiu s1, s1, 1 | s1++;
| }
0x00002a10 addiu s0, s0, 4 | s0 += 4;
0x00002a14 lw a1, (s0) | a1 = *(s0);
0x00002a18 lw t9, -0x7ee4(gp) | t9 = sym.imp.strv_find_prefix;
0x00002a1c bnez a1, 0x29d8 |
| } while (a1 != 0);
0x00002a20 lbu v0, 0x5150(s6) | v0 = *((s6 + 20816));
0x00002a24 lw v1, 0x2c(sp) | v1 = *(var_2ch);
| if (v0 == 0) {
0x00002a28 beqz v0, 0x2b28 | goto label_28;
| }
0x00002a2c lw v1, 0x28(sp) | v1 = *(var_28h);
0x00002a30 addiu v0, zero, 1 | v0 = 1;
0x00002a34 lw a1, 0x2c(sp) | a1 = *(var_2ch);
| if (v1 != v0) {
0x00002a38 bne v1, v0, 0x2eec | goto label_29;
| }
0x00002a3c lw t9, -0x7ed0(gp) | t9 = sym.imp.rearrange_stdio;
0x00002a40 addiu a2, zero, 2 | a2 = 2;
0x00002a44 move a0, a1 | a0 = a1;
0x00002a48 jalr t9 | t9 ();
0x00002a4c move s0, v0 | s0 = v0;
0x00002a50 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00002a54 bltz v0, 0x2eac | goto label_30;
| }
| do {
| label_4:
0x00002a58 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002a5c lw t9, -0x7f8c(gp) | t9 = sym.imp.strv_join_prefix;
0x00002a60 lw a0, 0x30(sp) | a0 = *(var_30h);
0x00002a64 move a2, zero | a2 = 0;
0x00002a68 addiu a1, a1, 0x36bc | a1 += 0x36bc;
0x00002a6c jalr t9 | t9 ();
0x00002a70 move fp, v0 | fp = v0;
0x00002a74 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002a78 beqz v0, 0x2fdc | goto label_31;
| }
0x00002a7c lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002a80 move a0, zero | a0 = 0;
0x00002a84 jalr t9 | t9 ();
0x00002a88 slti v0, v0, 6 | v0 = (v0 < 6) ? 1 : 0;
0x00002a8c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002a90 beqz v0, 0x2e64 | goto label_32;
| }
| label_7:
0x00002a94 lw t9, -0x7f18(gp) | t9 = sym.imp.execvpe;
0x00002a98 lw a1, 0x30(sp) | a1 = *(var_30h);
0x00002a9c lw a0, 0x34(sp) | a0 = *(var_34h);
0x00002aa0 move a2, s2 | a2 = s2;
0x00002aa4 jalr t9 | t9 ();
0x00002aa8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002aac lw t9, -0x7ecc(gp) | t9 = sym.imp.__errno_location;
0x00002ab0 jalr t9 | t9 ();
0x00002ab4 nop |
0x00002ab8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002abc move a0, zero | a0 = 0;
0x00002ac0 lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002ac4 lw s0, (v0) | s0 = *(v0);
0x00002ac8 jalr t9 | t9 ();
0x00002acc slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00002ad0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002ad4 beqz v0, 0x2e18 | goto label_33;
| }
0x00002ad8 move a1, s0 | a1 = s0;
| if (s0 < 0) {
0x00002adc bltz s0, 0x2d84 | goto label_34;
| }
| label_6:
0x00002ae0 andi a1, a1, 0xff | a1 &= 0xff;
0x00002ae4 negu s0, a1 | __asm ("negu s0, a1");
| label_5:
0x00002ae8 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002aec move a0, fp | a0 = fp;
0x00002af0 jalr t9 | t9 ();
0x00002af4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002af8 lw t9, -0x7f5c(gp) | t9 = sym.imp.strv_free;
0x00002afc move a0, s2 | a0 = s2;
0x00002b00 jalr t9 | t9 ();
0x00002b04 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002b08 b 0x2838 | goto label_1;
| label_19:
0x00002b0c addiu a0, zero, 1 | a0 = 1;
0x00002b10 b 0x2894 | goto label_2;
| label_25:
0x00002b14 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002b18 move a0, s7 | a0 = s7;
0x00002b1c jalr t9 | t9 ();
0x00002b20 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002b24 b 0x28f4 | goto label_3;
| label_28:
0x00002b28 addiu v0, zero, 3 | v0 = 3;
0x00002b2c lw v1, 0x28(sp) | v1 = *(var_28h);
| if (v1 != v0) {
0x00002b30 beq v1, v0, 0x2b64 |
0x00002b34 addiu v0, zero, 1 | v0 = 1;
0x00002b38 lw a0, 0x2c(sp) | a0 = *(var_2ch);
| if (v1 != v0) {
0x00002b3c bne v1, v0, 0x3014 | goto label_35;
| }
0x00002b40 lw t9, -0x7f50(gp) | t9 = sym.imp.dup2;
0x00002b44 addiu a1, zero, 3 | a1 = 3;
0x00002b48 jalr t9 | t9 ();
0x00002b4c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00002b50 bltz v0, 0x2dd0 | goto label_36;
| }
0x00002b54 lw t9, -0x7f20(gp) | t9 = sym.imp.safe_close;
0x00002b58 lw a0, 0x2c(sp) | a0 = *(var_2ch);
0x00002b5c jalr t9 | t9 ();
0x00002b60 lw gp, 0x20(sp) | gp = *(var_20h);
| }
0x00002b64 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002b68 sll s1, s1, 2 | s1 <<= 2;
0x00002b6c lw t9, -0x7f40(gp) | t9 = sym.imp.__asprintf_chk
0x00002b70 addu s3, s2, s1 | s3 = s2 + s1;
0x00002b74 lw a3, 0x28(sp) | a3 = *(var_28h);
0x00002b78 addiu a2, a2, 0x3628 | a2 += str.LISTEN_FDS_zu;
0x00002b7c addiu a1, zero, 1 | a1 = 1;
0x00002b80 move a0, s3 | a0 = s3;
0x00002b84 jalr t9 | t9 ();
0x00002b88 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00002b8c bltz v0, 0x2ed8 | goto label_37;
| }
0x00002b90 lw t9, -0x7f0c(gp) | t9 = sym.imp.getpid_cached;
0x00002b94 addiu s1, s1, 4 | s1 += 4;
0x00002b98 jalr t9 | t9 ();
0x00002b9c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002ba0 addu s1, s2, s1 | s1 = s2 + s1;
0x00002ba4 move a3, v0 | a3 = v0;
0x00002ba8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002bac lw t9, -0x7f40(gp) | t9 = sym.imp.__asprintf_chk
0x00002bb0 addiu a2, a2, 0x3638 | a2 += str.LISTEN_PID_i;
0x00002bb4 addiu a1, zero, 1 | a1 = 1;
0x00002bb8 move a0, s1 | a0 = s1;
0x00002bbc jalr t9 | t9 ();
0x00002bc0 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 < 0) {
0x00002bc4 bltz v0, 0x2d8c | goto label_38;
| }
0x00002bc8 lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x00002bcc lw s0, 0x5154(s1) | s0 = *((s1 + 5205));
0x00002bd0 lw t9, -0x7f74(gp) | t9 = sym.imp.strv_length;
0x00002bd4 beqz s0, 0x2a58 |
| } while (s0 == 0);
0x00002bd8 move a0, s0 | a0 = s0;
0x00002bdc jalr t9 | t9 ();
0x00002be0 move s6, v0 | s6 = v0;
0x00002be4 addiu v0, zero, 1 | v0 = 1;
0x00002be8 lw gp, 0x20(sp) | gp = *(var_20h);
| if (s6 == v0) {
0x00002bec beq s6, v0, 0x2f5c | goto label_39;
| }
0x00002bf0 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00002bf4 lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
| if (v0 != s6) {
0x00002bf8 beq v0, s6, 0x2c10 |
0x00002bfc move a0, zero | a0 = 0;
0x00002c00 jalr t9 | t9 ();
0x00002c04 slti v0, v0, 4 | v0 = (v0 < 4) ? 1 : 0;
0x00002c08 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002c0c beqz v0, 0x3058 | goto label_40;
| }
| }
| label_9:
0x00002c10 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002c14 lw t9, -0x7f8c(gp) | t9 = sym.imp.strv_join_prefix;
0x00002c18 move a2, zero | a2 = 0;
0x00002c1c addiu a1, a1, 0x36a8 | a1 += 0x36a8;
0x00002c20 move a0, s0 | a0 = s0;
0x00002c24 jalr t9 | t9 ();
0x00002c28 move s1, v0 | s1 = v0;
0x00002c2c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002c30 beqz v0, 0x302c | goto label_41;
| }
0x00002c34 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00002c38 lw t9, -0x7f1c(gp) | t9 = sym.imp.strjoin_real;
0x00002c3c move a2, zero | a2 = 0;
0x00002c40 move a1, v0 | a1 = v0;
0x00002c44 addiu a0, a0, 0x36ac | a0 += str.LISTEN_FDNAMES;
0x00002c48 jalr t9 | t9 ();
0x00002c4c lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002c50 beqz v0, 0x30a4 | goto label_42;
| }
0x00002c54 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002c58 sw v0, 8(s3) | *((s3 + 2)) = v0;
0x00002c5c move a0, s1 | a0 = s1;
0x00002c60 jalr t9 | t9 ();
0x00002c64 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002c68 b 0x2a58 | goto label_4;
| label_17:
0x00002c6c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002c70 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002c74 addiu v0, v0, 0x3588 | v0 += str.__inetd_only_supported_for_single_file_descriptors.;
0x00002c78 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002c7c lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002c80 lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x00002c84 addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x00002c88 lui a1, 0x4000 | a1 = 0x40000000;
0x00002c8c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00002c90 addiu a3, zero, 0x87 | a3 = 0x87;
0x00002c94 addiu a2, a2, 0x352f | a2 += 0x352f;
0x00002c98 addiu a1, a1, 0x16 | a1 += 0x16;
0x00002c9c addiu a0, zero, 3 | a0 = 3;
0x00002ca0 jalr t9 | t9 ();
0x00002ca4 move s0, v0 | s0 = v0;
0x00002ca8 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002cac b 0x2838 | goto label_1;
| label_27:
0x00002cb0 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002cb4 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002cb8 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002cbc addiu a2, zero, 0xb7 | a2 = 0xb7;
| do {
| label_11:
0x00002cc0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002cc4 move a0, zero | a0 = 0;
0x00002cc8 addiu a1, a1, 0x352f | a1 += 0x352f;
0x00002ccc jalr t9 | t9 ();
0x00002cd0 move s0, v0 | s0 = v0;
0x00002cd4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002cd8 b 0x2ae8 | goto label_5;
| label_23:
0x00002cdc lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002ce0 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002ce4 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002ce8 addiu a2, zero, 0x97 | a2 = 0x97;
0x00002cec b 0x2cc0 |
| } while (1);
| label_20:
0x00002cf0 lw v1, 0x4c(sp) | v1 = *(var_4ch);
0x00002cf4 lw v0, (s5) | v0 = *(s5);
0x00002cf8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
| if (v1 != v0) {
0x00002cfc bne v1, v0, 0x30fc | goto label_18;
| }
0x00002d00 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002d04 lw ra, 0x74(sp) | ra = *(var_74h);
0x00002d08 lw fp, 0x70(sp) | fp = *(var_70h);
0x00002d0c lw s7, 0x6c(sp) | s7 = *(var_6ch);
0x00002d10 lw s6, 0x68(sp) | s6 = *(var_68h);
0x00002d14 lw s5, 0x64(sp) | s5 = *(var_64h);
0x00002d18 lw s4, 0x60(sp) | s4 = *(var_60h);
0x00002d1c lw s3, 0x5c(sp) | s3 = *(var_5ch);
0x00002d20 lw s2, 0x58(sp) | s2 = *(var_58h);
0x00002d24 lw s1, 0x54(sp) | s1 = *(var_54h);
0x00002d28 lw s0, 0x50(sp) | s0 = *(var_50h);
0x00002d2c lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002d30 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002d34 addiu a2, zero, 0x8e | a2 = 0x8e;
0x00002d38 addiu a1, a1, 0x352f | a1 += 0x352f;
0x00002d3c move a0, zero | a0 = 0;
0x00002d40 addiu sp, sp, 0x78 |
0x00002d44 jr t9 | t9 ();
| label_24:
0x00002d48 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002d4c lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002d50 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002d54 addiu a2, zero, 0xa0 | a2 = 0xa0;
| do {
0x00002d58 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002d5c move a0, zero | a0 = 0;
0x00002d60 addiu a1, a1, 0x352f | a1 += 0x352f;
0x00002d64 jalr t9 | t9 ();
0x00002d68 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002d6c move a0, s7 | a0 = s7;
0x00002d70 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002d74 move s0, v0 | s0 = v0;
0x00002d78 jalr t9 | t9 ();
0x00002d7c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002d80 b 0x2ae8 | goto label_5;
| label_34:
0x00002d84 negu a1, s0 | __asm ("negu a1, s0");
0x00002d88 b 0x2ae0 | goto label_6;
| label_38:
0x00002d8c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002d90 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002d94 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002d98 addiu a2, zero, 0xd2 | a2 = 0xd2;
| label_8:
0x00002d9c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002da0 move a0, zero | a0 = 0;
0x00002da4 addiu a1, a1, 0x352f | a1 += 0x352f;
0x00002da8 jalr t9 | t9 ();
0x00002dac move s0, v0 | s0 = v0;
0x00002db0 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002db4 move fp, zero | fp = 0;
0x00002db8 b 0x2ae8 | goto label_5;
| label_26:
0x00002dbc lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002dc0 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002dc4 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002dc8 addiu a2, zero, 0xa8 | a2 = 0xa8;
0x00002dcc b 0x2d58 |
| } while (1);
| label_36:
0x00002dd0 lw t9, -0x7ecc(gp) | t9 = sym.imp.__errno_location;
0x00002dd4 jalr t9 | t9 ();
0x00002dd8 nop |
0x00002ddc lw gp, 0x20(sp) | gp = *(var_20h);
0x00002de0 move a0, zero | a0 = 0;
0x00002de4 lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002de8 lw s0, (v0) | s0 = *(v0);
0x00002dec jalr t9 | t9 ();
0x00002df0 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00002df4 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 != 0) {
0x00002df8 beqz v0, 0x2f18 |
0x00002dfc move a1, s0 | a1 = s0;
| if (s0 < 0) {
0x00002e00 bgez s0, 0x2e08 |
0x00002e04 negu a1, s0 | __asm ("negu a1, s0");
| }
0x00002e08 andi a1, a1, 0xff | a1 &= 0xff;
0x00002e0c negu s0, a1 | __asm ("negu s0, a1");
0x00002e10 move fp, zero | fp = 0;
0x00002e14 b 0x2ae8 | goto label_5;
| label_33:
0x00002e18 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00002e1c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002e20 sw v0, 0x18(sp) | *(var_18h) = v0;
0x00002e24 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002e28 lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x00002e2c addiu v0, v0, 0x36d0 | v0 += str.Failed_to_execp__s___s_:__m;
0x00002e30 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002e34 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002e38 move a1, s0 | a1 = s0;
0x00002e3c addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x00002e40 sw fp, 0x1c(sp) | *(var_1ch_2) = fp;
0x00002e44 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00002e48 addiu a3, zero, 0xf8 | a3 = 0xf8;
0x00002e4c addiu a2, a2, 0x352f | a2 += 0x352f;
0x00002e50 addiu a0, zero, 3 | a0 = 3;
0x00002e54 jalr t9 | t9 ();
0x00002e58 move s0, v0 | s0 = v0;
0x00002e5c lw gp, 0x20(sp) | gp = *(var_20h);
0x00002e60 b 0x2ae8 | goto label_5;
| label_32:
0x00002e64 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00002e68 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002e6c sw v0, 0x18(sp) | *(var_18h) = v0;
0x00002e70 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002e74 lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x00002e78 addiu v0, v0, 0x36c0 | v0 += str.Execing__s___s_;
0x00002e7c sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002e80 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002e84 sw fp, 0x1c(sp) | *(var_1ch_2) = fp;
0x00002e88 addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x00002e8c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00002e90 addiu a3, zero, 0xf5 | a3 = 0xf5;
0x00002e94 addiu a2, a2, 0x352f | a2 += 0x352f;
0x00002e98 move a1, zero | a1 = 0;
0x00002e9c addiu a0, zero, 6 | a0 = 6;
0x00002ea0 jalr t9 | t9 ();
0x00002ea4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002ea8 b 0x2a94 | goto label_7;
| label_30:
0x00002eac lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002eb0 move a0, zero | a0 = 0;
0x00002eb4 jalr t9 | t9 ();
0x00002eb8 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00002ebc lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002ec0 beqz v0, 0x2ff0 | goto label_43;
| }
0x00002ec4 negu s0, s0 | __asm ("negu s0, s0");
0x00002ec8 andi s0, s0, 0xff | s0 &= 0xff;
0x00002ecc negu s0, s0 | __asm ("negu s0, s0");
0x00002ed0 move fp, zero | fp = 0;
0x00002ed4 b 0x2ae8 | goto label_5;
| label_37:
0x00002ed8 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002edc lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002ee0 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002ee4 addiu a2, zero, 0xcf | a2 = 0xcf;
0x00002ee8 b 0x2d9c | goto label_8;
| label_29:
0x00002eec lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002ef0 lw t9, -0x7f24(gp) | t9 = sym.imp.log_assert_failed_realm;
0x00002ef4 addiu v0, v0, 0x3dc8 | v0 += 0x3dc8;
0x00002ef8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00002efc addiu a3, zero, 0xbd | a3 = 0xbd;
| label_13:
0x00002f00 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002f04 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00002f08 addiu a2, a2, 0x352f | a2 += 0x352f;
0x00002f0c addiu a1, a1, 0x35d4 | a1 += str.n_fds__1;
0x00002f10 move a0, zero | a0 = 0;
0x00002f14 jalr t9 | t9 ();
| }
0x00002f18 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002f1c lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x00002f20 addiu v0, v0, 0x3608 | v0 += str.Failed_to_dup_connection:__m;
0x00002f24 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00002f28 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002f2c addiu a3, zero, 0xc8 | a3 = 0xc8;
0x00002f30 addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x00002f34 sw v0, 0x10(sp) | *(var_10h_2) = v0;
| label_12:
0x00002f38 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00002f3c move a1, s0 | a1 = s0;
0x00002f40 addiu a2, a2, 0x352f | a2 += 0x352f;
0x00002f44 addiu a0, zero, 3 | a0 = 3;
0x00002f48 jalr t9 | t9 ();
0x00002f4c move s0, v0 | s0 = v0;
0x00002f50 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002f54 move fp, zero | fp = 0;
0x00002f58 b 0x2ae8 | goto label_5;
| label_39:
0x00002f5c lw v0, 0x28(sp) | v0 = *(var_28h);
0x00002f60 addiu s4, s1, 0x5154 | s4 = s1 + 0x5154;
| if (v0 == s6) {
0x00002f64 beq v0, s6, 0x2c10 | goto label_9;
| }
0x00002f68 lw t9, -0x7f64(gp) | t9 = sym.imp.strv_extend;
0x00002f6c b 0x2f84 | goto label_44;
| label_10:
0x00002f70 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00002f74 addiu s6, s6, 1 | s6++;
0x00002f78 lw s0, 0x5154(s1) | s0 = *((s1 + 5205));
| if (v0 == s6) {
0x00002f7c beq v0, s6, 0x2c10 | goto label_9;
| }
0x00002f80 lw t9, -0x7f64(gp) | t9 = sym.imp.strv_extend;
| label_44:
0x00002f84 lw a1, (s0) | a1 = *(s0);
0x00002f88 move a0, s4 | a0 = s4;
0x00002f8c jalr t9 | t9 ();
0x00002f90 move s0, v0 | s0 = v0;
0x00002f94 lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 >= 0) {
0x00002f98 bgez v0, 0x2f70 | goto label_10;
| }
0x00002f9c lw t9, -0x7fb4(gp) | t9 = sym.imp.log_get_max_level_realm;
0x00002fa0 move a0, zero | a0 = 0;
0x00002fa4 jalr t9 | t9 ();
0x00002fa8 slti v0, v0, 3 | v0 = (v0 < 3) ? 1 : 0;
0x00002fac lw gp, 0x20(sp) | gp = *(var_20h);
| if (v0 == 0) {
0x00002fb0 beqz v0, 0x30b8 | goto label_45;
| }
0x00002fb4 negu s0, s0 | __asm ("negu s0, s0");
0x00002fb8 andi s0, s0, 0xff | s0 &= 0xff;
0x00002fbc negu s0, s0 | __asm ("negu s0, s0");
0x00002fc0 move s1, zero | s1 = 0;
| do {
| label_15:
0x00002fc4 lw t9, -0x7f34(gp) | t9 = sym.imp.free;
0x00002fc8 move a0, s1 | a0 = s1;
0x00002fcc jalr t9 | t9 ();
0x00002fd0 move fp, zero | fp = 0;
0x00002fd4 lw gp, 0x20(sp) | gp = *(var_20h);
0x00002fd8 b 0x2ae8 | goto label_5;
| label_31:
0x00002fdc lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00002fe0 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00002fe4 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00002fe8 addiu a2, zero, 0xf3 | a2 = 0xf3;
0x00002fec b 0x2cc0 | goto label_11;
| label_43:
0x00002ff0 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00002ff4 lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x00002ff8 addiu v0, v0, 0x35e0 | v0 += str.Failed_to_move_fd_to_stdinstdout:__m;
0x00002ffc sw v0, 0x14(sp) | *(var_14h) = v0;
0x00003000 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003004 addiu a3, zero, 0xc1 | a3 = 0xc1;
0x00003008 addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x0000300c sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00003010 b 0x2f38 | goto label_12;
| label_35:
0x00003014 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003018 lw t9, -0x7f24(gp) | t9 = sym.imp.log_assert_failed_realm;
0x0000301c addiu v0, v0, 0x3dc8 | v0 += 0x3dc8;
0x00003020 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00003024 addiu a3, zero, 0xc5 | a3 = 0xc5;
0x00003028 b 0x2f00 | goto label_13;
| label_41:
0x0000302c lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x00003030 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x00003034 addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x00003038 addiu a2, zero, 0xe7 | a2 = 0xe7;
| label_14:
0x0000303c lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00003040 move a0, zero | a0 = 0;
0x00003044 addiu a1, a1, 0x352f | a1 += 0x352f;
0x00003048 jalr t9 | t9 ();
0x0000304c move s0, v0 | s0 = v0;
0x00003050 lw gp, 0x20(sp) | gp = *(var_20h);
0x00003054 b 0x2fc4 |
| } while (1);
| label_40:
0x00003058 lw v0, 0x28(sp) | v0 = *(var_28h);
0x0000305c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00003060 sw v0, 0x1c(sp) | *(var_1ch_2) = v0;
0x00003064 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003068 lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x0000306c addiu v0, v0, 0x3664 | v0 += str.The_number_of_fd_names_is_different_than_number_of_fds:__zu_vs__zu;
0x00003070 sw v0, 0x14(sp) | *(var_14h) = v0;
0x00003074 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00003078 sw s6, 0x18(sp) | *(var_18h) = s6;
0x0000307c addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x00003080 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00003084 addiu a3, zero, 0xe3 | a3 = 0xe3;
0x00003088 addiu a2, a2, 0x352f | a2 += 0x352f;
0x0000308c move a1, zero | a1 = 0;
0x00003090 addiu a0, zero, 4 | a0 = 4;
0x00003094 jalr t9 | t9 ();
0x00003098 lw gp, 0x20(sp) | gp = *(var_20h);
0x0000309c lw s0, 0x5154(s1) | s0 = *((s1 + 5205));
0x000030a0 b 0x2c10 | goto label_9;
| label_42:
0x000030a4 lw a3, -0x7fdc(gp) | a3 = *((gp - 8183));
0x000030a8 lw t9, -0x7fb0(gp) | t9 = sym.imp.log_oom_internal;
0x000030ac addiu a3, a3, 0x3dd8 | a3 += str.exec_process;
0x000030b0 addiu a2, zero, 0xeb | a2 = 0xeb;
0x000030b4 b 0x303c | goto label_14;
| label_45:
0x000030b8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000030bc lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000030c0 addiu v0, v0, 0x3648 | v0 += str.Failed_to_extend_strv:__m;
0x000030c4 sw v0, 0x14(sp) | *(var_14h) = v0;
0x000030c8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x000030cc lw t9, -0x7f80(gp) | t9 = sym.imp.log_internal_realm;
0x000030d0 addiu v0, v0, 0x3dd8 | v0 += str.exec_process;
0x000030d4 move a1, s0 | a1 = s0;
0x000030d8 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x000030dc addiu a3, zero, 0xe0 | a3 = 0xe0;
0x000030e0 addiu a2, a2, 0x352f | a2 += 0x352f;
0x000030e4 addiu a0, zero, 3 | a0 = 3;
0x000030e8 jalr t9 | t9 ();
0x000030ec move s0, v0 | s0 = v0;
0x000030f0 lw gp, 0x20(sp) | gp = *(var_20h);
0x000030f4 move s1, zero | s1 = 0;
0x000030f8 b 0x2fc4 | goto label_15;
| label_18:
0x000030fc lw t9, -0x7f88(gp) | t9 = sym.imp.__stack_chk_fail;
0x00003100 jalr t9 | t9 ();
0x00003104 nop |
0x00003108 nop |
0x0000310c nop |
| }
[*] Function printf used 3 times systemd-socket-activate