XSD / XML Structure documentation

Hi,

I’m starting to use the computer sanitizers. I think they give us valuable insights. I’d like to integrate them into our CI/CD, such that we can find new issues reliably as soon as they are introduced. For that, I try to parse the XML files, such that I can extract them and visually present them as “failing test cases” in the CI/CD system.

My problem lies in parsing the files. It is currently based on just some XML files I’ve seen. This is probably not very robust. Is there some XSD or some documentation of the XML structure?

Best regards,
L

Hi, @LSte

Have you tried --xml option ?

If --xml is enabled, then the file will be in an XML format. Otherwise, it will be in a binary format. Emit error output to file in XML format

Hi @veraj ,

Thank you for your response.

yes. I’m able to create the XML file with --xml.

But I’m missing some information what kind of structure it has, e.g. an XSD file or some other kind of documentation.

Best Regards,
L

Thanks Lucas for reaching out, unfortunately there is no formal schema for our XML output. This is something we can work on. Below is a draft of what I will add to the Sanitizer documentation, hope that helps!

Hello Anis,

thank you for the draft. That already helps a lot.

Best Regards,
Lucas