Files
claudetools/tmp_check_args.py
Mike Swanson e2a05f1ce7 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 20:54:05
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 20:54:05
2026-05-12 20:54:26 -07:00

20 lines
580 B
Python

#!/usr/bin/env python3
with open('/home/guru/gururmm/agent/src/updater/mod.rs') as f:
src = f.read()
# Find the Windows watchdog function
idx = src.find("async fn create_windows_rollback_watchdog")
if idx == -1:
print("NOT FOUND")
else:
# Find the format args block within the Windows watchdog
chunk = src[idx:idx+3000]
# Look for the replace call
ri = chunk.find("replace")
if ri != -1:
print("FORMAT ARGS AREA:")
print(repr(chunk[ri-20:ri+300]))
else:
print("replace not found in chunk")
print(repr(chunk[:500]))