add regtool, used to read/write memory/registers from user mode