[*] Binary protection state of dbus-cleanup-sockets
Full RELRO Canary found NX disabled PIE enabled No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of dbus-cleanup-sockets
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/dbus-cleanup-sockets @ 0x1580 */
| #include <stdint.h>
|
; (fcn) fcn.00001580 () | void fcn_00001580 () {
0x00001580 lui gp, 2 |
0x00001584 addiu gp, gp, -0x7570 |
0x00001588 addu gp, gp, t9 | gp += t9;
0x0000158c addiu sp, sp, -0x20 |
0x00001590 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00001594 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001598 sw gp, 0x10(sp) | *(var_10h_2) = gp;
0x0000159c sw ra, 0x1c(sp) | *(var_1ch_2) = ra;
0x000015a0 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x000015a4 move a3, a0 | a3 = a0;
0x000015a8 lw a0, (v0) | a0 = *(v0);
0x000015ac addiu a2, a2, 0x18a0 | a2 += str.Allocation_of__d_bytes_failed_n;
0x000015b0 addiu a1, zero, 1 | a1 = 1;
0x000015b4 jalr t9 | t9 ();
0x000015b8 lw gp, 0x10(sp) | gp = *(var_10h_2);
0x000015bc lw t9, -0x7f74(gp) | t9 = sym.imp.exit;
0x000015c0 addiu a0, zero, 1 | a0 = 1;
0x000015c4 jalr t9 | t9 ();
0x000015c8 nop |
0x000015cc nop |
| }
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/dbus-cleanup-sockets @ 0xa90 */
| #include <stdint.h>
|
; (fcn) main () | int32_t main () {
| /* [13] -r-x section size 3056 named .text */
0x00000a90 lui gp, 2 |
0x00000a94 addiu gp, gp, -0x6a80 |
0x00000a98 addu gp, gp, t9 | gp += t9;
0x00000a9c lw v0, -0x7f4c(gp) | v0 = *((gp - 8147));
0x00000aa0 addiu sp, sp, -0xe8 |
0x00000aa4 move v1, v0 | v1 = v0;
0x00000aa8 sw gp, 0x18(sp) | *(var_18h) = gp;
0x00000aac sw ra, 0xe4(sp) | *(var_e4h) = ra;
0x00000ab0 sw fp, 0xe0(sp) | *(var_e0h) = fp;
0x00000ab4 sw s7, 0xdc(sp) | *(var_dch) = s7;
0x00000ab8 sw s6, 0xd8(sp) | *(var_d8h) = s6;
0x00000abc sw s5, 0xd4(sp) | *(var_d4h) = s5;
0x00000ac0 sw s4, 0xd0(sp) | *(var_d0h) = s4;
0x00000ac4 sw s3, 0xcc(sp) | *(var_cch) = s3;
0x00000ac8 sw s2, 0xc8(sp) | *(var_c8h) = s2;
0x00000acc sw s1, 0xc4(sp) | *(var_c4h) = s1;
0x00000ad0 sw s0, 0xc0(sp) | *(var_c0h) = s0;
0x00000ad4 lw v1, (v1) | v1 = *(v1);
0x00000ad8 sw v0, 0x44(sp) | *(var_44h) = v0;
0x00000adc slti v0, a0, 2 | v0 = (a0 < 2) ? 1 : 0;
0x00000ae0 sw v1, 0xbc(sp) | *(var_bch) = v1;
0x00000ae4 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v0 != 0) {
0x00000ae8 bnez v0, 0x12a8 | goto label_12;
| }
0x00000aec lw s4, -0x7fdc(gp) | s4 = *((gp - 8183));
0x00000af0 lw s6, -0x7fdc(gp) | s6 = *((gp - 8183));
0x00000af4 lw s5, -0x7fdc(gp) | s5 = *((gp - 8183));
0x00000af8 lw fp, -0x7fdc(gp) | fp = *((gp - 8183));
0x00000afc addiu v0, v0, 0x19e8 | v0 += 0x19e8;
0x00000b00 move s7, a0 | s7 = a0;
0x00000b04 addiu s1, a1, 4 | s1 = a1 + 4;
0x00000b08 sw zero, 0x28(sp) | *(var_28h) = 0;
0x00000b0c move s3, zero | s3 = 0;
0x00000b10 addiu s2, zero, 1 | s2 = 1;
0x00000b14 addiu s4, s4, 0x18c8 | s4 += str.__help;
0x00000b18 addiu s6, s6, 0x18d0 | s6 += 0x18d0;
0x00000b1c addiu s5, s5, 0x18d4 | s5 += 0x18d4;
0x00000b20 addiu fp, fp, 0x18d8 | fp += str.__version;
0x00000b24 sw v0, 0x24(sp) | *(var_24h) = v0;
0x00000b28 b 0xb5c |
| while (s3 == 0) {
0x00000b2c lw a1, 0x24(sp) | a1 = *(var_24h);
0x00000b30 move a0, s0 | a0 = s0;
0x00000b34 jalr t9 | t9 ();
0x00000b38 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000b3c beqz v0, 0xf04 | goto label_13;
| }
0x00000b40 lb v0, (s0) | v0 = *(s0);
0x00000b44 addiu v1, zero, 0x2d | v1 = 0x2d;
0x00000b48 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
| if (v0 == v1) {
0x00000b4c beq v0, v1, 0x1324 | goto label_14;
| }
| label_3:
0x00000b50 addiu s2, s2, 1 | s2++;
0x00000b54 addiu s1, s1, 4 | s1 += 4;
| if (s7 == s2) {
0x00000b58 beq s7, s2, 0xbe4 | goto label_15;
| }
| label_0:
0x00000b5c lw s0, (s1) | s0 = *(s1);
0x00000b60 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000b64 move a1, s4 | a1 = s4;
0x00000b68 move a0, s0 | a0 = s0;
0x00000b6c jalr t9 | t9 ();
0x00000b70 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000b74 beqz v0, 0x12d0 | goto label_16;
| }
0x00000b78 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000b7c move a1, s6 | a1 = s6;
0x00000b80 move a0, s0 | a0 = s0;
0x00000b84 jalr t9 | t9 ();
0x00000b88 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000b8c beqz v0, 0x12d0 | goto label_16;
| }
0x00000b90 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000b94 move a1, s5 | a1 = s5;
0x00000b98 move a0, s0 | a0 = s0;
0x00000b9c jalr t9 | t9 ();
0x00000ba0 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000ba4 beqz v0, 0x12d0 | goto label_16;
| }
0x00000ba8 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000bac move a1, fp | a1 = fp;
0x00000bb0 move a0, s0 | a0 = s0;
0x00000bb4 jalr t9 | t9 ();
0x00000bb8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000bbc beqz v0, 0x12e0 | goto label_17;
| }
0x00000bc0 lw t9, -0x7f34(gp) | t9 = sym.imp.strcmp;
0x00000bc4 beqz s3, 0xb2c |
| }
0x00000bc8 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00000bcc lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
| if (v0 != 0) {
0x00000bd0 bnez v0, 0x130c | goto label_18;
| }
0x00000bd4 addiu s2, s2, 1 | s2++;
0x00000bd8 sw s0, 0x28(sp) | *(var_28h) = s0;
0x00000bdc addiu s1, s1, 4 | s1 += 4;
| if (s7 != s2) {
0x00000be0 bne s7, s2, 0xb5c | goto label_0;
| }
| label_15:
0x00000be4 lw v0, 0x28(sp) | v0 = *(var_28h);
0x00000be8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| if (v0 == 0) {
0x00000bec beqz v0, 0x12ac | goto label_19;
| }
| label_11:
0x00000bf0 lw t9, -0x7f68(gp) | t9 = sym.imp.malloc;
0x00000bf4 addiu a0, zero, 8 | a0 = 8;
0x00000bf8 jalr t9 | t9 ();
0x00000bfc sw v0, 0x34(sp) | *(var_34h) = v0;
0x00000c00 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000c04 beqz v0, 0x13b0 | goto label_20;
| }
0x00000c08 lw t9, -0x7fb4(gp) | t9 = sym.imp.opendir;
0x00000c0c lw a0, 0x28(sp) | a0 = *(var_28h);
0x00000c10 jalr t9 | t9 ();
0x00000c14 move s2, v0 | s2 = v0;
0x00000c18 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000c1c beqz v0, 0x1340 | goto label_21;
| }
0x00000c20 lw s3, -0x7fdc(gp) | s3 = *((gp - 8183));
0x00000c24 addiu s4, zero, 2 | s4 = 2;
0x00000c28 move s7, zero | s7 = 0;
0x00000c2c addiu s3, s3, 0x1a4c | s3 += str.dbus_;
0x00000c30 addiu s6, zero, -1 | s6 = -1;
| do {
0x00000c34 lw t9, -0x7f94(gp) | t9 = sym.imp.readdir64;
0x00000c38 move a0, s2 | a0 = s2;
0x00000c3c jalr t9 | t9 ();
0x00000c40 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000c44 beqz v0, 0xd3c | goto label_22;
| }
| label_1:
0x00000c48 lw t9, -0x7fa4(gp) | t9 = sym.imp.strncmp;
0x00000c4c addiu s0, v0, 0x13 | s0 = v0 + 0x13;
0x00000c50 addiu a2, zero, 5 | a2 = 5;
0x00000c54 move a1, s3 | a1 = s3;
0x00000c58 move a0, s0 | a0 = s0;
0x00000c5c jalr t9 | t9 ();
0x00000c60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c64 bnez v0, 0xc34 |
| } while (v0 != 0);
0x00000c68 lw t9, -0x7f68(gp) | t9 = sym.imp.malloc;
0x00000c6c addiu a0, zero, 0x10 | a0 = 0x10;
0x00000c70 jalr t9 | t9 ();
0x00000c74 move fp, v0 | fp = v0;
0x00000c78 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000c7c beqz v0, 0x1330 | goto label_23;
| }
0x00000c80 lw t9, -0x7f78(gp) | t9 = sym.imp.strlen;
0x00000c84 lw a0, 0x28(sp) | a0 = *(var_28h);
0x00000c88 jalr t9 | t9 ();
0x00000c8c lw gp, 0x18(sp) | gp = *(var_18h);
0x00000c90 move a0, s0 | a0 = s0;
0x00000c94 lw t9, -0x7f78(gp) | t9 = sym.imp.strlen;
0x00000c98 move s1, v0 | s1 = v0;
0x00000c9c jalr t9 | t9 ();
0x00000ca0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ca4 addu v0, s1, v0 | v0 = s1 + v0;
0x00000ca8 addiu s5, v0, 2 | s5 = v0 + 2;
0x00000cac lw t9, -0x7f68(gp) | t9 = sym.imp.malloc;
0x00000cb0 move a0, s5 | a0 = s5;
0x00000cb4 jalr t9 | t9 ();
0x00000cb8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 == 0) {
0x00000cbc beqz v0, 0x1394 | goto label_24;
| }
0x00000cc0 lw t9, -0x7f48(gp) | t9 = sym.imp.memcpy;
0x00000cc4 lw a1, 0x28(sp) | a1 = *(var_28h);
0x00000cc8 move a2, s1 | a2 = s1;
0x00000ccc move a0, v0 | a0 = v0;
0x00000cd0 sw v0, (fp) | *(fp) = v0;
0x00000cd4 jalr t9 | t9 ();
0x00000cd8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000cdc move v1, v0 | v1 = v0;
0x00000ce0 addu v0, v0, s1 | v0 += s1;
0x00000ce4 addiu a1, zero, 0x2f | a1 = 0x2f;
0x00000ce8 lw t9, -0x7f60(gp) | t9 = sym.imp.strcpy;
0x00000cec addiu a0, s1, 1 | a0 = s1 + 1;
0x00000cf0 sb a1, (v0) | *(v0) = a1;
0x00000cf4 addu a0, v1, a0 | a0 = v1 + a0;
0x00000cf8 move a1, s0 | a1 = s0;
0x00000cfc jalr t9 | t9 ();
0x00000d00 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d04 sw s6, 4(fp) | *(arg_4h) = s6;
0x00000d08 sw zero, 8(fp) | *(arg_8h) = 0;
0x00000d0c sw zero, 0xc(fp) | *(arg_ch) = 0;
| if (s4 == s7) {
0x00000d10 beq s4, s7, 0x11d8 | goto label_25;
| }
| label_8:
0x00000d14 lw v1, 0x34(sp) | v1 = *(var_34h);
0x00000d18 sll v0, s7, 2 | v0 = s7 << 2;
0x00000d1c addu v0, v1, v0 | v0 = v1 + v0;
0x00000d20 lw t9, -0x7f94(gp) | t9 = sym.imp.readdir64;
0x00000d24 sw fp, (v0) | *(v0) = fp;
0x00000d28 move a0, s2 | a0 = s2;
0x00000d2c jalr t9 | t9 ();
0x00000d30 addiu s7, s7, 1 | s7++;
0x00000d34 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x00000d38 bnez v0, 0xc48 | goto label_1;
| }
| label_22:
0x00000d3c lw t9, -0x7fb0(gp) | t9 = sym.imp.closedir;
0x00000d40 move a0, s2 | a0 = s2;
0x00000d44 jalr t9 | t9 ();
0x00000d48 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000d4c lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000d50 sw v0, 0x2c(sp) | *(var_2ch) = v0;
0x00000d54 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000d58 addiu v0, v0, 0x1bc0 | v0 += str.Warning:_unexpected_error_connecting_to_socket__s:__s_n;
0x00000d5c sw v0, 0x3c(sp) | *(var_3ch) = v0;
0x00000d60 lw v0, -0x7fd8(gp) | v0 = *((gp - 8182));
0x00000d64 sw v0, 0x30(sp) | *(var_30h) = v0;
0x00000d68 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000d6c addiu v0, v0, 0x1bf8 | v0 += str.Warning:_Failed_to_delete__s:__s_n;
0x00000d70 sw v0, 0x40(sp) | *(var_40h) = v0;
0x00000d74 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
0x00000d78 addiu v0, v0, 0x1b90 | v0 += str.Warning:_failed_set_socket__s_nonblocking:__s_n;
0x00000d7c sw v0, 0x38(sp) | *(var_38h) = v0;
| if (s7 == 0) {
0x00000d80 beqz s7, 0xf98 | goto label_26;
| }
| label_6:
0x00000d84 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00000d88 lw s0, (v0) | s0 = *(v0);
0x00000d8c lw v0, 4(s0) | v0 = *((s0 + 1));
0x00000d90 lw v0, 0x34(sp) | v0 = *(var_34h);
| if (v0 >= 0) {
0x00000d94 bgez v0, 0xed4 | goto label_27;
| }
0x00000d98 move s5, zero | s5 = 0;
0x00000d9c addiu s3, v0, 4 | s3 = v0 + 4;
0x00000da0 addiu s2, zero, 1 | s2 = 1;
| label_2:
0x00000da4 lw v0, 8(s0) | v0 = *((s0 + 2));
| if (v0 != 0) {
0x00000da8 bnez v0, 0xeb8 | goto label_4;
| }
0x00000dac nop |
0x00000db0 lw v0, 0xc(s0) | v0 = *((s0 + 3));
0x00000db4 slti v1, v0, 6 | v1 = (v0 < 6) ? 1 : 0;
0x00000db8 lw t9, -0x7f98(gp) | t9 = sym.imp.socket;
| if (v1 == 0) {
0x00000dbc beqz v1, 0xf0c | goto label_28;
| }
0x00000dc0 addiu v0, v0, 1 | v0++;
0x00000dc4 sw v0, 0xc(s0) | *((s0 + 3)) = v0;
0x00000dc8 move a2, zero | a2 = 0;
0x00000dcc addiu a1, zero, 2 | a1 = 2;
0x00000dd0 addiu a0, zero, 1 | a0 = 1;
0x00000dd4 jalr t9 | t9 ();
0x00000dd8 move s1, v0 | s1 = v0;
0x00000ddc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000de0 sw v0, 4(s0) | *((s0 + 1)) = v0;
| if (v0 < 0) {
0x00000de4 bltz v0, 0x1160 | goto label_29;
| }
0x00000de8 lw t9, -0x7f80(gp) | t9 = sym.imp.fcntl;
0x00000dec addiu a2, zero, 0x80 | a2 = 0x80;
0x00000df0 addiu a1, zero, 4 | a1 = 4;
0x00000df4 move a0, v0 | a0 = v0;
0x00000df8 jalr t9 | t9 ();
0x00000dfc lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e00 lw s4, (s0) | s4 = *(s0);
| if (v0 < 0) {
0x00000e04 bltz v0, 0x10f8 | goto label_30;
| }
0x00000e08 lw t9, -0x7f84(gp) | t9 = sym.imp.memset;
0x00000e0c addiu v1, sp, 0x4e | v1 = sp + 0x4e;
0x00000e10 move a0, v1 | a0 = v1;
0x00000e14 addiu a2, zero, 0x6c | a2 = 0x6c;
0x00000e18 move a1, zero | a1 = 0;
0x00000e1c jalr t9 | t9 ();
0x00000e20 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e24 move a0, v0 | a0 = v0;
0x00000e28 addiu v0, zero, 1 | v0 = 1;
0x00000e2c lw t9, -0x7f8c(gp) | t9 = sym.imp.strncpy;
0x00000e30 addiu a2, zero, 0x6b | a2 = 0x6b;
0x00000e34 move a1, s4 | a1 = s4;
0x00000e38 sh v0, 0x4c(sp) | *(var_4ch) = v0;
0x00000e3c jalr t9 | t9 ();
0x00000e40 addiu fp, sp, 0x4c | fp = sp + 0x4c;
0x00000e44 addiu s6, zero, 4 | s6 = 4;
0x00000e48 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e4c b 0xe6c |
| while (v0 < 0) {
0x00000e50 lw t9, -0x7f88(gp) | t9 = sym.imp.__errno_location;
0x00000e54 jalr t9 | t9 ();
0x00000e58 nop |
0x00000e5c lw a0, (v0) | a0 = *(v0);
0x00000e60 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e64 move v1, v0 | v1 = v0;
| if (a0 != s6) {
0x00000e68 bne a0, s6, 0x1050 | goto label_31;
| }
0x00000e6c lw t9, -0x7fa8(gp) | t9 = sym.imp.connect;
0x00000e70 addiu a2, zero, 0x6e | a2 = 0x6e;
0x00000e74 move a1, fp | a1 = fp;
0x00000e78 move a0, s1 | a0 = s1;
0x00000e7c jalr t9 | t9 ();
0x00000e80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000e84 bltz v0, 0xe50 |
| }
0x00000e88 lw a1, 0x2c(sp) | a1 = *(var_2ch);
0x00000e8c lw t9, -0x7fac(gp) | t9 = sym.imp.close;
0x00000e90 addiu v1, zero, 3 | v1 = 3;
0x00000e94 lw v0, 0x2108(a1) | v0 = *((a1 + 2114));
0x00000e98 sw v1, 8(s0) | *((s0 + 2)) = v1;
0x00000e9c addiu v0, v0, 1 | v0++;
0x00000ea0 move a0, s1 | a0 = s1;
0x00000ea4 sw v0, 0x2108(a1) | *((a1 + 2114)) = v0;
0x00000ea8 jalr t9 | t9 ();
0x00000eac addiu v0, zero, -1 | v0 = -1;
0x00000eb0 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000eb4 sw v0, 4(s0) | *((s0 + 1)) = v0;
| if (s2 == s7) {
| label_4:
0x00000eb8 beq s2, s7, 0xf5c | goto label_32;
| }
0x00000ebc nop |
| label_5:
0x00000ec0 lw s0, (s3) | s0 = *(s3);
0x00000ec4 addiu s2, s2, 1 | s2++;
0x00000ec8 lw v0, 4(s0) | v0 = *((s0 + 1));
0x00000ecc addiu s3, s3, 4 | s3 += 4;
| if (v0 < 0) {
0x00000ed0 bltz v0, 0xda4 | goto label_2;
| }
| label_27:
0x00000ed4 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00000ed8 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00000edc lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x00000ee0 lw a0, (v0) | a0 = *(v0);
0x00000ee4 lw a3, 8(s0) | a3 = *((s0 + 2));
0x00000ee8 addiu a2, a2, 0x1abc | a2 += str.Internal_error__socket_has_fd__kept_open_while_status___d_n;
| label_9:
0x00000eec addiu a1, zero, 1 | a1 = 1;
0x00000ef0 jalr t9 | t9 ();
0x00000ef4 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000ef8 lw t9, -0x7f74(gp) | t9 = sym.imp.exit;
0x00000efc addiu a0, zero, 1 | a0 = 1;
0x00000f00 jalr t9 | t9 ();
| label_13:
0x00000f04 addiu s3, zero, 1 | s3 = 1;
0x00000f08 b 0xb50 | goto label_3;
| label_28:
0x00000f0c lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00000f10 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00000f14 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x00000f18 lw a0, (v0) | a0 = *(v0);
0x00000f1c lw a3, (s0) | a3 = *(s0);
0x00000f20 addiu a2, a2, 0x1af8 | a2 += str.Warning:_giving_up_on_socket__s_after_several_retries__unable_to_determine_sockets_status_n;
0x00000f24 addiu a1, zero, 1 | a1 = 1;
0x00000f28 jalr t9 | t9 ();
0x00000f2c lw a0, 4(s0) | a0 = *((s0 + 1));
0x00000f30 addiu v0, zero, 1 | v0 = 1;
0x00000f34 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f38 sw v0, 8(s0) | *((s0 + 2)) = v0;
| if (a0 < 0) {
0x00000f3c bltz a0, 0xeb8 | goto label_4;
| }
0x00000f40 lw t9, -0x7fac(gp) | t9 = sym.imp.close;
0x00000f44 jalr t9 | t9 ();
0x00000f48 nop |
0x00000f4c addiu v0, zero, -1 | v0 = -1;
0x00000f50 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f54 sw v0, 4(s0) | *((s0 + 1)) = v0;
| if (s2 != s7) {
0x00000f58 bne s2, s7, 0xec0 | goto label_5;
| }
| label_32:
0x00000f5c lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
| if (s5 == 0) {
0x00000f60 beqz s5, 0x121c | goto label_33;
| }
0x00000f64 lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00000f68 lw t9, -0x7f5c(gp) | t9 = sym.imp.fwrite;
0x00000f6c lw a3, (v0) | a3 = *(v0);
0x00000f70 addiu a2, zero, 0x41 | a2 = 0x41;
0x00000f74 addiu a1, zero, 1 | a1 = 1;
0x00000f78 addiu a0, a0, 0x1a78 | a0 += str.Unable_to_determine_state_of_some_sockets__retrying_in_2_seconds_n;
0x00000f7c jalr t9 | t9 ();
0x00000f80 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000f84 lw t9, -0x7f50(gp) | t9 = sym.imp.sleep;
0x00000f88 addiu a0, zero, 2 | a0 = 2;
0x00000f8c jalr t9 | t9 ();
0x00000f90 lw gp, 0x18(sp) | gp = *(var_18h);
| if (s7 != 0) {
0x00000f94 bnez s7, 0xd84 | goto label_6;
| }
| label_26:
0x00000f98 lw s4, -0x7fd8(gp) | s4 = *((gp - 8182));
0x00000f9c lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00000fa0 lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x00000fa4 lw v0, 0x2108(s4) | v0 = *((s4 + 2114));
0x00000fa8 lw a0, 0x2104(s3) | a0 = *((s3 + 2113));
0x00000fac lw v1, 0x2100(s1) | v1 = *((s1 + 2112));
0x00000fb0 negu v0, v0 | __asm ("negu v0, v0");
0x00000fb4 subu v0, v0, a0 | __asm ("subu v0, v0, a0");
0x00000fb8 addu v0, v0, v1 | v0 += v1;
0x00000fbc sw v0, 0x2100(s1) | *((s1 + 2112)) = v0;
0x00000fc0 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00000fc4 lw v1, 0x2100(s1) | v1 = *((s1 + 2112));
| if (v0 != 0) {
0x00000fc8 beqz v0, 0xfe0 |
0x00000fcc lw t9, -0x7f44(gp) | t9 = sym.imp.free;
| label_10:
0x00000fd0 lw a0, 0x34(sp) | a0 = *(var_34h);
0x00000fd4 jalr t9 | t9 ();
0x00000fd8 lw gp, 0x18(sp) | gp = *(var_18h);
0x00000fdc lw v1, 0x2100(s1) | v1 = *((s1 + 2112));
| }
0x00000fe0 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x00000fe4 lw v0, 0x2108(s4) | v0 = *((s4 + 2114));
0x00000fe8 lw t9, -0x7f90(gp) | t9 = sym.imp.__printf_chk;
0x00000fec lw a2, 0x2104(s3) | a2 = *((s3 + 2113));
0x00000ff0 lw a3, 0x28(sp) | a3 = *(var_28h);
0x00000ff4 sw v1, 0x14(sp) | *(var_14h_2) = v1;
0x00000ff8 addiu a0, zero, 1 | a0 = 1;
0x00000ffc sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001000 addiu a1, a1, 0x1c1c | a1 += str.Cleaned_up__d_sockets_in__s___d_sockets_are_still_in_use___d_in_unknown_state_n;
0x00001004 jalr t9 | t9 ();
0x00001008 lw v0, 0x44(sp) | v0 = *(var_44h);
0x0000100c lw a0, 0xbc(sp) | a0 = *(var_bch);
0x00001010 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001014 lw v1, (v0) | v1 = *(v0);
0x00001018 move v0, zero | v0 = 0;
| if (a0 != v1) {
0x0000101c bne a0, v1, 0x13a4 | goto label_34;
| }
0x00001020 lw ra, 0xe4(sp) | ra = *(var_e4h);
0x00001024 lw fp, 0xe0(sp) | fp = *(var_e0h);
0x00001028 lw s7, 0xdc(sp) | s7 = *(var_dch);
0x0000102c lw s6, 0xd8(sp) | s6 = *(var_d8h);
0x00001030 lw s5, 0xd4(sp) | s5 = *(var_d4h);
0x00001034 lw s4, 0xd0(sp) | s4 = *(var_d0h);
0x00001038 lw s3, 0xcc(sp) | s3 = *(var_cch);
0x0000103c lw s2, 0xc8(sp) | s2 = *(var_c8h);
0x00001040 lw s1, 0xc4(sp) | s1 = *(var_c4h);
0x00001044 lw s0, 0xc0(sp) | s0 = *(var_c0h);
0x00001048 addiu sp, sp, 0xe8 |
0x0000104c jr ra | return v0;
| label_31:
0x00001050 addiu v0, zero, 0x92 | v0 = 0x92;
0x00001054 addiu v0, zero, 0x96 | v0 = 0x96;
| if (a0 == v0) {
0x00001058 beq a0, v0, 0x10c0 | goto label_35;
| }
0x0000105c addiu v0, zero, 0xb | v0 = 0xb;
| if (a0 == v0) {
0x00001060 beq a0, v0, 0x113c | goto label_36;
| }
0x00001064 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
| if (a0 == v0) {
0x00001068 beq a0, v0, 0x113c | goto label_36;
| }
0x0000106c lw t9, -0x7f6c(gp) | t9 = sym.imp.strerror;
0x00001070 lw s6, (v0) | s6 = *(v0);
0x00001074 jalr t9 | t9 ();
0x00001078 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000107c lw a2, 0x3c(sp) | a2 = *(var_3ch);
0x00001080 move a3, s4 | a3 = s4;
0x00001084 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
| label_7:
0x00001088 addiu a1, zero, 1 | a1 = 1;
0x0000108c move a0, s6 | a0 = s6;
0x00001090 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001094 jalr t9 | t9 ();
0x00001098 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000109c addiu v0, zero, 1 | v0 = 1;
0x000010a0 sw v0, 8(s0) | *((s0 + 2)) = v0;
0x000010a4 lw t9, -0x7fac(gp) | t9 = sym.imp.close;
| do {
0x000010a8 move a0, s1 | a0 = s1;
0x000010ac jalr t9 | t9 ();
0x000010b0 addiu v0, zero, -1 | v0 = -1;
0x000010b4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000010b8 sw v0, 4(s0) | *((s0 + 1)) = v0;
0x000010bc b 0xeb8 | goto label_4;
| label_35:
0x000010c0 sw v1, 0x24(sp) | *(var_24h) = v1;
0x000010c4 lw v1, 0x30(sp) | v1 = *(var_30h);
0x000010c8 lw t9, -0x7f58(gp) | t9 = sym.imp.unlink;
0x000010cc move a0, s4 | a0 = s4;
0x000010d0 lw v0, 0x2104(v1) | v0 = *((v1 + 2113));
0x000010d4 addiu v0, v0, 1 | v0++;
0x000010d8 sw v0, 0x2104(v1) | *((v1 + 2113)) = v0;
0x000010dc jalr t9 | t9 ();
0x000010e0 lw gp, 0x18(sp) | gp = *(var_18h);
0x000010e4 lw v1, 0x24(sp) | v1 = *(var_24h);
| if (v0 < 0) {
0x000010e8 bltz v0, 0x11b0 | goto label_37;
| }
0x000010ec lw t9, -0x7fac(gp) | t9 = sym.imp.close;
0x000010f0 sw s6, 8(s0) | *((s0 + 2)) = s6;
0x000010f4 b 0x10a8 |
| } while (1);
| label_30:
0x000010f8 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x000010fc lw t9, -0x7f88(gp) | t9 = sym.imp.__errno_location;
0x00001100 lw s6, (v0) | s6 = *(v0);
0x00001104 jalr t9 | t9 ();
0x00001108 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000110c lw t9, -0x7f6c(gp) | t9 = sym.imp.strerror;
0x00001110 lw a0, (v0) | a0 = *(v0);
0x00001114 jalr t9 | t9 ();
0x00001118 lw gp, 0x18(sp) | gp = *(var_18h);
0x0000111c lw a2, 0x38(sp) | a2 = *(var_38h);
0x00001120 move a3, s4 | a3 = s4;
0x00001124 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x00001128 addiu a1, zero, 1 | a1 = 1;
0x0000112c move a0, s6 | a0 = s6;
0x00001130 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001134 jalr t9 | t9 ();
0x00001138 lw gp, 0x18(sp) | gp = *(var_18h);
| label_36:
0x0000113c lw t9, -0x7fac(gp) | t9 = sym.imp.close;
0x00001140 sw zero, 8(s0) | *((s0 + 2)) = 0;
0x00001144 move a0, s1 | a0 = s1;
0x00001148 jalr t9 | t9 ();
0x0000114c addiu v0, zero, -1 | v0 = -1;
0x00001150 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001154 sw v0, 4(s0) | *((s0 + 1)) = v0;
0x00001158 addiu s5, s5, 1 | s5++;
0x0000115c b 0xeb8 | goto label_4;
| label_29:
0x00001160 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00001164 lw t9, -0x7f88(gp) | t9 = sym.imp.__errno_location;
0x00001168 addiu s5, s5, 1 | s5++;
0x0000116c lw s1, (v0) | s1 = *(v0);
0x00001170 jalr t9 | t9 ();
0x00001174 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001178 lw t9, -0x7f6c(gp) | t9 = sym.imp.strerror;
0x0000117c lw a0, (v0) | a0 = *(v0);
0x00001180 jalr t9 | t9 ();
0x00001184 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001188 move a3, v0 | a3 = v0;
0x0000118c addiu a1, zero, 1 | a1 = 1;
0x00001190 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001194 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x00001198 addiu a2, a2, 0x1b54 | a2 += str.Warning:_failed_to_open_a_socket_to_use_for_connecting:__s_n;
0x0000119c move a0, s1 | a0 = s1;
0x000011a0 jalr t9 | t9 ();
0x000011a4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011a8 sw zero, 8(s0) | *((s0 + 2)) = 0;
0x000011ac b 0xeb8 | goto label_4;
| label_37:
0x000011b0 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x000011b4 lw t9, -0x7f6c(gp) | t9 = sym.imp.strerror;
0x000011b8 lw a0, (v1) | a0 = *(v1);
0x000011bc lw s6, (v0) | s6 = *(v0);
0x000011c0 jalr t9 | t9 ();
0x000011c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000011c8 move a3, s4 | a3 = s4;
0x000011cc lw a2, 0x40(sp) | a2 = *(var_40h);
0x000011d0 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x000011d4 b 0x1088 | goto label_7;
| label_25:
0x000011d8 sll s4, s4, 1 | s4 <<= 1;
0x000011dc sll s0, s4, 2 | s0 = s4 << 2;
0x000011e0 lw t9, -0x7f64(gp) | t9 = sym.imp.realloc;
| if (s0 == 0) {
0x000011e4 beqz s0, 0x12b8 | goto label_38;
| }
0x000011e8 lw a0, 0x34(sp) | a0 = *(var_34h);
0x000011ec move a1, s0 | a1 = s0;
0x000011f0 jalr t9 | t9 ();
0x000011f4 sw v0, 0x34(sp) | *(var_34h) = v0;
0x000011f8 lw gp, 0x18(sp) | gp = *(var_18h);
| if (v0 != 0) {
0x000011fc bnez v0, 0xd14 | goto label_8;
| }
0x00001200 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00001204 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001208 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x0000120c lw a0, (v0) | a0 = *(v0);
0x00001210 move a3, s0 | a3 = s0;
0x00001214 addiu a2, a2, 0x1a54 | a2 += str.Reallocation_of__d_bytes_failed_n;
0x00001218 b 0xeec | goto label_9;
| label_33:
0x0000121c lw s4, -0x7fd8(gp) | s4 = *((gp - 8182));
0x00001220 lw s3, -0x7fd8(gp) | s3 = *((gp - 8182));
0x00001224 lw s1, -0x7fd8(gp) | s1 = *((gp - 8182));
0x00001228 lw v0, 0x2108(s4) | v0 = *((s4 + 2114));
0x0000122c lw a0, 0x2104(s3) | a0 = *((s3 + 2113));
0x00001230 lw v1, 0x2100(s1) | v1 = *((s1 + 2112));
0x00001234 subu v0, s2, v0 | __asm ("subu v0, s2, v0");
0x00001238 subu v0, v0, a0 | __asm ("subu v0, v0, a0");
0x0000123c addu v0, v0, v1 | v0 += v1;
0x00001240 sw v0, 0x2100(s1) | *((s1 + 2112)) = v0;
0x00001244 lw v0, 0x34(sp) | v0 = *(var_34h);
0x00001248 sll s0, s2, 2 | s0 = s2 << 2;
0x0000124c addu s0, s0, v0 | s0 += v0;
0x00001250 move s2, v0 | s2 = v0;
0x00001254 lw s5, (s2) | s5 = *(s2);
| do {
0x00001258 lw t9, -0x7f44(gp) | t9 = sym.imp.free;
| if (s5 != 0) {
0x0000125c beqz s5, 0x1294 |
0x00001260 lw a0, (s5) | a0 = *(s5);
0x00001264 jalr t9 | t9 ();
0x00001268 lw a0, 4(s5) | a0 = *((s5 + 1));
0x0000126c lw gp, 0x18(sp) | gp = *(var_18h);
| if (a0 >= 0) {
0x00001270 bltz a0, 0x1284 |
0x00001274 lw t9, -0x7fac(gp) | t9 = sym.imp.close;
0x00001278 jalr t9 | t9 ();
0x0000127c nop |
0x00001280 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00001284 lw t9, -0x7f44(gp) | t9 = sym.imp.free;
0x00001288 move a0, s5 | a0 = s5;
0x0000128c jalr t9 | t9 ();
0x00001290 lw gp, 0x18(sp) | gp = *(var_18h);
| }
0x00001294 addiu s2, s2, 4 | s2 += 4;
0x00001298 lw s5, (s2) | s5 = *(s2);
0x0000129c bnel s0, s2, 0x1258 |
| } while (s0 == s2);
0x000012a0 lw t9, -0x7f44(gp) | t9 = sym.imp.free;
0x000012a4 b 0xfd0 | goto label_10;
| label_12:
0x000012a8 lw v0, -0x7fdc(gp) | v0 = *((gp - 8183));
| label_19:
0x000012ac addiu v0, v0, 0x18c0 | v0 += str._tmp;
0x000012b0 sw v0, 0x28(sp) | *(var_28h) = v0;
0x000012b4 b 0xbf0 | goto label_11;
| label_38:
0x000012b8 lw t9, -0x7f44(gp) | t9 = sym.imp.free;
0x000012bc lw a0, 0x34(sp) | a0 = *(var_34h);
0x000012c0 jalr t9 | t9 ();
0x000012c4 lw gp, 0x18(sp) | gp = *(var_18h);
0x000012c8 sw zero, 0x34(sp) | *(var_34h) = 0;
0x000012cc b 0xd14 | goto label_8;
| label_16:
0x000012d0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000012d4 addiu t9, t9, 0x1530 | t9 += fcn.00001530;
0x000012d8 move a0, zero | a0 = 0;
0x000012dc bal 0x1530 | fcn_00001530 ();
| label_17:
0x000012e0 lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x000012e4 lw a1, -0x7fdc(gp) | a1 = *((gp - 8183));
0x000012e8 lw t9, -0x7f90(gp) | t9 = sym.imp.__printf_chk;
0x000012ec addiu a0, zero, 1 | a0 = 1;
0x000012f0 addiu a2, a2, 0x18e4 | a2 += str.1.12.16;
0x000012f4 addiu a1, a1, 0x18ec | a1 += str.D_Bus_Socket_Cleanup_Utility__s_nCopyright__C__2003_Red_Hat__Inc._nCopyright__C__2002_Michael_Meeks_nThis_is_free_software__see_the_source_for_copying_conditions._nThere_is_NO_warranty__not_even_for_MERCHANTABILITY_or_FITNESS_FOR_A_PARTICULAR_PURPOSE._n;
0x000012f8 jalr t9 | t9 ();
0x000012fc lw gp, 0x18(sp) | gp = *(var_18h);
0x00001300 lw t9, -0x7f74(gp) | t9 = sym.imp.exit;
0x00001304 move a0, zero | a0 = 0;
0x00001308 jalr t9 | t9 ();
| label_18:
0x0000130c lw a0, -0x7fdc(gp) | a0 = *((gp - 8183));
0x00001310 lw t9, -0x7f5c(gp) | t9 = sym.imp.fwrite;
0x00001314 lw a3, (v0) | a3 = *(v0);
0x00001318 addiu a0, a0, 0x19ec | a0 += str.dbus_cleanup_sockets_only_supports_a_single_directory_name_n;
0x0000131c addiu a2, zero, 0x3b | a2 = 0x3b;
0x00001320 b 0xeec | goto label_9;
| label_14:
0x00001324 addiu t9, t9, 0x1530 | t9 += fcn.00001530;
0x00001328 addiu a0, zero, 1 | a0 = 1;
0x0000132c bal 0x1530 | fcn_00001530 ();
| label_23:
0x00001330 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001334 addiu t9, t9, 0x1580 | t9 += fcn.00001580;
0x00001338 addiu a0, zero, 0x10 | a0 = 0x10;
0x0000133c bal 0x1580 | fcn_00001580 ();
| label_21:
0x00001340 lw v0, -0x7f40(gp) | v0 = *((gp - 8144));
0x00001344 lw t9, -0x7f88(gp) | t9 = sym.imp.__errno_location;
0x00001348 lw s0, (v0) | s0 = *(v0);
0x0000134c jalr t9 | t9 ();
0x00001350 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001354 lw t9, -0x7f6c(gp) | t9 = sym.imp.strerror;
0x00001358 lw a0, (v0) | a0 = *(v0);
0x0000135c jalr t9 | t9 ();
0x00001360 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001364 lw a3, 0x28(sp) | a3 = *(var_28h);
0x00001368 move a0, s0 | a0 = s0;
0x0000136c lw a2, -0x7fdc(gp) | a2 = *((gp - 8183));
0x00001370 lw t9, -0x7f9c(gp) | t9 = sym.imp.__fprintf_chk
0x00001374 sw v0, 0x10(sp) | *(var_10h_2) = v0;
0x00001378 addiu a2, a2, 0x1a28 | a2 += str.Failed_to_open_directory__s:__s_n;
0x0000137c addiu a1, zero, 1 | a1 = 1;
0x00001380 jalr t9 | t9 ();
0x00001384 lw gp, 0x18(sp) | gp = *(var_18h);
0x00001388 lw t9, -0x7f74(gp) | t9 = sym.imp.exit;
0x0000138c addiu a0, zero, 1 | a0 = 1;
0x00001390 jalr t9 | t9 ();
| label_24:
0x00001394 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x00001398 addiu t9, t9, 0x1580 | t9 += fcn.00001580;
0x0000139c move a0, s5 | a0 = s5;
0x000013a0 bal 0x1580 | fcn_00001580 ();
| label_34:
0x000013a4 lw t9, -0x7f54(gp) | t9 = sym.imp.__stack_chk_fail;
0x000013a8 jalr t9 | t9 ();
0x000013ac nop |
| label_20:
0x000013b0 lw t9, -0x7fdc(gp) | t9 = *((gp - 8183));
0x000013b4 addiu t9, t9, 0x1580 | t9 += fcn.00001580;
0x000013b8 addiu a0, zero, 8 | a0 = 8;
0x000013bc bal 0x1580 | return fcn_00001580 ();
| }
[*] Function fprintf used 10 times dbus-cleanup-sockets