eBPF-based security platform
proofs: run similar-suggest on every combination of lengths
Daniel Borkmann32e4f8ab2c5b
diff --git a/Documentation/contribute/testing/proof-coverage.rst b/Documentation/contribute/testing/proof-coverage.rstindex 1fe52bcc..4aff4d66 100644--- a/Documentation/contribute/testing/proof-coverage.rst+++ b/Documentation/contribute/testing/proof-coverage.rst@@ -1024,8 +1024,9 @@ or shorter, and "lengths 0 to 6" every input of each of those lengths.cap, and more than the cap when it is not* - ``similar-suggest``- ``suggest()``- - A word of 0 to 2 bytes, up to two commands of 0 to 2 bytes,- capacities 0 to 2, with ``strlen()`` given the lengths+ - A word of 0 to 2 bytes, up to two commands of 0 to 2 bytes each,+ every combination of the three lengths, capacities 0 to 2, with+ ``strlen()`` given the lengths- Commands of the table within the cap, each with its distance,nearest first, never more than the capacity, none nearer left out* - ``similar-resolve``diff --git a/testing/proofs/cbmc/proofs.list b/testing/proofs/cbmc/proofs.listindex 052ee515..aa72b3ab 100644--- a/testing/proofs/cbmc/proofs.list+++ b/testing/proofs/cbmc/proofs.list@@ -97,7 +97,7 @@ serializer-chunk --unwind 1paths-join --unwind 12paths-pin --unwind 32 LEN=0,1,28-35similar-distance --max-field-sensitivity-array-size 65 --unwind 8 --unwindset memcpy.0:18 LEN=0-15-similar-suggest --object-bits 10 --max-field-sensitivity-array-size 65 --unwind 8 --unwindset memcpy.0:14 LEN=0-8,18-26+similar-suggest --object-bits 10 --max-field-sensitivity-array-size 65 --unwind 8 --unwindset memcpy.0:14 LEN=0-26similar-resolve --object-bits 10 --unwind 8options-next --object-bits 12 --unwind 8 LEN=0-6options-long --object-bits 12 --unwind 8 --unwindset strcspn.1:67,strlen.0:67 LEN=64-66