Re: [cocci] Reacting to negative source code search results with SmPL?
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
> How will chances evolve for further software improvements?
Corresponding development ideas might follow another SmPL script example.
@my_test_search1@
identifier action;
@@
action(123);
@script:python reporting1@
id << my_test_search1.action;
@@
print(f"The call “{id}” was found.")
@my_test_search2@
identifier my_test_search1.action;
@@
action(456);
@script:python reporting2 depends on ! my_test_search2@
@@
print("An undesirable function call was not found.")
Regards,
Markus