diff options
| author | 2018-03-08 09:47:46 +0000 | |
|---|---|---|
| committer | 2018-03-09 11:32:31 +0000 | |
| commit | 5ebc4cc1489a1992fbee969e05478a474c2ec111 (patch) | |
| tree | b43b248304741e6e6c8590f512f57d2678cf93e5 /compiler/optimizing/code_generator.cc | |
| parent | d395e73e9ed7c3fb5e8a48c3f3141a8997d4a82b (diff) | |
Quick script to get API access violations.
Test: $ adb logcat | perl find_api_violations.pl
$ perl find_api_violations.pl --help
DESCRIPTION
    This script parses API violations from "adb logcat". Output is in CSV
    format with columns "package", "symbol", "list".
    The package name is mapped from a PID, parsed from the same log. To ensure
    you get all packages names, you should process the logcat from device boot
    time.
SYNOPSIS
      adb logcat | perl find_api_violations.pl > violations.csv
      cat bugreport.txt | perl find_api_violations.pl --bugreport > violations.csv
OPTIONS
    --[no]lightgrey
        (Don't) show light grey list accesses (default true)
    --[no]darkgrey
        (Don't) show dark grey list accesses (default true)
    --[no]black
        (Don't) show black list accesses (default true)
    --bugreport|-b
        Process a bugreport, rather than raw logcat
    --help
Bug: 64382372
Change-Id: Id4baf10412b016a4bfd80bd3bd25cf9ca437601c
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions