[*] Binary protection state of mod_setenv.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of mod_setenv.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_setenv.so @ 0x8f8 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x000008f8 ldr r3, [pc, 0x68] | r3 = *(0x964);
0x000008fc push {r4, lr} |
0x00000900 ldr r4, [pc, 0x64] | r4 = *(0x968);
0x00000904 add r3, pc, r3 | r3 = pc + r3;
0x00000908 ldrb r3, [r3] | r3 = *(r3);
0x0000090c add r4, pc, r4 | r4 = pc + r4;
0x00000910 cmp r3, 0 |
0x00000914 popne {r4, pc} |
0x00000918 ldr r3, [pc, 0x50] | r3 = *(0x96c);
0x0000091c ldr r3, [r4, r3] | r3 = *(0x968);
0x00000920 cmp r3, 0 |
| if (r3 != 0) {
0x00000924 beq 0x934 |
0x00000928 ldr r3, [pc, 0x44] | r3 = *(0x970);
0x0000092c ldr r0, [pc, r3] | r0 = *(0x00000934);
0x00000930 bl 0x764 | cxa_finalize ();
| }
0x00000934 bl 0x83c | entry0 ();
0x00000938 ldr r3, [pc, 0x38] | r3 = *(0x974);
0x0000093c ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x00000940 cmp r3, 0 |
| if (r3 != 0) {
0x00000944 beq 0x954 |
0x00000948 ldr r0, [pc, 0x2c] | r0 = *(0x978);
0x0000094c add r0, pc, r0 | r0 = pc + r0;
0x00000950 bl 0x794 | loc_imp_deregister_frame_info ();
| }
0x00000954 ldr r3, [pc, 0x24] | r3 = *(0x97c);
0x00000958 mov r2, 1 | r2 = 1;
0x0000095c add r3, pc, r3 | r3 = pc + r3;
0x00000960 strb r2, [r3] | *(r3) = r2;
0x00000964 pop {r4, pc} |
| }
[*] Function printf used 1 times mod_setenv.so