[PATCH v1 1/2] hexdump: Introduce debug APIs