summaryrefslogtreecommitdiffstats
path: root/test/bplist_behavior.test
diff options
context:
space:
mode:
authorGravatar Nathan Chandrasekar2026-10-17 20:14:17 -0400
committerGravatar Nikias Bassen2026-11-05 23:46:59 +0100
commit70a64c23c9d77b114dcc71e70e69aa8868693f3f (patch)
treea2241d7e9d25cdedbb01cc9c4dbfd766ec6bbce8 /test/bplist_behavior.test
parent86def304f2915a13170bd0ff7adf0816ab3178a6 (diff)
downloadlibplist-70a64c23c9d77b114dcc71e70e69aa8868693f3f.tar.gz
libplist-70a64c23c9d77b114dcc71e70e69aa8868693f3f.tar.bz2
test: Add binary plist parser behavior tests
Build small binary plists in memory and check that arrays and dicts parse correctly with 1, 2 and 3 byte object references, and that strings, extended size markers and array/dict references extending beyond the object data area into the offset table are rejected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'test/bplist_behavior.test')
-rwxr-xr-xtest/bplist_behavior.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/bplist_behavior.test b/test/bplist_behavior.test
new file mode 100755
index 0000000..130a6a0
--- /dev/null
+++ b/test/bplist_behavior.test
@@ -0,0 +1,2 @@
+## -*- sh -*-
+$top_builddir/test/bplist_behavior_test