OLD | NEW |
| (Empty) |
1 # Copyright 2013 the V8 project authors. All rights reserved. | |
2 # Redistribution and use in source and binary forms, with or without | |
3 # modification, are permitted provided that the following conditions are | |
4 # met: | |
5 # | |
6 # * Redistributions of source code must retain the above copyright | |
7 # notice, this list of conditions and the following disclaimer. | |
8 # * Redistributions in binary form must reproduce the above | |
9 # copyright notice, this list of conditions and the following | |
10 # disclaimer in the documentation and/or other materials provided | |
11 # with the distribution. | |
12 # * Neither the name of Google Inc. nor the names of its | |
13 # contributors may be used to endorse or promote products derived | |
14 # from this software without specific prior written permission. | |
15 # | |
16 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | |
17 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | |
18 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | |
19 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | |
20 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | |
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | |
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | |
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | |
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
27 | |
28 # This file is automatically generated from the V8 source and should not | |
29 # be modified manually, run 'make grokdump' instead to update this file. | |
30 | |
31 # List of known V8 instance types. | |
32 INSTANCE_TYPES = { | |
33 64: "STRING_TYPE", | |
34 68: "ASCII_STRING_TYPE", | |
35 65: "CONS_STRING_TYPE", | |
36 69: "CONS_ASCII_STRING_TYPE", | |
37 67: "SLICED_STRING_TYPE", | |
38 66: "EXTERNAL_STRING_TYPE", | |
39 70: "EXTERNAL_ASCII_STRING_TYPE", | |
40 74: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", | |
41 82: "SHORT_EXTERNAL_STRING_TYPE", | |
42 86: "SHORT_EXTERNAL_ASCII_STRING_TYPE", | |
43 90: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE", | |
44 0: "INTERNALIZED_STRING_TYPE", | |
45 4: "ASCII_INTERNALIZED_STRING_TYPE", | |
46 1: "CONS_INTERNALIZED_STRING_TYPE", | |
47 5: "CONS_ASCII_INTERNALIZED_STRING_TYPE", | |
48 2: "EXTERNAL_INTERNALIZED_STRING_TYPE", | |
49 6: "EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE", | |
50 10: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", | |
51 18: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE", | |
52 22: "SHORT_EXTERNAL_ASCII_INTERNALIZED_STRING_TYPE", | |
53 26: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", | |
54 128: "SYMBOL_TYPE", | |
55 129: "MAP_TYPE", | |
56 130: "CODE_TYPE", | |
57 131: "ODDBALL_TYPE", | |
58 132: "CELL_TYPE", | |
59 133: "PROPERTY_CELL_TYPE", | |
60 134: "HEAP_NUMBER_TYPE", | |
61 135: "FOREIGN_TYPE", | |
62 136: "BYTE_ARRAY_TYPE", | |
63 137: "FREE_SPACE_TYPE", | |
64 138: "EXTERNAL_BYTE_ARRAY_TYPE", | |
65 139: "EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE", | |
66 140: "EXTERNAL_SHORT_ARRAY_TYPE", | |
67 141: "EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE", | |
68 142: "EXTERNAL_INT_ARRAY_TYPE", | |
69 143: "EXTERNAL_UNSIGNED_INT_ARRAY_TYPE", | |
70 144: "EXTERNAL_FLOAT_ARRAY_TYPE", | |
71 145: "EXTERNAL_DOUBLE_ARRAY_TYPE", | |
72 146: "EXTERNAL_PIXEL_ARRAY_TYPE", | |
73 148: "FILLER_TYPE", | |
74 149: "DECLARED_ACCESSOR_DESCRIPTOR_TYPE", | |
75 150: "DECLARED_ACCESSOR_INFO_TYPE", | |
76 151: "EXECUTABLE_ACCESSOR_INFO_TYPE", | |
77 152: "ACCESSOR_PAIR_TYPE", | |
78 153: "ACCESS_CHECK_INFO_TYPE", | |
79 154: "INTERCEPTOR_INFO_TYPE", | |
80 155: "CALL_HANDLER_INFO_TYPE", | |
81 156: "FUNCTION_TEMPLATE_INFO_TYPE", | |
82 157: "OBJECT_TEMPLATE_INFO_TYPE", | |
83 158: "SIGNATURE_INFO_TYPE", | |
84 159: "TYPE_SWITCH_INFO_TYPE", | |
85 161: "ALLOCATION_MEMENTO_TYPE", | |
86 160: "ALLOCATION_SITE_TYPE", | |
87 162: "SCRIPT_TYPE", | |
88 163: "CODE_CACHE_TYPE", | |
89 164: "POLYMORPHIC_CODE_CACHE_TYPE", | |
90 165: "TYPE_FEEDBACK_INFO_TYPE", | |
91 166: "ALIASED_ARGUMENTS_ENTRY_TYPE", | |
92 167: "BOX_TYPE", | |
93 170: "FIXED_ARRAY_TYPE", | |
94 147: "FIXED_DOUBLE_ARRAY_TYPE", | |
95 171: "SHARED_FUNCTION_INFO_TYPE", | |
96 172: "JS_MESSAGE_OBJECT_TYPE", | |
97 175: "JS_VALUE_TYPE", | |
98 176: "JS_DATE_TYPE", | |
99 177: "JS_OBJECT_TYPE", | |
100 178: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", | |
101 179: "JS_GENERATOR_OBJECT_TYPE", | |
102 180: "JS_MODULE_TYPE", | |
103 181: "JS_GLOBAL_OBJECT_TYPE", | |
104 182: "JS_BUILTINS_OBJECT_TYPE", | |
105 183: "JS_GLOBAL_PROXY_TYPE", | |
106 184: "JS_ARRAY_TYPE", | |
107 185: "JS_ARRAY_BUFFER_TYPE", | |
108 186: "JS_TYPED_ARRAY_TYPE", | |
109 187: "JS_DATA_VIEW_TYPE", | |
110 174: "JS_PROXY_TYPE", | |
111 190: "JS_WEAK_MAP_TYPE", | |
112 191: "JS_WEAK_SET_TYPE", | |
113 192: "JS_REGEXP_TYPE", | |
114 193: "JS_FUNCTION_TYPE", | |
115 173: "JS_FUNCTION_PROXY_TYPE", | |
116 168: "DEBUG_INFO_TYPE", | |
117 169: "BREAK_POINT_INFO_TYPE", | |
118 } | |
119 | |
120 # List of known V8 maps. | |
121 KNOWN_MAPS = { | |
122 0x08081: (136, "ByteArrayMap"), | |
123 0x080a9: (129, "MetaMap"), | |
124 0x080d1: (131, "OddballMap"), | |
125 0x080f9: (4, "AsciiInternalizedStringMap"), | |
126 0x08121: (170, "FixedArrayMap"), | |
127 0x08149: (134, "HeapNumberMap"), | |
128 0x08171: (137, "FreeSpaceMap"), | |
129 0x08199: (148, "OnePointerFillerMap"), | |
130 0x081c1: (148, "TwoPointerFillerMap"), | |
131 0x081e9: (132, "CellMap"), | |
132 0x08211: (133, "GlobalPropertyCellMap"), | |
133 0x08239: (171, "SharedFunctionInfoMap"), | |
134 0x08261: (170, "NativeContextMap"), | |
135 0x08289: (130, "CodeMap"), | |
136 0x082b1: (170, "ScopeInfoMap"), | |
137 0x082d9: (170, "FixedCOWArrayMap"), | |
138 0x08301: (147, "FixedDoubleArrayMap"), | |
139 0x08329: (170, "HashTableMap"), | |
140 0x08351: (128, "SymbolMap"), | |
141 0x08379: (64, "StringMap"), | |
142 0x083a1: (68, "AsciiStringMap"), | |
143 0x083c9: (65, "ConsStringMap"), | |
144 0x083f1: (69, "ConsAsciiStringMap"), | |
145 0x08419: (67, "SlicedStringMap"), | |
146 0x08441: (71, "SlicedAsciiStringMap"), | |
147 0x08469: (66, "ExternalStringMap"), | |
148 0x08491: (74, "ExternalStringWithOneByteDataMap"), | |
149 0x084b9: (70, "ExternalAsciiStringMap"), | |
150 0x084e1: (82, "ShortExternalStringMap"), | |
151 0x08509: (90, "ShortExternalStringWithOneByteDataMap"), | |
152 0x08531: (0, "InternalizedStringMap"), | |
153 0x08559: (1, "ConsInternalizedStringMap"), | |
154 0x08581: (5, "ConsAsciiInternalizedStringMap"), | |
155 0x085a9: (2, "ExternalInternalizedStringMap"), | |
156 0x085d1: (10, "ExternalInternalizedStringWithOneByteDataMap"), | |
157 0x085f9: (6, "ExternalAsciiInternalizedStringMap"), | |
158 0x08621: (18, "ShortExternalInternalizedStringMap"), | |
159 0x08649: (26, "ShortExternalInternalizedStringWithOneByteDataMap"), | |
160 0x08671: (22, "ShortExternalAsciiInternalizedStringMap"), | |
161 0x08699: (86, "ShortExternalAsciiStringMap"), | |
162 0x086c1: (64, "UndetectableStringMap"), | |
163 0x086e9: (68, "UndetectableAsciiStringMap"), | |
164 0x08711: (138, "ExternalByteArrayMap"), | |
165 0x08739: (139, "ExternalUnsignedByteArrayMap"), | |
166 0x08761: (140, "ExternalShortArrayMap"), | |
167 0x08789: (141, "ExternalUnsignedShortArrayMap"), | |
168 0x087b1: (142, "ExternalIntArrayMap"), | |
169 0x087d9: (143, "ExternalUnsignedIntArrayMap"), | |
170 0x08801: (144, "ExternalFloatArrayMap"), | |
171 0x08829: (145, "ExternalDoubleArrayMap"), | |
172 0x08851: (146, "ExternalPixelArrayMap"), | |
173 0x08879: (170, "NonStrictArgumentsElementsMap"), | |
174 0x088a1: (170, "FunctionContextMap"), | |
175 0x088c9: (170, "CatchContextMap"), | |
176 0x088f1: (170, "WithContextMap"), | |
177 0x08919: (170, "BlockContextMap"), | |
178 0x08941: (170, "ModuleContextMap"), | |
179 0x08969: (170, "GlobalContextMap"), | |
180 0x08991: (172, "JSMessageObjectMap"), | |
181 0x089b9: (135, "ForeignMap"), | |
182 0x089e1: (177, "NeanderMap"), | |
183 0x08a09: (161, "AllocationMementoMap"), | |
184 0x08a31: (160, "AllocationSiteMap"), | |
185 0x08a59: (164, "PolymorphicCodeCacheMap"), | |
186 0x08a81: (162, "ScriptMap"), | |
187 0x08ad1: (177, "ExternalMap"), | |
188 0x08af9: (167, "BoxMap"), | |
189 0x08b21: (149, "DeclaredAccessorDescriptorMap"), | |
190 0x08b49: (150, "DeclaredAccessorInfoMap"), | |
191 0x08b71: (151, "ExecutableAccessorInfoMap"), | |
192 0x08b99: (152, "AccessorPairMap"), | |
193 0x08bc1: (153, "AccessCheckInfoMap"), | |
194 0x08be9: (154, "InterceptorInfoMap"), | |
195 0x08c11: (155, "CallHandlerInfoMap"), | |
196 0x08c39: (156, "FunctionTemplateInfoMap"), | |
197 0x08c61: (157, "ObjectTemplateInfoMap"), | |
198 0x08c89: (158, "SignatureInfoMap"), | |
199 0x08cb1: (159, "TypeSwitchInfoMap"), | |
200 0x08cd9: (163, "CodeCacheMap"), | |
201 0x08d01: (165, "TypeFeedbackInfoMap"), | |
202 0x08d29: (166, "AliasedArgumentsEntryMap"), | |
203 0x08d51: (168, "DebugInfoMap"), | |
204 0x08d79: (169, "BreakPointInfoMap"), | |
205 } | |
206 | |
207 # List of known V8 objects. | |
208 KNOWN_OBJECTS = { | |
209 ("OLD_POINTER_SPACE", 0x08081): "NullValue", | |
210 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", | |
211 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue", | |
212 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue", | |
213 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue", | |
214 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue", | |
215 ("OLD_POINTER_SPACE", 0x080e1): "NoInterceptorResultSentinel", | |
216 ("OLD_POINTER_SPACE", 0x080f1): "ArgumentsMarker", | |
217 ("OLD_POINTER_SPACE", 0x08101): "NumberStringCache", | |
218 ("OLD_POINTER_SPACE", 0x08909): "SingleCharacterStringCache", | |
219 ("OLD_POINTER_SPACE", 0x08d11): "StringSplitCache", | |
220 ("OLD_POINTER_SPACE", 0x09119): "RegExpMultipleCache", | |
221 ("OLD_POINTER_SPACE", 0x09521): "TerminationException", | |
222 ("OLD_POINTER_SPACE", 0x09531): "MessageListeners", | |
223 ("OLD_POINTER_SPACE", 0x0954d): "CodeStubs", | |
224 ("OLD_POINTER_SPACE", 0x0a9d9): "NonMonomorphicCache", | |
225 ("OLD_POINTER_SPACE", 0x0afed): "PolymorphicCodeCache", | |
226 ("OLD_POINTER_SPACE", 0x0aff5): "NativesSourceCache", | |
227 ("OLD_POINTER_SPACE", 0x0b035): "EmptyScript", | |
228 ("OLD_POINTER_SPACE", 0x0b06d): "IntrinsicFunctionNames", | |
229 ("OLD_POINTER_SPACE", 0x0e089): "ObservationState", | |
230 ("OLD_POINTER_SPACE", 0x0e095): "FrozenSymbol", | |
231 ("OLD_POINTER_SPACE", 0x0e0a1): "ElementsTransitionSymbol", | |
232 ("OLD_POINTER_SPACE", 0x0e0ad): "EmptySlowElementDictionary", | |
233 ("OLD_POINTER_SPACE", 0x0e249): "ObservedSymbol", | |
234 ("OLD_POINTER_SPACE", 0x27585): "StringTable", | |
235 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray", | |
236 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray", | |
237 ("OLD_DATA_SPACE", 0x080a9): "NanValue", | |
238 ("OLD_DATA_SPACE", 0x08141): "EmptyByteArray", | |
239 ("OLD_DATA_SPACE", 0x08269): "EmptyExternalByteArray", | |
240 ("OLD_DATA_SPACE", 0x08275): "EmptyExternalUnsignedByteArray", | |
241 ("OLD_DATA_SPACE", 0x08281): "EmptyExternalShortArray", | |
242 ("OLD_DATA_SPACE", 0x0828d): "EmptyExternalUnsignedShortArray", | |
243 ("OLD_DATA_SPACE", 0x08299): "EmptyExternalIntArray", | |
244 ("OLD_DATA_SPACE", 0x082a5): "EmptyExternalUnsignedIntArray", | |
245 ("OLD_DATA_SPACE", 0x082b1): "EmptyExternalFloatArray", | |
246 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalDoubleArray", | |
247 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalPixelArray", | |
248 ("OLD_DATA_SPACE", 0x082d5): "InfinityValue", | |
249 ("OLD_DATA_SPACE", 0x082e1): "MinusZeroValue", | |
250 ("CODE_SPACE", 0x0eb41): "JsConstructEntryCode", | |
251 ("CODE_SPACE", 0x177a1): "JsEntryCode", | |
252 } | |
OLD | NEW |