Enabling dynamic analysis of Legacy Embedded Systems in full emulated environment