Hi folks,
is there a way to scan for code lines that access certain struct members ? Rationale: In the kernel, we have lots of struct fields (eg. in struct device) which are supposed to be only accessed by certain subsystems. I'd like to add some checks for that by scanning for all sites that access certain struct members and filter out those files that are allowed to do so. This should print out all sites which do those unallowed direct access w/o going through the appropriate helpers. --mtx --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287 _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
