diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-29 07:21:08 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-29 07:22:34 +0100 |
| commit | afe2e71c014e291b9915271d45c1fd933f2fa55f (patch) | |
| tree | 5263dcf1b0e2c5f1824635630c4517be60087442 /util/libreboot-utils/include | |
| parent | 546565f32103da7fc66ddddeaabe9cbcc30c831a (diff) | |
util/nvmutil: better hexdump
this is a more generic one that i implemented
for "lottery.c" (which is really just a tester
of my rset function in lib/rand.c)
i could probably actually write a full hexdump
program in libreboot-utils to be honest.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/include')
| -rw-r--r-- | util/libreboot-utils/include/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index 6956adb1..abd153be 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -395,6 +395,7 @@ int dcat(const char *s, size_t n, */ unsigned short hextonum(char ch_s); +void spew_hex(const void *data, size_t len); void *mkrbuf(size_t n); void rset(void *buf, size_t n); void *mkrbuf(size_t n); @@ -406,7 +407,6 @@ size_t rsize(size_t n); void cmd_helper_dump(void); void print_mac_from_nvm(size_t partnum); -void hexdump(size_t partnum); /* Helper functions for command: swap */ |
