From 0e6bc60ceb3d2676fae166308668680a2f675d17 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Sun, 18 May 2025 17:15:57 +0300 Subject: initial rough skeleton + Naive/fast allocation hashmap + Stores/loads are currently all checked, the idea about static analysis to skip checks is still TODO --- scripts/warn-undocumented | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 scripts/warn-undocumented (limited to 'scripts/warn-undocumented') diff --git a/scripts/warn-undocumented b/scripts/warn-undocumented new file mode 100755 index 0000000..db22249 --- /dev/null +++ b/scripts/warn-undocumented @@ -0,0 +1,7 @@ +#!/bin/sh +# look through all files for either @file or \file +for file in $@ +do + grep -c '[@\]file' "$file" |\ + awk -F':' "\$1 == 0 {print \"Undocumented file: $file\"}" +done -- cgit v1.2.3