Clean up extraneous files from your Gentoo machine.
Abandoned in favour of portage-lostfiles.
git clone ...
cd gcrud
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles'
make
sudo ./gcrud | sort -u > out.log
View out.log
and check out things you might be able to remove. The whitelist is a work in progress. See whitelist.c
‘s whitelist_check()
function.
cmake .. -DCMAKE_BUILD_TYPE=Debug -G 'Unix Makefiles' && make
./check-leaks.sh
to check for memory leaks (requires Valgrind) and clang-format -i *.h *.c
(requires Clang).