Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

coccinelle's one of those tools that's stupid powerful once it clicks, but man the learning curve is steep. i used it to migrate like ~200 call sites when we tweaked an internal API signature in a big C codebase - doing that by hand wouldve been a multi-day slog. the semantic patch language feels kinda weird at first, but it catches edge cases regex stuff just misses, like matching through macro expansions and all that


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: