]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
for helping with fuzzer issues
authorAlan T. DeKok <aland@freeradius.org>
Sun, 4 Feb 2024 21:39:49 +0000 (16:39 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 4 Feb 2024 21:42:52 +0000 (16:42 -0500)
scripts/build/hexdump [new file with mode: 0755]

diff --git a/scripts/build/hexdump b/scripts/build/hexdump
new file mode 100755 (executable)
index 0000000..2f34ef7
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+#
+#  Dump hex in order.  Because the default for hexdump
+#  is to dump 2 bytes at a time, in little-endian order.
+#
+#  And -v to suppress "*"
+#
+hexdump -ve ' 16/1 "%02x"  "\n"' $@