logoalt Hacker News

echoangleyesterday at 4:35 PM0 repliesview on HN

Or you could just detect while loops with constant condition (like the C standard) and not touch any programs that don't exhibit UB while allowing infinite loops for other use cases at zero runtime cost and negligible compile cost.