the goal of my application is to simulate the wrong execution of a program (Written in C/C++)by inject a software error like changes the value of the pointer of an array or inject a istruction replacement, basically a software error.The final goal of the application is collects data for statistics purpose I would like to do this in run-time, but other solutions are acceptable.
Now i only think about use gcc or gdb but i didn't find anything about it