// spatch --in-place --sp-file my.spatch test.c @@ @@ - #define OLD(msg, data, len) ... @@ expression a, b, c; @@ - OLD(a, b, c); + if (!my_func(a, b, c)) + abort();