ctrl tool malloc&free implement
update