Added some function prototypes for apple compatibility.
Wrote initial prototype code for actually doing more complicated nested transformations than just simple flat replace. TODO: go through testbench to make everything work.
Fixed code rewriting support to serve good enough for this particular instrumentation case. However more sophisticated solution would be good to implement.
Fixed constant address space initializer generation to recognize references to relocated variables correctly.
Started fixing private memory variable initializations.