TMP eliminate unused functions (and replace by 0x42)