In my project, it's required that if function A is called, and function B must be called following, just like this
Foo(...)
{
If ... {
A(....);
...
B(....);
}
}
Or
Foo1(...)
{
A(....);
B(...);
}
How to write a patch to find the missing case? Such as
Foo(...)
{
If ... {
A(....);
...
}
}
Or
Foo1(...)
{
A(....);
...
}
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci
