⚡Megatron LLM Hub
←Back to search
Twitter

工程师主张用模糊测试加形式化验证来校验 AI 生成的代码重写

AI 重写核心组件时,用差分对比和 fuzz 做回归验证,是发现语义漏洞的可行手段
llm代码审计方法论
RT @zacker150: Actual software engineer here. Vibe coding is when you use AI to write software without manually reviewing every single line of code. Instead, you rely on empirical tests, formal verification, and static analysis to verify that your code is correct. Rewrites like the Discord rewrite are prime targets for vibe coding because you can easily verify them. Just take the old code, run it with a ton of random inputs (this is called fuzzing), and compare the output with the new code. Your rewrite is done when the output is always the same. As for how you know it's vibe coded? Everything is vibe coded these days. Software engineers don't write code by hand anymore. Instead, we herd clankers writing code.