Source to ASTMatcher

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Source to ASTMatcher

Manuel Klimek via cfe-dev

I am interested in converting source lines (file:line:col) to
libASTMatcher style declarative queries. Are there any recommendations
for how to go about this task?

My initial thoughts were to use -ast-dump-filter on the source code to
select AST segments of interest, and subsequently manually craft a
ASTMatcher query based on it, but the former works on Qualified Decl
names only. Thoughts welcome :-)


Bhargava Shastry <[hidden email]>
Security in Telecommunications
TU Berlin / Telekom Innovation Laboratories
Ernst-Reuter-Platz 7, Sekr TEL 17 / D - 10587 Berlin, Germany
phone: +49 30 8353 58235

cfe-dev mailing list
[hidden email]

signature.asc (484 bytes) Download Attachment