add script for making implicit uses of cfun explicit
fix dereferencing