Every patch now ships with a runnable benchmark verifying complexity claims: - bleach/unit/test_bleach_cwe1333.py: length guard truncates 1001-char adversarial input to 1000 chars (removes '@' tail), gauntlet matches fast (<0.5s) - salt/unit/test_salt_cwe1333.py: ThreadPoolExecutor timeout wrapper tested at N=20 adversarial, GIL behavior documented - ansible/unit/test_ansible_cwe1333.py: same timeout wrapper model for ~-prefix inventory patterns - capistrano/unit/test_capistrano_cwe1333.rb: Regexp.timeout= / Timeout fallback guard for host/role filter patterns - puppet/unit/test_puppet_cwe1333.rb: RegexGuard.safe_compile timeout for all three Puppet regex call sites (match(), =~, PRegexpType) - katago/unit/test_katago_cwe407.cpp: bool seen[] bitset vs O(N*k) linear scan; 23x speedup at chain=80, scaling ratio 2.5x at 3x chain size (limit 4x) - pachi/unit/test_pachi_cwe362.c: 8-thread hammer, 100k iterations, zero double-expansion events with __atomic_store_n fix |
||
|---|---|---|
| .. | ||
| AnsibleRoleGetVarsAlgorithm.java | ||
| AnsibleRoleTest.java | ||
| AnsibleTest.java | ||
| test_ansible_cwe1333.py | ||