[*] Binary protection state of mod_scgi.so
Partial RELRO No Canary found NX disabled DSO No RPATH No RUNPATH No Symbols
[*] Function printf tear down of mod_scgi.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_scgi.so @ 0xbd8 */
| #include <stdint.h>
|
; (fcn) entry.fini0 () | void entry_fini0 () {
0x00000bd8 ldr r3, [pc, 0x68] | r3 = *(0xc44);
0x00000bdc push {r4, lr} |
0x00000be0 ldr r4, [pc, 0x64] | r4 = *(0xc48);
0x00000be4 add r3, pc, r3 | r3 = pc + r3;
0x00000be8 ldrb r3, [r3] | r3 = *(r3);
0x00000bec add r4, pc, r4 | r4 = pc + r4;
0x00000bf0 cmp r3, 0 |
0x00000bf4 popne {r4, pc} |
0x00000bf8 ldr r3, [pc, 0x50] | r3 = *(0xc4c);
0x00000bfc ldr r3, [r4, r3] | r3 = *(0xc48);
0x00000c00 cmp r3, 0 |
| if (r3 != 0) {
0x00000c04 beq 0xc14 |
0x00000c08 ldr r3, [pc, 0x44] | r3 = *(0xc50);
0x00000c0c ldr r0, [pc, r3] | r0 = *(0x00000c14);
0x00000c10 bl 0xa08 | cxa_finalize ();
| }
0x00000c14 bl 0xb1c | entry0 ();
0x00000c18 ldr r3, [pc, 0x38] | r3 = *(0xc54);
0x00000c1c ldr r3, [r4, r3] | r3 = *((r4 + r3));
0x00000c20 cmp r3, 0 |
| if (r3 != 0) {
0x00000c24 beq 0xc34 |
0x00000c28 ldr r0, [pc, 0x2c] | r0 = *(0xc58);
0x00000c2c add r0, pc, r0 | r0 = pc + r0;
0x00000c30 bl 0xa44 | loc_imp_deregister_frame_info ();
| }
0x00000c34 ldr r3, [pc, 0x24] | r3 = *(0xc5c);
0x00000c38 mov r2, 1 | r2 = 1;
0x00000c3c add r3, pc, r3 | r3 = pc + r3;
0x00000c40 strb r2, [r3] | *(r3) = r2;
0x00000c44 pop {r4, pc} |
| }
[*] Function printf used 1 times mod_scgi.so