simple test program showing how one can redirect function calls on ARM and ARM THUMB (some of the code is used by THOR)