[*] Binary protection state of httpd

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


[*] Function popen tear down of httpd

    ; assembly                                           | /* r2dec pseudo code output */
                                                         | /* /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd @ 0x3c070 */
                                                         | #include <stdint.h>
                                                         |  
    ; (fcn) sym.ap_close_selected_listeners ()           | void ap_close_selected_listeners (int16_t arg1) {
                                                         |     r0 = arg1;
    0x0003c070 push {r3, r4, r5, r6, r7, lr}             |     
    0x0003c072 ldr r3, [pc, 0x30]                        |     
    0x0003c074 add r3, pc                                |     r3 = 0x7811e;
    0x0003c076 ldr r4, [r3, 0x10]                        |     r4 = *(0x7812e);
                                                         |     if (r4 == 0) {
    0x0003c078 cbz r4, 0x3c09c                           |         goto label_0;
                                                         |     }
    0x0003c07a movs r6, 0                                |     r6 = 0;
    0x0003c07c mov r5, r0                                |     r5 = r0;
    0x0003c07e mov r7, r6                                |     r7 = r6;
                                                         |     do {
    0x0003c080 ldr r3, [r4, 0x18]                        |         r3 = *((r4 + 0x18));
    0x0003c082 cmp r3, r5                                |         
    0x0003c084 it eq                                     |         
                                                         |         if (r3 != r5) {
    0x0003c086 addeq r6, 1                               |             r6++;
                                                         |         }
                                                         |         if (r3 != r5) {
    0x0003c088 beq 0x3c092                               |             
    0x0003c08a ldr r0, [r4, 4]                           |             r0 = *((r4 + 4));
    0x0003c08c blx 0x188e0                               |             fcn_000188e0 ();
    0x0003c090 str r7, [r4, 0x10]                        |             *((r4 + 0x10)) = r7;
                                                         |         }
    0x0003c092 ldr r4, [r4]                              |         r4 = *(r4);
    0x0003c094 cmp r4, 0                                 |         
    0x0003c096 bne 0x3c080                               |         
                                                         |     } while (r4 != 0);
    0x0003c098 mov r0, r6                                |     r0 = r6;
    0x0003c09a pop {r3, r4, r5, r6, r7, pc}              |     
                                                         | label_0:
    0x0003c09c mov r6, r4                                |     r6 = r4;
    0x0003c09e mov r0, r6                                |     r0 = r6;
    0x0003c0a0 pop {r3, r4, r5, r6, r7, pc}              |     
                                                         | }

[*] Function popen used 1 times httpd