Azamat H. Hackimov
c3e0102a4f
Implementing C++ byteswap functions
...
Implementing byteswap functions by using "backported" from C++23 std::byteswap.
Adding unittests based on GoogleTests. To enable it add `-DBUILD_TESTING=ON` to cmake.
2024-04-23 21:18:07 +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
e8809973b8
Replace vector with array
...
Arrays has fixed length, that prevents of possibility accidentally expand them.
2024-04-22 03:27:17 +03: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
Martin
e6ce2e0394
This beautifull commit will allow you to checkable auto format your code with clang-formatter-16
2024-04-17 00:25:58 +02:00