From c9948248049bd7f60948fcc158f083cedabfc8f6 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 29 Sep 2021 14:57:51 -0700 Subject: Added null byte test --- tests/26-null-byte.in | Bin 0 -> 10 bytes tests/26-null-byte.out | Bin 0 -> 10 bytes tests/26-null-byte.sh | 2 ++ 3 files changed, 2 insertions(+) create mode 100644 tests/26-null-byte.in create mode 100644 tests/26-null-byte.out create mode 100644 tests/26-null-byte.sh (limited to 'tests') diff --git a/tests/26-null-byte.in b/tests/26-null-byte.in new file mode 100644 index 0000000..012dab4 Binary files /dev/null and b/tests/26-null-byte.in differ diff --git a/tests/26-null-byte.out b/tests/26-null-byte.out new file mode 100644 index 0000000..012dab4 Binary files /dev/null and b/tests/26-null-byte.out differ diff --git a/tests/26-null-byte.sh b/tests/26-null-byte.sh new file mode 100644 index 0000000..2c825c3 --- /dev/null +++ b/tests/26-null-byte.sh @@ -0,0 +1,2 @@ +# Null bytes can be matched with \x00 +bp -p '\x00' -- cgit v1.2.3