From: wagle@mac.com (Perry Wagle) Date: Mon, 18 Jul 2016 16:31:47 -0700 Subject: [Cocci] Object-orientation with SmPL? In-Reply-To: References: <009C7972-C7EB-4B7F-ABC5-A1C0C1CA5797@mac.com> <46E0A0AB-6D78-485E-8CEA-2F7639BF12AC@mac.com> <4FC68D32-8853-4DDF-9A36-CAB93A4C16E2@mac.com> Message-ID: <5F7F044E-7B47-4780-9EBF-DCD48BB67EBD@mac.com> To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr > On Jul 18, 2016, at 9:19 AM, SF Markus Elfring wrote: > >> I was also wondering if object orientation threw Coccinelle off. > > This software provides also a few classes for the programming languages > "OCaml" and "Python". Are you thinking about further extensions? > > Would you like to give the topic "Class libraries for software components" > another look? > https://github.com/coccinelle/coccinelle/issues/22 > > >> Probably not if you found a way to chase function pointers statically. > > How will pointers matter for your source code search pattern? In comprehending Linux Kernel source in the past, I?ve been stymied by not knowing where all a function pointer in a struct of function pointers might go during manual call graphing. Automating this would be nice.