Enabling run-time memory data transfer optimizations at the system level with automated extraction of embedded software metadata