Commit Graph

8 Commits

Author SHA1 Message Date
Azamat H. Hackimov
cc7fbd46ed Don't rebuild HogMaker on each commit
Remove configure-time dependency get_git_hash that cause to rebuild whole graph of dependencies (like HOG files).
2024-10-21 18:20:32 +03:00
Azamat H. Hackimov
d3a2161ceb Extending HogMaker functionality
Add access to private fields and simplify HOG creation. HogFileEntry now contains path to real file that allows change its attributes internally.
2024-05-07 19:13:50 +03:00
Azamat H. Hackimov
bee21a89a1 Add search path functionality to HogMaker
Now HogMaker can be supplied with search paths where it tries to find files.
2024-05-07 12:23:12 +03:00
Ryan C. Gordon
6c8977caf0
Heavy patching for compiler warnings.
The vast majority of this is fixing up `char *` that should be `const char *`
but a handful of other fixes, like potential buffer overflows that GCC
noticed, etc, were applied as well.

This removes `-Wno-write-strings` from CMakeLists.txt, as it is no longer
necessary, as there is no longer a flood of compiler warning spam when
building.

This does not fix all compiler warnings; there are still a handful, and they
are legitimate, but they can be dealt with in a future commit.
2024-04-29 00:18:56 -04:00
Azamat H. Hackimov
79c7749242 Adding version to HogMaker 2024-04-28 22:05:26 +03:00
Thomas Otto
86d9fb8c13 HogMaker: don't modify data when printing it
- Create reserved bytes when constructing HogHeader
- Only byteswap a copy of the data
- Other small cleanups
2024-04-22 21:51:49 +02:00
Azamat H. Hackimov
6352ab21b9 Fix possible heap buffer overflow
Strict size of name of entry with 36 bytes.
Thanks to MaddTheSane for pointing out.
2024-04-22 02:37:42 +03:00
Azamat H. Hackimov
fb0dabc367 Implementing HogMaker replacement of HogUtils
Currently, this tool can make only create HOG from list of files taken from text file (one line per file).
2024-04-21 19:15:23 +03:00