[*] Binary protection state of libloggen_socket_plugin.so

  
  	Full RELRO     Canary found      NX enabled   DSO          No RPATH     No RUNPATH   No Symbols


[*] Function printf tear down of libloggen_socket_plugin.so

    ; assembly                               | /* r2dec pseudo code output */
                                             | /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/lib/syslog-ng/loggen/libloggen_socket_plugin.so @ 0x180c */
                                             | #include <stdint.h>
                                             |  
    ; (fcn) fcn.0000180c ()                  | void fcn_0000180c (int16_t arg1) {
                                             |     int16_t var_0h;
                                             |     int16_t var_4h;
                                             |     r0 = arg1;
                                             |     if (? >= ?) {
    0x0000180c ldrblt r4, [r0, -0xa1a]!      |         r4 = *((r0 -= 0xa1a));
                                             |     }
    0x00001810 sub sp, 8                     |     
    0x00001812 ldr r5, [pc, 0x68]            |     
    0x00001814 add r2, pc                    |     r2 += pc;
    0x00001816 ldrd r3, r0, [r2, 0x14]       |     __asm ("ldrd r3, r0, [r2, 0x14]");
    0x0000181a ldr r1, [r2, 0x40]            |     r1 = *((r2 + 0x40));
    0x0000181c add r5, pc                    |     r5 = 0x309e;
    0x0000181e ldr r4, [r2, 0x1c]            |     r4 = *((r2 + 0x1c));
    0x00001820 orrs r3, r0                   |     r3 |= r0;
    0x00001822 orrs r3, r1                   |     r3 |= r1;
    0x00001824 orrs r4, r3                   |     r4 |= r3;
    0x00001826 it ne                         |     
                                             |     if (r4 == r3) {
    0x00001828 movne r4, 1                   |         r4 = 1;
                                             |     }
    0x0000182a beq 0x1832                    |     
                                             |     while (r0 == 0) {
                                             | label_0:
    0x0000182c mov r0, r4                    |         r0 = r4;
    0x0000182e add sp, 8                     |         
    0x00001830 pop {r4, r5, r6, pc}          |         
    0x00001832 blx 0xb18                     |         r0 = get_debug_level ();
    0x00001836 cmp r0, 0                     |         
    0x00001838 beq 0x182c                    |         
                                             |     }
    0x0000183a ldr r0, [pc, 0x44]            |     
    0x0000183c add r0, pc                    |     r0 = 0x30c2;
    0x0000183e blx 0xb24                     |     g_path_get_basename ();
    0x00001842 ldr r3, [pc, 0x40]            |     r3 = *(0x1886);
    0x00001844 movs r2, 0x60                 |     r2 = 0x60;
    0x00001846 mov r6, r0                    |     r6 = r0;
    0x00001848 movs r1, 1                    |     r1 = 1;
    0x0000184a ldr r5, [r5, r3]              |     r5 = *((r5 + r3));
    0x0000184c mov r3, r0                    |     r3 = r0;
    0x0000184e str r2, [sp, 4]               |     var_4h = r2;
    0x00001850 ldr r2, [pc, 0x34]            |     
    0x00001852 add r2, pc                    |     r2 = 0x30de;
    0x00001854 adds r2, 0x34                 |     r2 += 0x34;
    0x00001856 str r2, [sp]                  |     *(sp) = r2;
    0x00001858 ldr r2, [pc, 0x30]            |     
    0x0000185a ldr r0, [r5]                  |     r0 = *(r5);
    0x0000185c add r2, pc                    |     r2 = 0x30ec;
    0x0000185e blx 0xb54                     |     fprintf_chk ()
    0x00001862 ldr r0, [pc, 0x2c]            |     
    0x00001864 movs r2, 0x50                 |     r2 = 0x50;
    0x00001866 ldr r3, [r5]                  |     r3 = *(r5);
    0x00001868 movs r1, 1                    |     r1 = 1;
    0x0000186a add r0, pc                    |     r0 = 0x3100;
    0x0000186c blx 0xc00                     |     fcn_00000c00 ();
    0x00001870 mov r0, r6                    |     r0 = r6;
    0x00001872 blx 0xbd0                     |     fcn_00000bd0 ();
    0x00001876 b 0x182c                      |     goto label_0;
                                             | }

[*] Function printf used 2 times libloggen_socket_plugin.so