OLD | NEW |
(Empty) | |
| 1 # Network Traffic Annotation Auditor |
| 2 This tool runs the clang tool for extraction of Network Traffic Annotations |
| 3 from chromium source code and collects and summarizes its outputs. |
| 4 |
| 5 ## Building |
| 6 ninja -C [build directory] traffic_annotation_auditor |
| 7 |
| 8 ## Usage |
| 9 traffic_annotation_auditor [OPTION]... [path_filter]... |
| 10 Extracts network traffic annotations from source files. If path filter(s) are |
| 11 specified, only those directories of the source will be analyzed. |
| 12 |
| 13 Options: |
| 14 -h, --help Shows help. |
| 15 --build-dir Path to the build directory from which the |
| 16 annotations will be extracted. |
| 17 --extractor-output-dir Path to the directory that extracted |
| 18 partial files will be written to. Will |
| 19 be automatically generated and deleted |
| 20 if not specified. |
| 21 --extracted-input-dir Path to a directory where extracted |
| 22 partial annotations are already stored. |
| 23 If specified, build directory will be |
| 24 ignored. |
| 25 --summary-file Path to an output file with summary of |
| 26 extracted annotations. |
| 27 Example: |
| 28 traffic_annotation_auditor --build-dir=out/Debug --summary-file=report.txt |
| 29 |
| 30 |
| 31 ## Running on Windows |
| 32 |
| 33 Before running the program as above, you should build COMPLETE chromium with |
| 34 clang with keeprsp switch as follows: |
| 35 1. gn args [build_dir, e.g. out\Debug] |
| 36 2. add is_clang=true to the opened text file and save and close it. |
| 37 3. ninja -C [build_dir] -d keeprsp -k 1000 |
OLD | NEW |