summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 17:55:54 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 17:55:54 +0000
commit1cce4871e2e865d7dd158f007ff0c1a975c4c170 (patch)
treecb1e38e7a63f4a03c665eb4be252986364f0f706 /util
parentcde28a8fbb7a905dbd347c4d2eda8ebfb2d5942b (diff)
TODO
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/nvmutil/nvmutil.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c
index 151b6f40..b2e6aad8 100644
--- a/util/nvmutil/nvmutil.c
+++ b/util/nvmutil/nvmutil.c
@@ -128,6 +128,22 @@ OBJ = $(SRC:.c=.o)
^ explicitly declare the order in which to build
*/
+/*
+TODO:
+further note when fuzzing is implemented:
+use deterministic randomisation, with a
+guaranteed seed - so e.g. don't use /dev/urandom
+in test builds. e.g. just use normal rand()
+but with a static seed e.g. 1234
+*/
+/*
+TODO: stricter build flags, e.g.
+CFLAGS += -fstack-protector-strong
+CFLAGS += -fno-common
+CFLAGS += -D_FORTIFY_SOURCE=2
+CFLAGS += -fPIE
+*/
+
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif