aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-09-29 14:57:51 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-09-29 14:57:51 -0700
commitc9948248049bd7f60948fcc158f083cedabfc8f6 (patch)
tree045251970e30781579860b72bda518cf116350f7 /tests
parent2143a44b9c0663e75a9708cbb66d1c7438006b3f (diff)
Added null byte test
Diffstat (limited to 'tests')
-rw-r--r--tests/26-null-byte.inbin0 -> 10 bytes
-rw-r--r--tests/26-null-byte.outbin0 -> 10 bytes
-rw-r--r--tests/26-null-byte.sh2
3 files changed, 2 insertions, 0 deletions
diff --git a/tests/26-null-byte.in b/tests/26-null-byte.in
new file mode 100644
index 0000000..012dab4
--- /dev/null
+++ b/tests/26-null-byte.in
Binary files differ
diff --git a/tests/26-null-byte.out b/tests/26-null-byte.out
new file mode 100644
index 0000000..012dab4
--- /dev/null
+++ b/tests/26-null-byte.out
Binary files 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'