java-topology/tools/scans/triage-verilator2.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

15 lines
689 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
cd /tmp && git clone --depth 1 https://github.com/verilator/verilator verilator 2>/dev/null
echo "=== ThreadSchedule::contains implementation ==="
grep -n "bool contains\|contains.*mtask\|contains.*ExecMTask" verilator/src/V3ExecGraph.cpp | head -10
grep -n "struct ThreadSchedule\|class ThreadSchedule" verilator/src/V3ExecGraph.cpp | head -5
echo ""
echo "=== ThreadSchedule struct ==="
awk '/struct ThreadSchedule|class ThreadSchedule/{found=1} found{print NR": "$0} /^};/{if(found){found=0}}' verilator/src/V3ExecGraph.cpp | head -40
echo ""
echo "=== V3Gate.cpp readVscps local type at line 722 ==="
sed -n '695,730p' verilator/src/V3Gate.cpp