[*] Binary protection state of mod_secdownload.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function fprintf tear down of mod_secdownload.so
; assembly | /* r2dec pseudo code output */
| /* /logs/firmware/unblob_extracted/firmware_extract/56048-12514271.gzip_extract/gzip.uncompressed_extract/5243916-15068666.gzip_extract/gzip.uncompressed_extract/usr/lib/lighttpd/mod_secdownload.so @ 0xa6c */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00000a6c ldr r3, [pc, 0x68] | r3 = *(0xad8);
0x00000a70 push {r4, lr} |
0x00000a74 ldr r4, [pc, 0x64] | r4 = *(0xadc);
0x00000a78 add r3, pc, r3 | r3 = pc + r3;
0x00000a7c ldrb r3, [r3] | r3 = *(r3);
0x00000a80 add r4, pc, r4 | r4 = pc + r4;
0x00000a84 cmp r3, 0 |
0x00000a88 popne {r4, pc} |
0x00000a8c ldr r3, [pc, 0x50] | r3 = *(0xae0);
0x00000a90 ldr r3, [r4, r3] | r3 = *(0xadc);
0x00000a94 cmp r3, 0 |
| if (r3 != 0) {
0x00000a98 beq 0xaa8 |
0x00000a9c ldr r3, [pc, 0x44] | r3 = *(0xae4);
0x00000aa0 ldr r0, [pc, r3] | r0 = *(0x00000aa8);
0x00000aa4 bl 0x890 | cxa_finalize ();
| }
0x00000aa8 bl 0x9b0 | entry0 ();
0x00000aac ldr r3, [pc, 0x38] | r3 = *(0xae8);
0x00000ab0 ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x00000ab4 cmp r3, 0 |
| if (r3 != 0) {
0x00000ab8 beq 0xac8 |
0x00000abc ldr r0, [pc, 0x2c] | r0 = *(0xaec);
0x00000ac0 add r0, pc, r0 | r0 = pc + r0;
0x00000ac4 bl 0x998 | loc_imp_deregister_frame_info ();
| }
0x00000ac8 ldr r3, [pc, 0x24] | r3 = *(0xaf0);
0x00000acc mov r2, 1 | r2 = 1;
0x00000ad0 add r3, pc, r3 | r3 = pc + r3;
0x00000ad4 strb r2, [r3] | *(r3) = r2;
0x00000ad8 pop {r4, pc} |
| }
[*] Function fprintf used 1 times mod_secdownload.so