Skip to content

nbarjolin/hxdmp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hxdmp

hxdmp is a no-nonsense hexdumping tool.

There's no need to remember flags to get a conventional hexdump on-screen - but customization options are available too.

Options:

-h,--help
	Display this help menu.

-s,--start `offset`
	Skip `offset` bytes from the start of the input.

-n,--length `length`
	Only read `length` bytes of the input.

-w,--width `width`
	Display `width` bytes per row.
	You can replace the default value with the HXDMP_WIDTH environment variable.

-l,--layout `layout_str`
	Customize the column layout using a layout string.
	Each character of `layout_str` represents a column.
	Available column types are:
	a: Ascii   Each byte is printed in ascii, or '.' for non-ascii values
	c: Color   Each byte is printed as a █, colored according to its value
	x: heX     Each byte is printed as two lowercase hex digits
	X: heX     Each byte is printed as two uppercase hex digits
	The default layout string is xa for consistency with most hex editors.
	You can replace the default value with the HXDMP_LAYOUT environment variable.

Numeric values can be provided in hexadecimal.
0xFF, $FF, and FFh syntaxes are all supported.

Building & Installing

On macOS and Linux, it should be as simple as running the following inside the hxdmp directory:

make && make install

Windows is not officially supported, but it'll likely work under WSL.

About

The no-nonsense hexdumper.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Makefile 2.3%