Skip to content

eBPF-based security platform

proofs: bound the policy path loop in upatch-writer-load

Andrea Lattuada1aeb560c6e21
diff --git a/testing/proofs/cbmc/proofs.list b/testing/proofs/cbmc/proofs.list
index 83912156..16972e2e 100644
--- a/testing/proofs/cbmc/proofs.list
+++ b/testing/proofs/cbmc/proofs.list
@@ -123,7 +123,7 @@ config-evidence-verify --unwind 1 --unwindset replay.0:4,memcmp.0:33,in_order.0:
config-evidence-collect --unwind 1 --unwindset config_update_events.0:4,replay.0:4,memcmp.0:33,history.0:4,this_boot_at.0:4,check_exported.0:4,same.0:33,blank.0:33,harness.0:4 --memory-leak-check --slice-formula LEN=0-2
upatch-writer-header --unwind 2 --unwindset strnlen.0:257,memchr.0:257,memcmp.0:33
upatch-writer-sections --memory-leak-check --max-field-sensitivity-array-size 512 --object-bits 10 --unwind 2 --unwindset harness.0:9,compose_signed_data.0:3,compose_signed_data.1:3,parse_signed_sections.0:3,parse_decoders.0:0,parse_policy_labels.0:0 LEN=0,1,7,8
-upatch-writer-load --max-field-sensitivity-array-size 8192 --unwind 2 --unwindset compose_signed_data.0:5,compose_signed_data.1:5,parse_signed_sections.0:5,parse_decoders.0:2,parse_policy_labels.0:2 LEN=1
+upatch-writer-load --max-field-sensitivity-array-size 8192 --unwind 2 --unwindset compose_signed_data.0:5,compose_signed_data.1:5,parse_signed_sections.0:5,parse_decoders.0:2,parse_policy_labels.0:2,policy_path_valid.0:257 LEN=1
upatch-writer-decoders --memory-leak-check --max-field-sensitivity-array-size 512 --unwind 3 --unwindset strnlen.0:65,memchr.0:65,copy_bytes.0:65,viewed.0:4 LEN=0-2
upatch-writer-prog-specs --refine-arithmetic --memory-leak-check --max-field-sensitivity-array-size 512 --object-bits 12 --unwind 4 --unwindset strlen.0:161,strcmp.0:161,strncmp.0:21,strchr.0:161,strrchr.0:161,strnlen.0:161,memchr.0:129,memcmp.0:129,parse_base.0:21,parse_base.1:21,digits.0:21,default_attach_section.0:8,uprobe_section_target.0:9,text.0:161,decimal.0:5,resolve.1:65 LEN=0-21
upatch-writer-kprobes --refine-arithmetic --memory-leak-check --max-field-sensitivity-array-size 512 --object-bits 12 --unwind 4 --unwindset strlen.0:161,strcmp.0:161,strncmp.0:21,strchr.0:161,strrchr.0:161,strnlen.0:161,memchr.0:129,memcmp.0:129,parse_base.0:21,parse_base.1:21,digits.0:21,default_attach_section.0:8,uprobe_section_target.0:9,text.0:161,decimal.0:5,resolve.1:65,parse_uprobe_targets.0:2,parse_uprobe_targets.1:2,parse_kprobe_targets.0:3,parse_kprobe_syms.0:3,kprobe_sym_valid.0:2 LEN=0-22