[Pdbg] [PATCH 0/2] hexdump bytes from getmem
Amitay Isaacs
amitay at ozlabs.org
Thu Feb 21 11:08:49 AEDT 2019
If running gemem from a terminal, instead of writing the bytes
to stdout, dump them using hexdump format.
This avoids the need for external filter (e.g. hexdump).
Amitay Isaacs (2):
main: Add hexdump() function to dump bytes
main: Dump memory on terminal from getmem
Makefile.am | 5 ++++-
src/mem.c | 12 +++++++++---
src/tests/hexdump_test.c | 26 ++++++++++++++++++++++++++
src/util.c | 35 +++++++++++++++++++++++++++++++++++
src/util.h | 15 +++++++++++++++
5 files changed, 89 insertions(+), 4 deletions(-)
create mode 100644 src/tests/hexdump_test.c
--
2.20.1
More information about the Pdbg
mailing list