[feature] add dump memory tool

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>