LumaOS  v0.1.116
An experimental x86-64 OS
Loading...
Searching...
No Matches
hexdump.c File Reference

Hexdump utility for displaying memory contents in hexadecimal. More...

#include <kernel/hexdump.h>
#include <stddef.h>
#include <kernel/kprintf.h>
Include dependency graph for hexdump.c:

Go to the source code of this file.

Functions

void hexdump (const void *data, const size_t size)
 Prints each byte as a hex number from a buffer of bytes.

Detailed Description

Hexdump utility for displaying memory contents in hexadecimal.

Based on the original implementation by ccbrown: https://gist.github.com/ccbrown/9722406

Modified by Matheus Boscariol.

Author
ccbrown (original implementation)
Matheus Boscariol (modifications)
Date
23/03/2014

Definition in file hexdump.c.

Function Documentation

◆ hexdump()

void hexdump ( const void * data,
size_t size )

Prints each byte as a hex number from a buffer of bytes.

Parameters
dataPointer to the data (string, file, etc.)
sizeAmount of bytes being parsed

Definition at line 21 of file hexdump.c.

Here is the call graph for this function: