Rewrite Network Traffic Annotation Auditor from C++ to Python
tools/traffic_annotation/auditor/ is currently written in C++ which poses some problems in the way of convenience. Rewriting it in Python overcomes some of these issues. Missing: - Exporter to annotations.xml. - Exporter to tsv. - Writing to a summary file. - Matching/completing partial annotations. - Handling exceptions list. - Performing all other remaining checks on annotations. - Raise an error on mutable tags. - Safelist filtering of extracted annotations. - Enforcing consistency between summary/grouping.xml and new annotations. - Checking for reserved ids and deprecated hash codes. - ID checking on annotations. - Handling removed annotations and deprecated annotations. - The remaining TODOs found in this CL. Parity: - Extracting annotations according to the compiled proto. - Checking annotations' completeness. - Catching fatal/syntax errors. - "deserialization" of extracted annotations. Bug: 1119417 Change-Id: Idd09b89577342e59011441b30a54437234ddb1bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364935 Commit-Queue: Mohamadou Bella Bah <bellabah@chromium.org> Reviewed-by:Ramin Halavati <rhalavati@chromium.org> Reviewed-by:
Nicolas Ouellet-Payeur <nicolaso@chromium.org> Cr-Commit-Position: refs/heads/master@{#802831}
Showing
This diff is collapsed.
Please register or sign in to comment