OLD | NEW |
1 # Copyright 2017 the V8 project authors. All rights reserved. | 1 # Copyright 2017 the V8 project authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can | 2 # Use of this source code is governed by a BSD-style license that can |
3 # be found in the LICENSE file. | 3 # be found in the LICENSE file. |
4 | 4 |
| 5 # This file is automatically generated by mkgrokdump and should not |
| 6 # be modified manually. |
| 7 |
5 # List of known V8 instance types. | 8 # List of known V8 instance types. |
6 INSTANCE_TYPES = { | 9 INSTANCE_TYPES = { |
7 0: "INTERNALIZED_STRING_TYPE", | 10 0: "INTERNALIZED_STRING_TYPE", |
8 2: "EXTERNAL_INTERNALIZED_STRING_TYPE", | 11 2: "EXTERNAL_INTERNALIZED_STRING_TYPE", |
9 8: "ONE_BYTE_INTERNALIZED_STRING_TYPE", | 12 8: "ONE_BYTE_INTERNALIZED_STRING_TYPE", |
10 10: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", | 13 10: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", |
11 18: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", | 14 18: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", |
12 34: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE", | 15 34: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE", |
13 42: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", | 16 42: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE", |
14 50: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", | 17 50: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE", |
(...skipping 29 matching lines...) Expand all Loading... |
44 143: "FIXED_UINT32_ARRAY_TYPE", | 47 143: "FIXED_UINT32_ARRAY_TYPE", |
45 144: "FIXED_FLOAT32_ARRAY_TYPE", | 48 144: "FIXED_FLOAT32_ARRAY_TYPE", |
46 145: "FIXED_FLOAT64_ARRAY_TYPE", | 49 145: "FIXED_FLOAT64_ARRAY_TYPE", |
47 146: "FIXED_UINT8_CLAMPED_ARRAY_TYPE", | 50 146: "FIXED_UINT8_CLAMPED_ARRAY_TYPE", |
48 147: "FIXED_DOUBLE_ARRAY_TYPE", | 51 147: "FIXED_DOUBLE_ARRAY_TYPE", |
49 148: "FILLER_TYPE", | 52 148: "FILLER_TYPE", |
50 149: "ACCESSOR_INFO_TYPE", | 53 149: "ACCESSOR_INFO_TYPE", |
51 150: "ACCESSOR_PAIR_TYPE", | 54 150: "ACCESSOR_PAIR_TYPE", |
52 151: "ACCESS_CHECK_INFO_TYPE", | 55 151: "ACCESS_CHECK_INFO_TYPE", |
53 152: "INTERCEPTOR_INFO_TYPE", | 56 152: "INTERCEPTOR_INFO_TYPE", |
54 153: "CALL_HANDLER_INFO_TYPE", | 57 153: "FUNCTION_TEMPLATE_INFO_TYPE", |
55 154: "FUNCTION_TEMPLATE_INFO_TYPE", | 58 154: "OBJECT_TEMPLATE_INFO_TYPE", |
56 155: "OBJECT_TEMPLATE_INFO_TYPE", | 59 155: "ALLOCATION_SITE_TYPE", |
57 156: "ALLOCATION_SITE_TYPE", | 60 156: "ALLOCATION_MEMENTO_TYPE", |
58 157: "ALLOCATION_MEMENTO_TYPE", | 61 157: "SCRIPT_TYPE", |
59 158: "SCRIPT_TYPE", | 62 158: "ALIASED_ARGUMENTS_ENTRY_TYPE", |
60 159: "TYPE_FEEDBACK_INFO_TYPE", | 63 159: "PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE", |
61 160: "ALIASED_ARGUMENTS_ENTRY_TYPE", | 64 160: "PROMISE_REACTION_JOB_INFO_TYPE", |
62 161: "PROMISE_RESOLVE_THENABLE_JOB_INFO_TYPE", | 65 161: "DEBUG_INFO_TYPE", |
63 162: "PROMISE_REACTION_JOB_INFO_TYPE", | 66 162: "STACK_FRAME_INFO_TYPE", |
64 163: "DEBUG_INFO_TYPE", | 67 163: "PROTOTYPE_INFO_TYPE", |
65 164: "BREAK_POINT_INFO_TYPE", | 68 164: "TUPLE2_TYPE", |
66 165: "PROTOTYPE_INFO_TYPE", | 69 165: "TUPLE3_TYPE", |
67 166: "TUPLE2_TYPE", | 70 166: "CONTEXT_EXTENSION_TYPE", |
68 167: "TUPLE3_TYPE", | 71 167: "MODULE_TYPE", |
69 168: "CONTEXT_EXTENSION_TYPE", | 72 168: "MODULE_INFO_ENTRY_TYPE", |
70 169: "CONSTANT_ELEMENTS_PAIR_TYPE", | 73 169: "ASYNC_GENERATOR_REQUEST_TYPE", |
71 170: "MODULE_TYPE", | 74 170: "FIXED_ARRAY_TYPE", |
72 171: "MODULE_INFO_ENTRY_TYPE", | 75 171: "TRANSITION_ARRAY_TYPE", |
73 172: "FIXED_ARRAY_TYPE", | 76 172: "SHARED_FUNCTION_INFO_TYPE", |
74 173: "TRANSITION_ARRAY_TYPE", | 77 173: "CELL_TYPE", |
75 174: "SHARED_FUNCTION_INFO_TYPE", | 78 174: "WEAK_CELL_TYPE", |
76 175: "CELL_TYPE", | 79 175: "PROPERTY_CELL_TYPE", |
77 176: "WEAK_CELL_TYPE", | 80 176: "PADDING_TYPE_1", |
78 177: "PROPERTY_CELL_TYPE", | 81 177: "PADDING_TYPE_2", |
79 178: "JS_PROXY_TYPE", | 82 178: "PADDING_TYPE_3", |
80 179: "JS_GLOBAL_OBJECT_TYPE", | 83 179: "PADDING_TYPE_4", |
81 180: "JS_GLOBAL_PROXY_TYPE", | 84 180: "JS_PROXY_TYPE", |
82 181: "JS_SPECIAL_API_OBJECT_TYPE", | 85 181: "JS_GLOBAL_OBJECT_TYPE", |
83 182: "JS_VALUE_TYPE", | 86 182: "JS_GLOBAL_PROXY_TYPE", |
84 183: "JS_MESSAGE_OBJECT_TYPE", | 87 183: "JS_SPECIAL_API_OBJECT_TYPE", |
85 184: "JS_DATE_TYPE", | 88 184: "JS_VALUE_TYPE", |
86 185: "JS_API_OBJECT_TYPE", | 89 185: "JS_MESSAGE_OBJECT_TYPE", |
87 186: "JS_OBJECT_TYPE", | 90 186: "JS_DATE_TYPE", |
88 187: "JS_ARGUMENTS_TYPE", | 91 187: "JS_API_OBJECT_TYPE", |
89 188: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", | 92 188: "JS_OBJECT_TYPE", |
90 189: "JS_GENERATOR_OBJECT_TYPE", | 93 189: "JS_ARGUMENTS_TYPE", |
91 190: "JS_MODULE_NAMESPACE_TYPE", | 94 190: "JS_CONTEXT_EXTENSION_OBJECT_TYPE", |
92 191: "JS_ARRAY_TYPE", | 95 191: "JS_GENERATOR_OBJECT_TYPE", |
93 192: "JS_ARRAY_BUFFER_TYPE", | 96 192: "JS_ASYNC_GENERATOR_OBJECT_TYPE", |
94 193: "JS_TYPED_ARRAY_TYPE", | 97 193: "JS_MODULE_NAMESPACE_TYPE", |
95 194: "JS_DATA_VIEW_TYPE", | 98 194: "JS_ARRAY_TYPE", |
96 195: "JS_SET_TYPE", | 99 195: "JS_ARRAY_BUFFER_TYPE", |
97 196: "JS_MAP_TYPE", | 100 196: "JS_TYPED_ARRAY_TYPE", |
98 197: "JS_SET_ITERATOR_TYPE", | 101 197: "JS_DATA_VIEW_TYPE", |
99 198: "JS_MAP_ITERATOR_TYPE", | 102 198: "JS_SET_TYPE", |
100 199: "JS_WEAK_MAP_TYPE", | 103 199: "JS_MAP_TYPE", |
101 200: "JS_WEAK_SET_TYPE", | 104 200: "JS_SET_ITERATOR_TYPE", |
102 201: "JS_PROMISE_CAPABILITY_TYPE", | 105 201: "JS_MAP_ITERATOR_TYPE", |
103 202: "JS_PROMISE_TYPE", | 106 202: "JS_WEAK_MAP_TYPE", |
104 203: "JS_REGEXP_TYPE", | 107 203: "JS_WEAK_SET_TYPE", |
105 204: "JS_ERROR_TYPE", | 108 204: "JS_PROMISE_CAPABILITY_TYPE", |
106 205: "JS_ASYNC_FROM_SYNC_ITERATOR_TYPE", | 109 205: "JS_PROMISE_TYPE", |
107 206: "JS_STRING_ITERATOR_TYPE", | 110 206: "JS_REGEXP_TYPE", |
108 207: "JS_TYPED_ARRAY_KEY_ITERATOR_TYPE", | 111 207: "JS_ERROR_TYPE", |
109 208: "JS_FAST_ARRAY_KEY_ITERATOR_TYPE", | 112 208: "JS_ASYNC_FROM_SYNC_ITERATOR_TYPE", |
110 209: "JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE", | 113 209: "JS_STRING_ITERATOR_TYPE", |
111 210: "JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 114 210: "JS_TYPED_ARRAY_KEY_ITERATOR_TYPE", |
112 211: "JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 115 211: "JS_FAST_ARRAY_KEY_ITERATOR_TYPE", |
113 212: "JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 116 212: "JS_GENERIC_ARRAY_KEY_ITERATOR_TYPE", |
114 213: "JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 117 213: "JS_UINT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
115 214: "JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 118 214: "JS_INT8_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
116 215: "JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 119 215: "JS_UINT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
117 216: "JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 120 216: "JS_INT16_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
118 217: "JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 121 217: "JS_UINT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
119 218: "JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 122 218: "JS_INT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
120 219: "JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 123 219: "JS_FLOAT32_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
121 220: "JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 124 220: "JS_FLOAT64_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
122 221: "JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 125 221: "JS_UINT8_CLAMPED_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
123 222: "JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 126 222: "JS_FAST_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
124 223: "JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 127 223: "JS_FAST_HOLEY_SMI_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
125 224: "JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 128 224: "JS_FAST_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
126 225: "JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE", | 129 225: "JS_FAST_HOLEY_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
127 226: "JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE", | 130 226: "JS_FAST_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
128 227: "JS_INT8_ARRAY_VALUE_ITERATOR_TYPE", | 131 227: "JS_FAST_HOLEY_DOUBLE_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
129 228: "JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE", | 132 228: "JS_GENERIC_ARRAY_KEY_VALUE_ITERATOR_TYPE", |
130 229: "JS_INT16_ARRAY_VALUE_ITERATOR_TYPE", | 133 229: "JS_UINT8_ARRAY_VALUE_ITERATOR_TYPE", |
131 230: "JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE", | 134 230: "JS_INT8_ARRAY_VALUE_ITERATOR_TYPE", |
132 231: "JS_INT32_ARRAY_VALUE_ITERATOR_TYPE", | 135 231: "JS_UINT16_ARRAY_VALUE_ITERATOR_TYPE", |
133 232: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE", | 136 232: "JS_INT16_ARRAY_VALUE_ITERATOR_TYPE", |
134 233: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE", | 137 233: "JS_UINT32_ARRAY_VALUE_ITERATOR_TYPE", |
135 234: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE", | 138 234: "JS_INT32_ARRAY_VALUE_ITERATOR_TYPE", |
136 235: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE", | 139 235: "JS_FLOAT32_ARRAY_VALUE_ITERATOR_TYPE", |
137 236: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE", | 140 236: "JS_FLOAT64_ARRAY_VALUE_ITERATOR_TYPE", |
138 237: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE", | 141 237: "JS_UINT8_CLAMPED_ARRAY_VALUE_ITERATOR_TYPE", |
139 238: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE", | 142 238: "JS_FAST_SMI_ARRAY_VALUE_ITERATOR_TYPE", |
140 239: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", | 143 239: "JS_FAST_HOLEY_SMI_ARRAY_VALUE_ITERATOR_TYPE", |
141 240: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", | 144 240: "JS_FAST_ARRAY_VALUE_ITERATOR_TYPE", |
142 241: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE", | 145 241: "JS_FAST_HOLEY_ARRAY_VALUE_ITERATOR_TYPE", |
143 242: "JS_BOUND_FUNCTION_TYPE", | 146 242: "JS_FAST_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", |
144 243: "JS_FUNCTION_TYPE", | 147 243: "JS_FAST_HOLEY_DOUBLE_ARRAY_VALUE_ITERATOR_TYPE", |
| 148 244: "JS_GENERIC_ARRAY_VALUE_ITERATOR_TYPE", |
| 149 245: "JS_BOUND_FUNCTION_TYPE", |
| 150 246: "JS_FUNCTION_TYPE", |
145 } | 151 } |
146 | 152 |
147 # List of known V8 maps. | 153 # List of known V8 maps. |
148 KNOWN_MAPS = { | 154 KNOWN_MAPS = { |
149 0x02201: (137, "FreeSpaceMap"), | 155 0x02201: (137, "FreeSpaceMap"), |
150 0x02259: (131, "MetaMap"), | 156 0x02259: (131, "MetaMap"), |
151 0x022b1: (130, "NullMap"), | 157 0x022b1: (130, "NullMap"), |
152 0x02309: (172, "FixedArrayMap"), | 158 0x02309: (170, "FixedArrayMap"), |
153 0x02361: (8, "OneByteInternalizedStringMap"), | 159 0x02361: (8, "OneByteInternalizedStringMap"), |
154 0x023b9: (148, "OnePointerFillerMap"), | 160 0x023b9: (148, "OnePointerFillerMap"), |
155 0x02411: (148, "TwoPointerFillerMap"), | 161 0x02411: (148, "TwoPointerFillerMap"), |
156 0x02469: (130, "UninitializedMap"), | 162 0x02469: (130, "UninitializedMap"), |
157 0x024c1: (130, "UndefinedMap"), | 163 0x024c1: (130, "UndefinedMap"), |
158 0x02519: (129, "HeapNumberMap"), | 164 0x02519: (129, "HeapNumberMap"), |
159 0x02571: (130, "TheHoleMap"), | 165 0x02571: (130, "TheHoleMap"), |
160 0x025c9: (130, "BooleanMap"), | 166 0x025c9: (130, "BooleanMap"), |
161 0x02621: (135, "ByteArrayMap"), | 167 0x02621: (135, "ByteArrayMap"), |
162 0x02679: (172, "FixedCOWArrayMap"), | 168 0x02679: (170, "FixedCOWArrayMap"), |
163 0x026d1: (172, "HashTableMap"), | 169 0x026d1: (170, "HashTableMap"), |
164 0x02729: (128, "SymbolMap"), | 170 0x02729: (128, "SymbolMap"), |
165 0x02781: (72, "OneByteStringMap"), | 171 0x02781: (72, "OneByteStringMap"), |
166 0x027d9: (172, "ScopeInfoMap"), | 172 0x027d9: (170, "ScopeInfoMap"), |
167 0x02831: (174, "SharedFunctionInfoMap"), | 173 0x02831: (172, "SharedFunctionInfoMap"), |
168 0x02889: (132, "CodeMap"), | 174 0x02889: (132, "CodeMap"), |
169 0x028e1: (172, "FunctionContextMap"), | 175 0x028e1: (170, "FunctionContextMap"), |
170 0x02939: (175, "CellMap"), | 176 0x02939: (173, "CellMap"), |
171 0x02991: (176, "WeakCellMap"), | 177 0x02991: (174, "WeakCellMap"), |
172 0x029e9: (177, "GlobalPropertyCellMap"), | 178 0x029e9: (175, "GlobalPropertyCellMap"), |
173 0x02a41: (134, "ForeignMap"), | 179 0x02a41: (134, "ForeignMap"), |
174 0x02a99: (173, "TransitionArrayMap"), | 180 0x02a99: (171, "TransitionArrayMap"), |
175 0x02af1: (130, "ArgumentsMarkerMap"), | 181 0x02af1: (130, "ArgumentsMarkerMap"), |
176 0x02b49: (172, "NativeContextMap"), | 182 0x02b49: (130, "ExceptionMap"), |
177 0x02ba1: (172, "ModuleContextMap"), | 183 0x02ba1: (130, "TerminationExceptionMap"), |
178 0x02bf9: (172, "EvalContextMap"), | 184 0x02bf9: (130, "OptimizedOutMap"), |
179 0x02c51: (172, "ScriptContextMap"), | 185 0x02c51: (130, "StaleRegisterMap"), |
180 0x02ca9: (172, "BlockContextMap"), | 186 0x02ca9: (170, "NativeContextMap"), |
181 0x02d01: (172, "CatchContextMap"), | 187 0x02d01: (170, "ModuleContextMap"), |
182 0x02d59: (172, "WithContextMap"), | 188 0x02d59: (170, "EvalContextMap"), |
183 0x02db1: (147, "FixedDoubleArrayMap"), | 189 0x02db1: (170, "ScriptContextMap"), |
184 0x02e09: (133, "MutableHeapNumberMap"), | 190 0x02e09: (170, "BlockContextMap"), |
185 0x02e61: (172, "OrderedHashTableMap"), | 191 0x02e61: (170, "CatchContextMap"), |
186 0x02eb9: (172, "SloppyArgumentsElementsMap"), | 192 0x02eb9: (170, "WithContextMap"), |
187 0x02f11: (183, "JSMessageObjectMap"), | 193 0x02f11: (147, "FixedDoubleArrayMap"), |
188 0x02f69: (136, "BytecodeArrayMap"), | 194 0x02f69: (133, "MutableHeapNumberMap"), |
189 0x02fc1: (172, "ModuleInfoMap"), | 195 0x02fc1: (170, "OrderedHashTableMap"), |
190 0x03019: (175, "NoClosuresCellMap"), | 196 0x03019: (170, "SloppyArgumentsElementsMap"), |
191 0x03071: (175, "OneClosureCellMap"), | 197 0x03071: (185, "JSMessageObjectMap"), |
192 0x030c9: (175, "ManyClosuresCellMap"), | 198 0x030c9: (136, "BytecodeArrayMap"), |
193 0x03121: (64, "StringMap"), | 199 0x03121: (170, "ModuleInfoMap"), |
194 0x03179: (73, "ConsOneByteStringMap"), | 200 0x03179: (173, "NoClosuresCellMap"), |
195 0x031d1: (65, "ConsStringMap"), | 201 0x031d1: (173, "OneClosureCellMap"), |
196 0x03229: (77, "ThinOneByteStringMap"), | 202 0x03229: (173, "ManyClosuresCellMap"), |
197 0x03281: (69, "ThinStringMap"), | 203 0x03281: (64, "StringMap"), |
198 0x032d9: (67, "SlicedStringMap"), | 204 0x032d9: (73, "ConsOneByteStringMap"), |
199 0x03331: (75, "SlicedOneByteStringMap"), | 205 0x03331: (65, "ConsStringMap"), |
200 0x03389: (66, "ExternalStringMap"), | 206 0x03389: (77, "ThinOneByteStringMap"), |
201 0x033e1: (82, "ExternalStringWithOneByteDataMap"), | 207 0x033e1: (69, "ThinStringMap"), |
202 0x03439: (74, "ExternalOneByteStringMap"), | 208 0x03439: (67, "SlicedStringMap"), |
203 0x03491: (98, "ShortExternalStringMap"), | 209 0x03491: (75, "SlicedOneByteStringMap"), |
204 0x034e9: (114, "ShortExternalStringWithOneByteDataMap"), | 210 0x034e9: (66, "ExternalStringMap"), |
205 0x03541: (0, "InternalizedStringMap"), | 211 0x03541: (82, "ExternalStringWithOneByteDataMap"), |
206 0x03599: (2, "ExternalInternalizedStringMap"), | 212 0x03599: (74, "ExternalOneByteStringMap"), |
207 0x035f1: (18, "ExternalInternalizedStringWithOneByteDataMap"), | 213 0x035f1: (98, "ShortExternalStringMap"), |
208 0x03649: (10, "ExternalOneByteInternalizedStringMap"), | 214 0x03649: (114, "ShortExternalStringWithOneByteDataMap"), |
209 0x036a1: (34, "ShortExternalInternalizedStringMap"), | 215 0x036a1: (0, "InternalizedStringMap"), |
210 0x036f9: (50, "ShortExternalInternalizedStringWithOneByteDataMap"), | 216 0x036f9: (2, "ExternalInternalizedStringMap"), |
211 0x03751: (42, "ShortExternalOneByteInternalizedStringMap"), | 217 0x03751: (18, "ExternalInternalizedStringWithOneByteDataMap"), |
212 0x037a9: (106, "ShortExternalOneByteStringMap"), | 218 0x037a9: (10, "ExternalOneByteInternalizedStringMap"), |
213 0x03801: (172, "FeedbackVectorMap"), | 219 0x03801: (34, "ShortExternalInternalizedStringMap"), |
214 0x03859: (130, "ExceptionMap"), | 220 0x03859: (50, "ShortExternalInternalizedStringWithOneByteDataMap"), |
215 0x038b1: (130, "TerminationExceptionMap"), | 221 0x038b1: (42, "ShortExternalOneByteInternalizedStringMap"), |
216 0x03909: (130, "OptimizedOutMap"), | 222 0x03909: (106, "ShortExternalOneByteStringMap"), |
217 0x03961: (130, "StaleRegisterMap"), | 223 0x03961: (139, "FixedUint8ArrayMap"), |
218 0x039b9: (172, "DebugEvaluateContextMap"), | 224 0x039b9: (138, "FixedInt8ArrayMap"), |
219 0x03a11: (172, "ScriptContextTableMap"), | 225 0x03a11: (141, "FixedUint16ArrayMap"), |
220 0x03a69: (172, "UnseededNumberDictionaryMap"), | 226 0x03a69: (140, "FixedInt16ArrayMap"), |
221 0x03ac1: (186, "ExternalMap"), | 227 0x03ac1: (143, "FixedUint32ArrayMap"), |
222 0x03b19: (106, "NativeSourceStringMap"), | 228 0x03b19: (142, "FixedInt32ArrayMap"), |
223 0x03b71: (139, "FixedUint8ArrayMap"), | 229 0x03b71: (144, "FixedFloat32ArrayMap"), |
224 0x03bc9: (138, "FixedInt8ArrayMap"), | 230 0x03bc9: (145, "FixedFloat64ArrayMap"), |
225 0x03c21: (141, "FixedUint16ArrayMap"), | 231 0x03c21: (146, "FixedUint8ClampedArrayMap"), |
226 0x03c79: (140, "FixedInt16ArrayMap"), | 232 0x03c79: (157, "ScriptMap"), |
227 0x03cd1: (143, "FixedUint32ArrayMap"), | 233 0x03cd1: (170, "FeedbackVectorMap"), |
228 0x03d29: (142, "FixedInt32ArrayMap"), | 234 0x03d29: (170, "DebugEvaluateContextMap"), |
229 0x03d81: (144, "FixedFloat32ArrayMap"), | 235 0x03d81: (170, "ScriptContextTableMap"), |
230 0x03dd9: (145, "FixedFloat64ArrayMap"), | 236 0x03dd9: (170, "UnseededNumberDictionaryMap"), |
231 0x03e31: (146, "FixedUint8ClampedArrayMap"), | 237 0x03e31: (188, "ExternalMap"), |
232 0x03e89: (158, "ScriptMap"), | 238 0x03e89: (106, "NativeSourceStringMap"), |
233 0x03ee1: (152, "InterceptorInfoMap"), | 239 0x03ee1: (152, "InterceptorInfoMap"), |
234 0x03f39: (201, "JSPromiseCapabilityMap"), | 240 0x03f39: (204, "JSPromiseCapabilityMap"), |
235 0x03f91: (149, "AccessorInfoMap"), | 241 0x03f91: (149, "AccessorInfoMap"), |
236 0x03fe9: (150, "AccessorPairMap"), | 242 0x03fe9: (150, "AccessorPairMap"), |
237 0x04041: (151, "AccessCheckInfoMap"), | 243 0x04041: (151, "AccessCheckInfoMap"), |
238 0x04099: (153, "CallHandlerInfoMap"), | 244 0x04099: (153, "FunctionTemplateInfoMap"), |
239 0x040f1: (154, "FunctionTemplateInfoMap"), | 245 0x040f1: (154, "ObjectTemplateInfoMap"), |
240 0x04149: (155, "ObjectTemplateInfoMap"), | 246 0x04149: (155, "AllocationSiteMap"), |
241 0x041a1: (156, "AllocationSiteMap"), | 247 0x041a1: (156, "AllocationMementoMap"), |
242 0x041f9: (157, "AllocationMementoMap"), | 248 0x041f9: (158, "AliasedArgumentsEntryMap"), |
243 0x04251: (159, "TypeFeedbackInfoMap"), | 249 0x04251: (159, "PromiseResolveThenableJobInfoMap"), |
244 0x042a9: (160, "AliasedArgumentsEntryMap"), | 250 0x042a9: (160, "PromiseReactionJobInfoMap"), |
245 0x04301: (161, "PromiseResolveThenableJobInfoMap"), | 251 0x04301: (161, "DebugInfoMap"), |
246 0x04359: (162, "PromiseReactionJobInfoMap"), | 252 0x04359: (162, "StackFrameInfoMap"), |
247 0x043b1: (163, "DebugInfoMap"), | 253 0x043b1: (163, "PrototypeInfoMap"), |
248 0x04409: (164, "BreakPointInfoMap"), | 254 0x04409: (164, "Tuple2Map"), |
249 0x04461: (165, "PrototypeInfoMap"), | 255 0x04461: (165, "Tuple3Map"), |
250 0x044b9: (166, "Tuple2Map"), | 256 0x044b9: (166, "ContextExtensionMap"), |
251 0x04511: (167, "Tuple3Map"), | 257 0x04511: (167, "ModuleMap"), |
252 0x04569: (168, "ContextExtensionMap"), | 258 0x04569: (168, "ModuleInfoEntryMap"), |
253 0x045c1: (169, "ConstantElementsPairMap"), | 259 0x045c1: (169, "AsyncGeneratorRequestMap"), |
254 0x04619: (170, "ModuleMap"), | |
255 0x04671: (171, "ModuleInfoEntryMap"), | |
256 } | 260 } |
257 | 261 |
258 # List of known V8 objects. | 262 # List of known V8 objects. |
259 KNOWN_OBJECTS = { | 263 KNOWN_OBJECTS = { |
260 ("OLD_SPACE", 0x02201): "NullValue", | 264 ("OLD_SPACE", 0x02201): "NullValue", |
261 ("OLD_SPACE", 0x02231): "EmptyDescriptorArray", | 265 ("OLD_SPACE", 0x02231): "EmptyDescriptorArray", |
262 ("OLD_SPACE", 0x02241): "EmptyFixedArray", | 266 ("OLD_SPACE", 0x02241): "EmptyFixedArray", |
263 ("OLD_SPACE", 0x02291): "UninitializedValue", | 267 ("OLD_SPACE", 0x02291): "UninitializedValue", |
264 ("OLD_SPACE", 0x02311): "UndefinedValue", | 268 ("OLD_SPACE", 0x02311): "UndefinedValue", |
265 ("OLD_SPACE", 0x02341): "NanValue", | 269 ("OLD_SPACE", 0x02341): "NanValue", |
266 ("OLD_SPACE", 0x02351): "TheHoleValue", | 270 ("OLD_SPACE", 0x02351): "TheHoleValue", |
267 ("OLD_SPACE", 0x023a1): "HoleNanValue", | 271 ("OLD_SPACE", 0x023a1): "HoleNanValue", |
268 ("OLD_SPACE", 0x023b1): "TrueValue", | 272 ("OLD_SPACE", 0x023b1): "TrueValue", |
269 ("OLD_SPACE", 0x02421): "FalseValue", | 273 ("OLD_SPACE", 0x02421): "FalseValue", |
270 ("OLD_SPACE", 0x02471): "empty_string", | 274 ("OLD_SPACE", 0x02471): "empty_string", |
271 ("OLD_SPACE", 0x02489): "ArgumentsMarker", | 275 ("OLD_SPACE", 0x02489): "EmptyScopeInfo", |
272 ("OLD_SPACE", 0x024e1): "EmptyByteArray", | 276 ("OLD_SPACE", 0x02499): "ArgumentsMarker", |
273 ("OLD_SPACE", 0x024f1): "EmptyWeakCell", | 277 ("OLD_SPACE", 0x024f1): "Exception", |
274 ("OLD_SPACE", 0x02509): "InfinityValue", | 278 ("OLD_SPACE", 0x02549): "TerminationException", |
275 ("OLD_SPACE", 0x02519): "MinusZeroValue", | 279 ("OLD_SPACE", 0x025a9): "OptimizedOut", |
276 ("OLD_SPACE", 0x02529): "MinusInfinityValue", | 280 ("OLD_SPACE", 0x02601): "StaleRegister", |
277 ("OLD_SPACE", 0x04979): "EmptyScopeInfo", | 281 ("OLD_SPACE", 0x02659): "EmptyByteArray", |
278 ("OLD_SPACE", 0x04989): "Exception", | 282 ("OLD_SPACE", 0x02669): "EmptyFixedUint8Array", |
279 ("OLD_SPACE", 0x049e1): "TerminationException", | 283 ("OLD_SPACE", 0x02689): "EmptyFixedInt8Array", |
280 ("OLD_SPACE", 0x04a41): "OptimizedOut", | 284 ("OLD_SPACE", 0x026a9): "EmptyFixedUint16Array", |
281 ("OLD_SPACE", 0x04a99): "StaleRegister", | 285 ("OLD_SPACE", 0x026c9): "EmptyFixedInt16Array", |
282 ("OLD_SPACE", 0x04af1): "EmptyFixedUint8Array", | 286 ("OLD_SPACE", 0x026e9): "EmptyFixedUint32Array", |
283 ("OLD_SPACE", 0x04b11): "EmptyFixedInt8Array", | 287 ("OLD_SPACE", 0x02709): "EmptyFixedInt32Array", |
284 ("OLD_SPACE", 0x04b31): "EmptyFixedUint16Array", | 288 ("OLD_SPACE", 0x02729): "EmptyFixedFloat32Array", |
285 ("OLD_SPACE", 0x04b51): "EmptyFixedInt16Array", | 289 ("OLD_SPACE", 0x02749): "EmptyFixedFloat64Array", |
286 ("OLD_SPACE", 0x04b71): "EmptyFixedUint32Array", | 290 ("OLD_SPACE", 0x02769): "EmptyFixedUint8ClampedArray", |
287 ("OLD_SPACE", 0x04b91): "EmptyFixedInt32Array", | 291 ("OLD_SPACE", 0x02789): "EmptyScript", |
288 ("OLD_SPACE", 0x04bb1): "EmptyFixedFloat32Array", | 292 ("OLD_SPACE", 0x02811): "UndefinedCell", |
289 ("OLD_SPACE", 0x04bd1): "EmptyFixedFloat64Array", | 293 ("OLD_SPACE", 0x02821): "EmptySloppyArgumentsElements", |
290 ("OLD_SPACE", 0x04bf1): "EmptyFixedUint8ClampedArray", | 294 ("OLD_SPACE", 0x02841): "EmptySlowElementDictionary", |
291 ("OLD_SPACE", 0x04c11): "EmptyScript", | 295 ("OLD_SPACE", 0x02891): "EmptyPropertyCell", |
292 ("OLD_SPACE", 0x04c99): "UndefinedCell", | 296 ("OLD_SPACE", 0x028b1): "EmptyWeakCell", |
293 ("OLD_SPACE", 0x04ca9): "EmptySloppyArgumentsElements", | 297 ("OLD_SPACE", 0x028c9): "ArrayProtector", |
294 ("OLD_SPACE", 0x04cc9): "EmptySlowElementDictionary", | 298 ("OLD_SPACE", 0x028e9): "IsConcatSpreadableProtector", |
295 ("OLD_SPACE", 0x04d19): "EmptyPropertyCell", | 299 ("OLD_SPACE", 0x028f9): "SpeciesProtector", |
296 ("OLD_SPACE", 0x04d39): "ArrayProtector", | 300 ("OLD_SPACE", 0x02909): "StringLengthProtector", |
297 ("OLD_SPACE", 0x04d59): "IsConcatSpreadableProtector", | 301 ("OLD_SPACE", 0x02929): "FastArrayIterationProtector", |
298 ("OLD_SPACE", 0x04d69): "SpeciesProtector", | 302 ("OLD_SPACE", 0x02939): "ArrayIteratorProtector", |
299 ("OLD_SPACE", 0x04d79): "StringLengthProtector", | 303 ("OLD_SPACE", 0x02959): "ArrayBufferNeuteringProtector", |
300 ("OLD_SPACE", 0x04d99): "FastArrayIterationProtector", | 304 ("OLD_SPACE", 0x02979): "InfinityValue", |
301 ("OLD_SPACE", 0x04da9): "ArrayIteratorProtector", | 305 ("OLD_SPACE", 0x02989): "MinusZeroValue", |
302 ("OLD_SPACE", 0x04dc9): "ArrayBufferNeuteringProtector", | 306 ("OLD_SPACE", 0x02999): "MinusInfinityValue", |
303 ("OLD_SPACE", 0x04de9): "NumberStringCache", | |
304 ("OLD_SPACE", 0x05df9): "SingleCharacterStringCache", | |
305 ("OLD_SPACE", 0x06669): "StringSplitCache", | |
306 ("OLD_SPACE", 0x06e79): "RegExpMultipleCache", | |
307 ("OLD_SPACE", 0x07689): "NativesSourceCache", | |
308 ("OLD_SPACE", 0x07931): "ExtraNativesSourceCache", | |
309 ("OLD_SPACE", 0x07969): "ExperimentalExtraNativesSourceCache", | |
310 ("OLD_SPACE", 0x07981): "EmptyPropertiesDictionary", | |
311 ("OLD_SPACE", 0x079d1): "ScriptList", | |
312 ("OLD_SPACE", 0x22019): "CodeStubs", | |
313 ("OLD_SPACE", 0x2f199): "WeakObjectToCodeTable", | |
314 ("OLD_SPACE", 0x2f3c1): "WeakNewSpaceObjectToCodeList", | |
315 ("OLD_SPACE", 0x2f451): "NoScriptSharedFunctionInfos", | |
316 ("OLD_SPACE", 0x4abd9): "MessageListeners", | |
317 ("OLD_SPACE", 0x4abf9): "NoOpInterceptorInfo", | |
318 ("OLD_SPACE", 0x531d1): "StringTable", | |
319 ("CODE_SPACE", 0x2cde1): "JsEntryCode", | |
320 ("CODE_SPACE", 0x31241): "JsConstructEntryCode", | |
321 } | 307 } |
322 | 308 |
323 # List of known V8 Frame Markers. | 309 # List of known V8 Frame Markers. |
324 FRAME_MARKERS = ( | 310 FRAME_MARKERS = ( |
325 "ENTRY", | 311 "ENTRY", |
326 "ENTRY_CONSTRUCT", | 312 "ENTRY_CONSTRUCT", |
327 "EXIT", | 313 "EXIT", |
328 "JAVA_SCRIPT", | 314 "JAVA_SCRIPT", |
329 "OPTIMIZED", | 315 "OPTIMIZED", |
330 "WASM_COMPILED", | 316 "WASM_COMPILED", |
331 "WASM_TO_JS", | 317 "WASM_TO_JS", |
332 "JS_TO_WASM", | 318 "JS_TO_WASM", |
333 "WASM_INTERPRETER_ENTRY", | 319 "WASM_INTERPRETER_ENTRY", |
334 "INTERPRETED", | 320 "INTERPRETED", |
335 "STUB", | 321 "STUB", |
336 "STUB_FAILURE_TRAMPOLINE", | 322 "STUB_FAILURE_TRAMPOLINE", |
337 "INTERNAL", | 323 "INTERNAL", |
338 "CONSTRUCT", | 324 "CONSTRUCT", |
339 "ARGUMENTS_ADAPTOR", | 325 "ARGUMENTS_ADAPTOR", |
340 "BUILTIN", | 326 "BUILTIN", |
341 "BUILTIN_EXIT", | 327 "BUILTIN_EXIT", |
342 ) | 328 ) |
| 329 |
| 330 # This set of constants is generated from a shipping build. |
OLD | NEW |