Tool added to extract network traffic annotations

Desktop / Chromium - rhalavati [chromium.org] - 21 April 2017 03:12 EDT

This is a clang tool that extracts all occurrences of network traffic annotattions and produces a report of annotated locations and text.

BUG=656607

Review-Url: https://codereview.chromium.org/2448133006 Cr-Commit-Position: refs/heads/master@{#466281}

3051a40 Tool added to extract network traffic annotations.
BUILD.gn | 1 +
third_party/protobuf/BUILD.gn | 4 +
.../traffic_annotation_extractor/CMakeLists.txt | 26 +++
tools/clang/traffic_annotation_extractor/README.md | 26 +++
.../traffic_annotation_extractor.cpp | 175 +++++++++++++++++
tools/traffic_annotation/auditor/BUILD.gn | 49 +++++
tools/traffic_annotation/auditor/DEPS | 4 +
tools/traffic_annotation/auditor/README.md | 27 +++
.../traffic_annotation/auditor/prepare_protobuf.py | 36 ++++
.../auditor/traffic_annotation_auditor.py | 212 +++++++++++++++++++++
10 files changed, 560 insertions(+)

Upstream: git.chromium.org


  • Share