Skip to content

Metincloup/CexDumper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CexDumper v0.4

Small hex dumper written in C.

What It Does

  • Reads a file in binary mode
  • Prints file bytes in hex format to terminal
  • Can save hex dump output to a file
  • Supports basic CLI flags

Build

Compile with GCC:

gcc main.c -o CexDumper -Wall -Werror

Usage

./CexDumper [options] <input_file>

Options

  • -h Show help
  • -v Show program version
  • -o <file> Save dump output to file

Examples

Print dump to terminal:

./CexDumper example.txt

Save dump to file:

./CexDumper -o output.hex example.txt

Show version:

./CexDumper -v

Show help:

./CexDumper -h

Output Format

  • Each line starts with an offset
  • Hex byte groups are printed after the offset
  • Final file length/offset summary is printed at the end

Roadmap

  • Read file and print dump to console
  • Add CLI options (-h, -v, -o)
  • Save hex dump to output file
  • Add canonical hex + ASCII view
  • Add output formats (octal, decimal)
  • Add skip/length arguments

About

C Hex Dumper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages