merge util.h to idump.c