override symbols in a program image (also useful with dlsym)