Random dump generator in hexadecimal and octal format.
To generate a hexadecimal dump:
$ ./rdumpgen -hex
Enter the number of lines: 10
Enter the number of rows per line: 5
File dump.txt has been successfully generated in hexadecimal format.
$ cat dump.txt
00000000 3A 1F A7 09 4C
00000001 00 FF 23 88 7E
...Each line begins with an 8-digit hexadecimal address.
Followed by N random bytes (00–FF) in uppercase hex.
Maximum allowed lines: 4,294,967,296 (2³²)
To generate a octal dump:
$ ./rdumpgen -oct
Enter the number of lines: 10
Enter the number of rows per line: 5
File dump.txt has been successfully generated in octal format.
$ cat dump.txt
0000 12 33 07 55 60
0001 03 11 02 71 17
...Each line starts with a 4-digit octal address.
Followed by N random values in octal (00–77).
Maximum allowed lines: 4096
makeutility for buildinggccutility for compiling C
- Clone the repository.
- Navigate to the project folder.
- Build using
make:$ make
- Run:
$ ./build/dumpgen -hex
Contributions are welcome!
Feel free to open pull requests to improve the project.
Developed by Lina Torovoltas — © 2025 All rights reserved.