undefect. CWE-407 — 92 sites, 42 ecosystems

B&W print-friendly diagrams + tinkerpop-0001 + wave-3 proof sections.
Squash of 94 local commits onto remote master.
This commit is contained in:
russell@unturf.com 2026-03-26 19:48:18 -04:00
parent 0a580b313d
commit db29a08762
1311 changed files with 371202 additions and 1188 deletions

View file

@ -61,6 +61,11 @@ SUPPORT_ALL := support/TarjanAlgorithm.java \
unit-frrouting-0002 unit-tor-0001 \
unit-solc-0001 unit-solc-0002 unit-buildkit-0001 \
unit-kafka unit-spring unit-presto unit-webpack \
unit-onos-0001 unit-bird unit-bazel unit-odl-0001 unit-httpd-0001 unit-kicad-0001 \
unit-v8-0001 unit-spidermonkey-0001 unit-llvm-0002 unit-octave-0001 \
unit-rabbitmq unit-cfengine unit-terraform unit-ansible \
unit-networkx unit-jenkins unit-maven-extra \
unit-tinkerpop-0001 \
bench-mc-server bench-max bench-gumyum bench-everything bench-loadsim bench-elytra \
bench-unpatched bench-mitigated bench-enriched bench-three-tier \
play-unpatched play-mitigated play-enriched \
@ -79,7 +84,13 @@ unit: unit-tarjan unit-findnode unit-closure unit-toposort unit-deplist unit-bou
unit-hive unit-spark unit-luigi \
unit-frrouting-0002 unit-tor-0001 \
unit-solc-0001 unit-solc-0002 unit-buildkit-0001 \
unit-kafka unit-spring unit-presto unit-webpack
unit-kafka unit-spring unit-presto unit-webpack \
unit-onos-0001 unit-bird unit-bazel unit-odl-0001 unit-httpd-0001 unit-kicad-0001 \
unit-v8-0001 unit-spidermonkey-0001 unit-llvm-0002 unit-octave-0001 \
unit-rabbitmq \
unit-cfengine unit-terraform unit-ansible \
unit-networkx unit-jenkins unit-maven-extra \
unit-tinkerpop-0001
unit-tarjan: unit/TarjanComplexityTest.class
@echo ""
@ -332,6 +343,162 @@ unit-webpack: unit/WebpackHmrTest.class
@echo "=== UNIT webpack-0001/0002/0003: HMR BFS/addAllToSet/createRequire (Array→Set) ==="
$(JAVA) -ea -cp . unit.WebpackHmrTest
# ── ONOS unit test (onos-0001) ────────────────────────────────────────────────
unit/OnosTarjanTest.class: ../defects/onos/unit/OnosTarjanTest.java
$(JAVAC) -cp . -d . ../defects/onos/unit/OnosTarjanTest.java
unit-onos-0001: unit/OnosTarjanTest.class
@echo ""
@echo "=== UNIT onos-0001: TarjanGraphSearch visited ArrayList→HashSet (101.7x at V=200/E=800) ==="
$(JAVA) -ea -cp . unit.OnosTarjanTest
# ── BIRD unit tests (bird-0001/0002) ──────────────────────────────────────────
unit/BirdRoutingTest.class: ../defects/bird/unit/BirdRoutingTest.java
$(JAVAC) -cp . -d . ../defects/bird/unit/BirdRoutingTest.java
unit-bird: unit/BirdRoutingTest.class
@echo ""
@echo "=== UNIT bird-0001/0002: OSPF Dijkstra heap (49.2x) + BGP community bsearch (13.1x) ==="
$(JAVA) -ea -cp . unit.BirdRoutingTest
# ── Bazel unit tests (bazel-0001/0002) ────────────────────────────────────────
unit/BazelAspectCollectionTest.class: ../defects/bazel/unit/BazelAspectCollectionTest.java
$(JAVAC) -cp . -d . ../defects/bazel/unit/BazelAspectCollectionTest.java
unit-bazel: unit/BazelAspectCollectionTest.class
@echo ""
@echo "=== UNIT bazel-0001/0002: AspectCollection seenAspects/create (50x / 13x at n=50) ==="
$(JAVA) -ea -cp . unit.BazelAspectCollectionTest
# ── ODL unit test (odl-0001) ──────────────────────────────────────────────────
unit/OdlGroupRegistryTest.class: ../defects/odl/unit/OdlGroupRegistryTest.java
$(JAVAC) -cp . -d . ../defects/odl/unit/OdlGroupRegistryTest.java
unit-odl-0001: unit/OdlGroupRegistryTest.class
@echo ""
@echo "=== UNIT odl-0001: DevicesGroupRegistry ArrayList→HashSet (40,000x at G=N=200) ==="
$(JAVA) -ea -cp . unit.OdlGroupRegistryTest
# ── httpd unit test (httpd-0001) ──────────────────────────────────────────────
unit/HttpdProxyBalancerTest.class: ../defects/httpd/unit/HttpdProxyBalancerTest.java
$(JAVAC) -cp . -d . ../defects/httpd/unit/HttpdProxyBalancerTest.java
unit-httpd-0001: unit/HttpdProxyBalancerTest.class
@echo ""
@echo "=== UNIT httpd-0001: mod_proxy_balancer route apr_hash (50.5x at W=100/R=1000) ==="
$(JAVA) -ea -cp . unit.HttpdProxyBalancerTest
# ── KiCad unit test (kicad-0001) ──────────────────────────────────────────────
unit/KicadFromToTest.class: ../defects/kicad/unit/KicadFromToTest.java
$(JAVAC) -cp . -d . ../defects/kicad/unit/KicadFromToTest.java
unit-kicad-0001: unit/KicadFromToTest.class
@echo ""
@echo "=== UNIT kicad-0001: from_to_cache BFS vector→unordered_set (34.3x at V=200) ==="
$(JAVA) -ea -cp . unit.KicadFromToTest
unit/V8RegisterAllocatorTest.class: ../defects/v8/unit/V8RegisterAllocatorTest.java
$(JAVAC) -cp . -d . ../defects/v8/unit/V8RegisterAllocatorTest.java
unit-v8-0001: unit/V8RegisterAllocatorTest.class
@echo ""
@echo "=== UNIT v8-0001: register-allocator spilled_consts ZoneVector→ZoneUnorderedSet (50x at k=50) ==="
$(JAVA) -ea -cp . unit.V8RegisterAllocatorTest
unit/SpiderMonkeyLinearSumTest.class: ../defects/spidermonkey/unit/SpiderMonkeyLinearSumTest.java
$(JAVAC) -cp . -d . ../defects/spidermonkey/unit/SpiderMonkeyLinearSumTest.java
unit-spidermonkey-0001: unit/SpiderMonkeyLinearSumTest.class
@echo ""
@echo "=== UNIT spidermonkey-0001: LinearSum::add Vector→HashMap Ion bounds-check (O(N*T)→O(N)) ==="
$(JAVA) -ea -cp . unit.SpiderMonkeyLinearSumTest
unit/LlvmAliasSetTest.class: ../defects/llvm/unit/LlvmAliasSetTest.java
$(JAVAC) -cp . -d . ../defects/llvm/unit/LlvmAliasSetTest.java
unit-llvm-0002: unit/LlvmAliasSetTest.class
@echo ""
@echo "=== UNIT llvm-0002/0003: AliasSet MemoryLocs SmallVector→DenseSet + LCSSA isExitBlock SmallPtrSet ==="
$(JAVA) -ea -cp . unit.LlvmAliasSetTest
unit/OctaveVecdimTest.class: ../defects/octave/unit/OctaveVecdimTest.java
$(JAVAC) -cp . -d . ../defects/octave/unit/OctaveVecdimTest.java
unit-octave-0001: unit/OctaveVecdimTest.class
@echo ""
@echo "=== UNIT octave-0001: vecdim std::find→std::binary_search on sorted vector ==="
$(JAVA) -ea -cp . unit.OctaveVecdimTest
unit/RabbitMQQueueTest.class: ../defects/rabbitmq/unit/RabbitMQQueueTest.java
$(JAVAC) -cp . -d . ../defects/rabbitmq/unit/RabbitMQQueueTest.java
unit-rabbitmq: unit/RabbitMQQueueTest.class
@echo ""
@echo "=== UNIT rabbitmq-0001/0002: classic-queue [pid()]→map + sac-coordinator gb_sets (5/5) ==="
$(JAVA) -ea -cp . unit.RabbitMQQueueTest
unit/CFEngineRlistTest.class: ../defects/cfengine/unit/CFEngineRlistTest.java
$(JAVAC) -cp . -d . ../defects/cfengine/unit/CFEngineRlistTest.java
unit-cfengine: unit/CFEngineRlistTest.class
@echo ""
@echo "=== UNIT cfengine-0001/0002/0003: getindices/unique/maparray Rlist→StringSet ==="
$(JAVA) -ea -cp . unit.CFEngineRlistTest
unit/TerraformDagTest.class: ../defects/terraform/unit/TerraformDagTest.java
$(JAVAC) -cp . -d . ../defects/terraform/unit/TerraformDagTest.java
unit-terraform: unit/TerraformDagTest.class
@echo ""
@echo "=== UNIT terraform-0001/0002 + saltstack-0001: inStack/EdgesTo/has_loop O(1) fix ==="
$(JAVA) -ea -cp . unit.TerraformDagTest
unit/AnsibleRoleTest.class: ../defects/ansible/unit/AnsibleRoleTest.java
$(JAVAC) -cp . -d . ../defects/ansible/unit/AnsibleRoleTest.java
unit-ansible: unit/AnsibleRoleTest.class
@echo ""
@echo "=== UNIT ansible-0001/0002 + puppet-0001: seen-list/collections/BFS-path O(1) fix ==="
$(JAVA) -ea -cp . unit.AnsibleRoleTest
unit/NetworkXCyclesTest.class: ../defects/networkx/unit/NetworkXCyclesTest.java
$(JAVAC) -cp . -d . ../defects/networkx/unit/NetworkXCyclesTest.java
unit-networkx: unit/NetworkXCyclesTest.class
@echo ""
@echo "=== UNIT networkx-0001 + rubocop-0001 + solargraph-0001: list→set O(1) (5/5) ==="
$(JAVA) -ea -cp . unit.NetworkXCyclesTest
unit/JenkinsDependencyGraphTest.class: ../defects/jenkins/unit/JenkinsDependencyGraphTest.java
$(JAVAC) -cp . -d . ../defects/jenkins/unit/JenkinsDependencyGraphTest.java
unit-jenkins: unit/JenkinsDependencyGraphTest.class
@echo ""
@echo "=== UNIT jenkins-0001/0002: DependencyGraph edge index + ChildJobs HashSet (5/5) ==="
$(JAVA) -ea -cp . unit.JenkinsDependencyGraphTest
unit/MavenGraphBuilderTest.class: ../defects/maven/unit/MavenGraphBuilderTest.java
$(JAVAC) -cp . -d . ../defects/maven/unit/MavenGraphBuilderTest.java
unit-maven-extra: unit/MavenGraphBuilderTest.class
@echo ""
@echo "=== UNIT maven-0004/0005: sortedProjects/sortedNodes indexOf→HashMap (5/5) ==="
$(JAVA) -ea -cp . unit.MavenGraphBuilderTest
unit/TinkerPopPathTest.class: ../defects/tinkerpop/unit/TinkerPopPathTest.java
$(JAVAC) -cp . -d . ../defects/tinkerpop/unit/TinkerPopPathTest.java
unit-tinkerpop-0001: unit/TinkerPopPathTest.class
@echo ""
@echo "=== UNIT tinkerpop-0001: Path.isSimple() O(n²)→O(n) HashSet (99.5x at n=200) ==="
$(JAVA) -ea -cp . unit.TinkerPopPathTest
# ── Integration ───────────────────────────────────────────────────────────────
# Runs against the installed JDK's compiled GraphUtils.
# Proves real timing growth and confirms algorithm correctness.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.