I chose to use clang-format as it's relatively well accepted as a solid code formatter. It enforces things like line length and argument formatting. It can be configured to format differently but I figured something consistent initially was better than nothing.
Testing:
Ran unit tests as part of make on Ubuntu 18.04 LTS. One test failed due to missing test resource /test/test_data/ld.so.preload. Did you forget to check this in @ForensicITGuy?
Summary of work:
fstat
andread
calls.Notes
clang-format
as it's relatively well accepted as a solid code formatter. It enforces things like line length and argument formatting. It can be configured to format differently but I figured something consistent initially was better than nothing.Testing:
make
on Ubuntu 18.04 LTS. One test failed due to missing test resource/test/test_data/ld.so.preload
. Did you forget to check this in @ForensicITGuy?