tree: 46601a5fb9b4cb404e67c29dd8013fd6343cd334 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. README.md
  4. tests/
  5. traffic_annotation_auditor.cc
  6. traffic_annotation_auditor.h
  7. traffic_annotation_auditor_ui.cc
  8. traffic_annotation_auditor_unittest.cc
  9. traffic_annotation_file_filter.cc
  10. traffic_annotation_file_filter.h
  11. white_list.txt
tools/traffic_annotation/auditor/README.md

Network Traffic Annotation Auditor

This executable runs the clang tool for extraction of Network Traffic Annotations from chromium source code and collects and summarizes its outputs.

Usage

traffic_annotation_auditor [OPTION]... [path_filter]...

Extracts network traffic annotations from source files. If path filter(s) are specified, only those directories of the source will be analyzed. Run traffic_annotation_auditor --help for options.

Example: traffic_annotation_auditor --build-dir=out/Debug --summary-file= report.txt

Running on Linux

Before running the script as above, you should build the COMPLETE chromium.

Running on Windows

Before running the script as above, you should build the COMPLETE chromium with clang with keeprsp switch as follows:

  1. gn args [build_dir, e.g. out\Debug]
  2. add is_clang=true to the opened text file and save and close it.
  3. ninja -C [build_dir] -d keeprsp