PinOS: a programmable framework for whole-system dynamic instrumentation
shade : a fast instruction - set simulator for execution profiling .