java-topology/tools/scans/triage-yosys.sh
russell@unturf.com db29a08762 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.
2026-03-26 19:48:18 -04:00

18 lines
615 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
cd /tmp && git clone --depth 1 https://github.com/YosysHQ/yosys yosys 2>/dev/null
echo "=== scc.cc workQueue and cellLabels types ==="
grep -n "workQueue\|cellLabels" yosys/passes/cmds/scc.cc | head -20
echo ""
echo "=== scc.cc:40-100 ==="
sed -n '40,100p' yosys/passes/cmds/scc.cc
echo ""
echo "=== glift.cc:330-355 — ports vector + std::find context ==="
sed -n '330,355p' yosys/passes/cmds/glift.cc
echo ""
echo "=== does Yosys use pool<> (hash) vs std::set (tree)? ==="
grep -n "pool<\|dict<\|std::set<\|std::map<\|std::unordered" yosys/passes/cmds/scc.cc | head -10