|
From: Дмитрий Д. <di...@gm...> - 2013-01-28 10:13:18
|
may be smth like http://lwn.net/Articles/315686/ Semantic patching with Coccinelle can help? Thanks, Dmitry 2013/1/28 Florian Krohm <br...@ac...>: > Attached are two patches for valgrind and VEX to make the change from > Iex_Mux0X to Iex_ITE. I've regtested this on x86-64 (64-bit only), s390, > and ppc64. No new regressions. arm and mips are completely untested. > > Basically, IRExpr_Mux0X(cond, iffalse, iftrue) gets replaced with > IRExpr_ITE(cond, iftrue, iffalse). Although this is a mechanical change, > swapping the arguments in an automated way (perhaps with emacs macros or > so), was beyond my emacs foo. So there is a fair amount of hand work > and, thusly, needs review. I'll wait for that. > I've tried to avoid reformatting the context code as much as possible > but for some instances in the mips port that was just impossible.. > > Florian > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > |