[*] Binary protection state of mod_userdir.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function sprintf tear down of mod_userdir.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_userdir.so @ 0x99c */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x0000099c ldr r3, [pc, 0x68] | r3 = *(0xa08);
0x000009a0 push {r4, lr} |
0x000009a4 ldr r4, [pc, 0x64] | r4 = *(0xa0c);
0x000009a8 add r3, pc, r3 | r3 = pc + r3;
0x000009ac ldrb r3, [r3] | r3 = *(r3);
0x000009b0 add r4, pc, r4 | r4 = pc + r4;
0x000009b4 cmp r3, 0 |
0x000009b8 popne {r4, pc} |
0x000009bc ldr r3, [pc, 0x50] | r3 = *(0xa10);
0x000009c0 ldr r3, [r4, r3] | r3 = *(0xa0c);
0x000009c4 cmp r3, 0 |
| if (r3 != 0) {
0x000009c8 beq 0x9d8 |
0x000009cc ldr r3, [pc, 0x44] | r3 = *(0xa14);
0x000009d0 ldr r0, [pc, r3] | r0 = *(0x000009d8);
0x000009d4 bl 0x7e4 | cxa_finalize ();
| }
0x000009d8 bl 0x8e0 | entry0 ();
0x000009dc ldr r3, [pc, 0x38] | r3 = *(0xa18);
0x000009e0 ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x000009e4 cmp r3, 0 |
| if (r3 != 0) {
0x000009e8 beq 0x9f8 |
0x000009ec ldr r0, [pc, 0x2c] | r0 = *(0xa1c);
0x000009f0 add r0, pc, r0 | r0 = pc + r0;
0x000009f4 bl 0x820 | loc_imp_deregister_frame_info ();
| }
0x000009f8 ldr r3, [pc, 0x24] | r3 = *(0xa20);
0x000009fc mov r2, 1 | r2 = 1;
0x00000a00 add r3, pc, r3 | r3 = pc + r3;
0x00000a04 strb r2, [r3] | *(r3) = r2;
0x00000a08 pop {r4, pc} |
| }
[*] Function sprintf used 1 times mod_userdir.so