Permission message rules: Each rule must have >= 1 required permissions
[chromium-blink-merge.git] / tools / deep_memory_profiler / policy.t0.json
blob7bdbe7dd28ed7385b99d426e6771d66efd55ba17
2   "components": [
3     "second",
4     "mmap-profiler",
5     "mmap-type-profiler",
6     "mmap-tcmalloc",
7     "FROM_HERE_FOR_TOTAL",
8     "mustbezero",
9     "unhooked-absent",
10     "unhooked-anonymous",
11     "unhooked-file-exec",
12     "unhooked-file-nonexec",
13     "unhooked-stack",
14     "unhooked-other",
15     "no-bucket",
16     "mmap-v8",
17     "mmap-catch-all",
18     "tc-std-string",
19     "tc-WTF-String",
20     "tc-no-typeinfo-StringImpl",
21     "tc-Skia",
22     "tc-WebCore-Style",
23     "tc-no-typeinfo-other",
24     "tc-other",
25     "tc-unused",
26     "UNTIL_HERE_FOR_TOTAL",
27     "total-exclude-profiler",
28     "total",
29     "absent",
30     "anonymous",
31     "file-exec",
32     "file-nonexec",
33     "stack",
34     "other",
35     "mmap-total-log",
36     "mmap-no-log",
37     "mmap-total-record",
38     "other-total-log",
39     "tc-total-log",
40     "tc-no-log",
41     "tc-total-record",
42     "tc-total"
43   ],
44   "rules": [
45     {
46       "name": "second",
47       "stacktrace": "optional",
48       "allocator": "optional"
49     },
50     {
51       "name": "mmap-profiler",
52       "stacktrace": ".*(ProfilerMalloc|MemoryRegionMap::).*",
53       "allocator": "mmap"
54     },
55     {
56       "name": "mmap-type-profiler",
57       "stacktrace": ".*(TypeProfilerMalloc).*",
58       "allocator": "mmap"
59     },
60     {
61       "name": "mmap-tcmalloc",
62       "stacktrace": ".*(DoAllocWithArena|SbrkSysAllocator::Alloc|MmapSysAllocator::Alloc|LowLevelAlloc::Alloc|LowLevelAlloc::AllocWithArena).*",
63       "allocator": "mmap"
64     },
65     {
66       "name": "FROM_HERE_FOR_TOTAL",
67       "stacktrace": "optional",
68       "allocator": "optional"
69     },
70     {
71       "name": "mustbezero",
72       "stacktrace": "optional",
73       "allocator": "optional"
74     },
75     {
76       "name": "unhooked-absent",
77       "stacktrace": "optional",
78       "allocator": "optional"
79     },
80     {
81       "name": "unhooked-anonymous",
82       "mappedpathname": "^$",
83       "allocator": "unhooked"
84     },
85     {
86       "name": "unhooked-file-exec",
87       "mappedpathname": "^/.*",
88       "mappedpermission": "..x.",
89       "allocator": "unhooked"
90     },
91     {
92       "name": "unhooked-file-nonexec",
93       "mappedpathname": "^/.*",
94       "allocator": "unhooked"
95     },
96     {
97       "name": "unhooked-stack",
98       "mappedpathname": ".stack.",
99       "allocator": "unhooked"
100     },
101     {
102       "name": "unhooked-other",
103       "mappedpathname": ".*",
104       "allocator": "unhooked"
105     },
106     {
107       "name": "mmap-v8",
108       "stacktrace": ".*v8::.*",
109       "allocator": "mmap"
110     },
111     {
112       "name": "mmap-catch-all",
113       "stacktrace": ".*",
114       "allocator": "mmap"
115     },
116     {
117       "name": "tc-std-string",
118       "stacktrace": ".*",
119       "typeinfo": "std::basic_string.*",
120       "allocator": "malloc"
121     },
122     {
123       "name": "tc-WTF-String",
124       "stacktrace": ".*",
125       "typeinfo": "WTF::String.*",
126       "allocator": "malloc"
127     },
128     {
129       "name": "tc-no-typeinfo-StringImpl",
130       "stacktrace": ".*WTF::StringImpl::getData16SlowCase.*",
131       "typeinfo": "no typeinfo",
132       "allocator": "malloc"
133     },
134     {
135       "name": "tc-Skia",
136       "stacktrace": ".*",
137       "typeinfo": "(skia::|SkGlyph).*",
138       "allocator": "malloc"
139     },
140     {
141       "name": "tc-WebCore-Style",
142       "stacktrace": ".*",
143       "typeinfo": "(WebCore|blink)::Style.*",
144       "allocator": "malloc"
145     },
146     {
147       "name": "tc-no-typeinfo-other",
148       "stacktrace": ".*",
149       "typeinfo": "no typeinfo",
150       "allocator": "malloc"
151     },
152     {
153       "name": "tc-other",
154       "stacktrace": ".*",
155       "typeinfo": ".*",
156       "allocator": "malloc"
157     },
158     {
159       "name": "UNTIL_HERE_FOR_TOTAL",
160       "stacktrace": "optional",
161       "allocator": "optional"
162     },
163     {
164       "name": "total-exclude-profiler",
165       "stacktrace": "optional",
166       "allocator": "optional"
167     },
168     {
169       "name": "total",
170       "stacktrace": "optional",
171       "allocator": "optional"
172     },
173     {
174       "name": "absent",
175       "stacktrace": "optional",
176       "allocator": "optional"
177     },
178     {
179       "name": "anonymous",
180       "stacktrace": "optional",
181       "allocator": "optional"
182     },
183     {
184       "name": "file-exec",
185       "stacktrace": "optional",
186       "allocator": "optional"
187     },
188     {
189       "name": "file-nonexec",
190       "stacktrace": "optional",
191       "allocator": "optional"
192     },
193     {
194       "name": "stack",
195       "stacktrace": "optional",
196       "allocator": "optional"
197     },
198     {
199       "name": "other",
200       "stacktrace": "optional",
201       "allocator": "optional"
202     }
203   ],
204   "version": "POLICY_DEEP_4"