Suggestions for problem to do modifications in gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'll like suggestions for this problem:



The problem is to detect the errors/faults in digital architectures (different processors).Then, one of such modifications would be data duplication, ie, the basic idea is to duplicate all the variables of the program checking the consistency of the values. For each read operation on a variable, the operation is repeated for the duplicate variable and consistency control is done. If there is a difference between the original value variable and duplicate value variable, then an error is signal.

So when the program is presented to the compiler, for example in C language, the idea is to make such alterations (as described above) in the compiler so that it automatically makes the harden of the program.

So, I would like to know how or where I could modify the compiler to modify this statement as for example:

var = var/5 (high-level statement) how/where i could change, ie reverse 1 bit of instruction, in this case would turn into another statement and thus it is characterized as an error basculement bit.


I thought of beginning to work on the front end would be a good/correct way, simply because the code in this stage is near the source code.... i don't know if that makes sense .

Well, sincerly i feel lost if anyone has any suggestions ... thanks in advance.

greicy

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux