[CastXML] CastXML Dynamic Shared Object extensions?

Steve Coleman Steve.Coleman at jhuapl.edu
Fri Jul 20 16:24:20 EDT 2018


I am working on a project that had originally used gccxml to extract the 
structural representation of structures/messages within arbitrary C++ 
source program. Since we needed to update our tool-chain to catch up 
with the latest C++ standards, it only made sense to also look into 
replacing gccxml with CastXML while in the process.

A member of my team that knows our current implementation well was 
saying that some tagged xml attributes was done differently in gccxml. I 
am therefore trying to learn whatever I can about the new CastXML parser 
design changes/considerations within the new tool, so that we can bridge 
any gaps in their capability, at least as far as we have been using it.

Right now I am digging around for documentation and resources to wrap my 
brain around "what is possible" using the new tool. I came across the 
"--dsopath" option but have been unable to find anything discussing what 
this option provides in terms of extending the built in capabilities of 
CastXML. I would imagine there would be specific callbacks in a share 
library to intercept certain operations while traversing the generated 
AST's? Is this feature actually just a part of LLVM? Am I even asking 
the wrong email list?

Q: Is there any documentation on the DSO plugin capabilities or is 
reading the source code the only option here? Google is currently 
telling me 'no', there isn't any documentation on this option. I would 
be very happy if someone could just point me in the right direction.

thanks,

Steve Coleman


More information about the CastXML mailing list