• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2018 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can
3# be found in the LICENSE file.
4
5# This file is automatically generated by mkgrokdump and should not
6# be modified manually.
7
8# List of known V8 instance types.
9INSTANCE_TYPES = {
10  0: "INTERNALIZED_STRING_TYPE",
11  2: "EXTERNAL_INTERNALIZED_STRING_TYPE",
12  8: "ONE_BYTE_INTERNALIZED_STRING_TYPE",
13  10: "EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
14  18: "EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
15  34: "SHORT_EXTERNAL_INTERNALIZED_STRING_TYPE",
16  42: "SHORT_EXTERNAL_ONE_BYTE_INTERNALIZED_STRING_TYPE",
17  50: "SHORT_EXTERNAL_INTERNALIZED_STRING_WITH_ONE_BYTE_DATA_TYPE",
18  64: "STRING_TYPE",
19  65: "CONS_STRING_TYPE",
20  66: "EXTERNAL_STRING_TYPE",
21  67: "SLICED_STRING_TYPE",
22  69: "THIN_STRING_TYPE",
23  72: "ONE_BYTE_STRING_TYPE",
24  73: "CONS_ONE_BYTE_STRING_TYPE",
25  74: "EXTERNAL_ONE_BYTE_STRING_TYPE",
26  75: "SLICED_ONE_BYTE_STRING_TYPE",
27  77: "THIN_ONE_BYTE_STRING_TYPE",
28  82: "EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
29  98: "SHORT_EXTERNAL_STRING_TYPE",
30  106: "SHORT_EXTERNAL_ONE_BYTE_STRING_TYPE",
31  114: "SHORT_EXTERNAL_STRING_WITH_ONE_BYTE_DATA_TYPE",
32  128: "SYMBOL_TYPE",
33  129: "HEAP_NUMBER_TYPE",
34  130: "BIGINT_TYPE",
35  131: "ODDBALL_TYPE",
36  132: "MAP_TYPE",
37  133: "CODE_TYPE",
38  134: "MUTABLE_HEAP_NUMBER_TYPE",
39  135: "FOREIGN_TYPE",
40  136: "BYTE_ARRAY_TYPE",
41  137: "BYTECODE_ARRAY_TYPE",
42  138: "FREE_SPACE_TYPE",
43  139: "FIXED_INT8_ARRAY_TYPE",
44  140: "FIXED_UINT8_ARRAY_TYPE",
45  141: "FIXED_INT16_ARRAY_TYPE",
46  142: "FIXED_UINT16_ARRAY_TYPE",
47  143: "FIXED_INT32_ARRAY_TYPE",
48  144: "FIXED_UINT32_ARRAY_TYPE",
49  145: "FIXED_FLOAT32_ARRAY_TYPE",
50  146: "FIXED_FLOAT64_ARRAY_TYPE",
51  147: "FIXED_UINT8_CLAMPED_ARRAY_TYPE",
52  148: "FIXED_BIGINT64_ARRAY_TYPE",
53  149: "FIXED_BIGUINT64_ARRAY_TYPE",
54  150: "FIXED_DOUBLE_ARRAY_TYPE",
55  151: "FEEDBACK_METADATA_TYPE",
56  152: "FILLER_TYPE",
57  153: "ACCESS_CHECK_INFO_TYPE",
58  154: "ACCESSOR_INFO_TYPE",
59  155: "ACCESSOR_PAIR_TYPE",
60  156: "ALIASED_ARGUMENTS_ENTRY_TYPE",
61  157: "ALLOCATION_MEMENTO_TYPE",
62  158: "ASYNC_GENERATOR_REQUEST_TYPE",
63  159: "DEBUG_INFO_TYPE",
64  160: "FUNCTION_TEMPLATE_INFO_TYPE",
65  161: "INTERCEPTOR_INFO_TYPE",
66  162: "INTERPRETER_DATA_TYPE",
67  163: "MODULE_INFO_ENTRY_TYPE",
68  164: "MODULE_TYPE",
69  165: "OBJECT_TEMPLATE_INFO_TYPE",
70  166: "PROMISE_CAPABILITY_TYPE",
71  167: "PROMISE_REACTION_TYPE",
72  168: "PROTOTYPE_INFO_TYPE",
73  169: "SCRIPT_TYPE",
74  170: "STACK_FRAME_INFO_TYPE",
75  171: "TUPLE2_TYPE",
76  172: "TUPLE3_TYPE",
77  173: "ARRAY_BOILERPLATE_DESCRIPTION_TYPE",
78  174: "WASM_DEBUG_INFO_TYPE",
79  175: "WASM_EXPORTED_FUNCTION_DATA_TYPE",
80  176: "CALLABLE_TASK_TYPE",
81  177: "CALLBACK_TASK_TYPE",
82  178: "PROMISE_FULFILL_REACTION_JOB_TASK_TYPE",
83  179: "PROMISE_REJECT_REACTION_JOB_TASK_TYPE",
84  180: "PROMISE_RESOLVE_THENABLE_JOB_TASK_TYPE",
85  181: "ALLOCATION_SITE_TYPE",
86  182: "FIXED_ARRAY_TYPE",
87  183: "OBJECT_BOILERPLATE_DESCRIPTION_TYPE",
88  184: "HASH_TABLE_TYPE",
89  185: "ORDERED_HASH_MAP_TYPE",
90  186: "ORDERED_HASH_SET_TYPE",
91  187: "NAME_DICTIONARY_TYPE",
92  188: "GLOBAL_DICTIONARY_TYPE",
93  189: "NUMBER_DICTIONARY_TYPE",
94  190: "SIMPLE_NUMBER_DICTIONARY_TYPE",
95  191: "STRING_TABLE_TYPE",
96  192: "EPHEMERON_HASH_TABLE_TYPE",
97  193: "SCOPE_INFO_TYPE",
98  194: "SCRIPT_CONTEXT_TABLE_TYPE",
99  195: "BLOCK_CONTEXT_TYPE",
100  196: "CATCH_CONTEXT_TYPE",
101  197: "DEBUG_EVALUATE_CONTEXT_TYPE",
102  198: "EVAL_CONTEXT_TYPE",
103  199: "FUNCTION_CONTEXT_TYPE",
104  200: "MODULE_CONTEXT_TYPE",
105  201: "NATIVE_CONTEXT_TYPE",
106  202: "SCRIPT_CONTEXT_TYPE",
107  203: "WITH_CONTEXT_TYPE",
108  204: "WEAK_FIXED_ARRAY_TYPE",
109  205: "DESCRIPTOR_ARRAY_TYPE",
110  206: "TRANSITION_ARRAY_TYPE",
111  207: "CALL_HANDLER_INFO_TYPE",
112  208: "CELL_TYPE",
113  209: "CODE_DATA_CONTAINER_TYPE",
114  210: "FEEDBACK_CELL_TYPE",
115  211: "FEEDBACK_VECTOR_TYPE",
116  212: "LOAD_HANDLER_TYPE",
117  213: "PRE_PARSED_SCOPE_DATA_TYPE",
118  214: "PROPERTY_ARRAY_TYPE",
119  215: "PROPERTY_CELL_TYPE",
120  216: "SHARED_FUNCTION_INFO_TYPE",
121  217: "SMALL_ORDERED_HASH_MAP_TYPE",
122  218: "SMALL_ORDERED_HASH_SET_TYPE",
123  219: "STORE_HANDLER_TYPE",
124  220: "UNCOMPILED_DATA_WITHOUT_PRE_PARSED_SCOPE_TYPE",
125  221: "UNCOMPILED_DATA_WITH_PRE_PARSED_SCOPE_TYPE",
126  222: "WEAK_ARRAY_LIST_TYPE",
127  1024: "JS_PROXY_TYPE",
128  1025: "JS_GLOBAL_OBJECT_TYPE",
129  1026: "JS_GLOBAL_PROXY_TYPE",
130  1027: "JS_MODULE_NAMESPACE_TYPE",
131  1040: "JS_SPECIAL_API_OBJECT_TYPE",
132  1041: "JS_VALUE_TYPE",
133  1056: "JS_API_OBJECT_TYPE",
134  1057: "JS_OBJECT_TYPE",
135  1058: "JS_ARGUMENTS_TYPE",
136  1059: "JS_ARRAY_BUFFER_TYPE",
137  1060: "JS_ARRAY_ITERATOR_TYPE",
138  1061: "JS_ARRAY_TYPE",
139  1062: "JS_ASYNC_FROM_SYNC_ITERATOR_TYPE",
140  1063: "JS_ASYNC_GENERATOR_OBJECT_TYPE",
141  1064: "JS_CONTEXT_EXTENSION_OBJECT_TYPE",
142  1065: "JS_DATE_TYPE",
143  1066: "JS_ERROR_TYPE",
144  1067: "JS_GENERATOR_OBJECT_TYPE",
145  1068: "JS_MAP_TYPE",
146  1069: "JS_MAP_KEY_ITERATOR_TYPE",
147  1070: "JS_MAP_KEY_VALUE_ITERATOR_TYPE",
148  1071: "JS_MAP_VALUE_ITERATOR_TYPE",
149  1072: "JS_MESSAGE_OBJECT_TYPE",
150  1073: "JS_PROMISE_TYPE",
151  1074: "JS_REGEXP_TYPE",
152  1075: "JS_REGEXP_STRING_ITERATOR_TYPE",
153  1076: "JS_SET_TYPE",
154  1077: "JS_SET_KEY_VALUE_ITERATOR_TYPE",
155  1078: "JS_SET_VALUE_ITERATOR_TYPE",
156  1079: "JS_STRING_ITERATOR_TYPE",
157  1080: "JS_WEAK_MAP_TYPE",
158  1081: "JS_WEAK_SET_TYPE",
159  1082: "JS_TYPED_ARRAY_TYPE",
160  1083: "JS_DATA_VIEW_TYPE",
161  1084: "JS_INTL_COLLATOR_TYPE",
162  1085: "JS_INTL_LIST_FORMAT_TYPE",
163  1086: "JS_INTL_LOCALE_TYPE",
164  1087: "JS_INTL_PLURAL_RULES_TYPE",
165  1088: "JS_INTL_RELATIVE_TIME_FORMAT_TYPE",
166  1089: "WASM_GLOBAL_TYPE",
167  1090: "WASM_INSTANCE_TYPE",
168  1091: "WASM_MEMORY_TYPE",
169  1092: "WASM_MODULE_TYPE",
170  1093: "WASM_TABLE_TYPE",
171  1094: "JS_BOUND_FUNCTION_TYPE",
172  1095: "JS_FUNCTION_TYPE",
173}
174
175# List of known V8 maps.
176KNOWN_MAPS = {
177  ("RO_SPACE", 0x02201): (138, "FreeSpaceMap"),
178  ("RO_SPACE", 0x02251): (132, "MetaMap"),
179  ("RO_SPACE", 0x022d1): (131, "NullMap"),
180  ("RO_SPACE", 0x02341): (205, "DescriptorArrayMap"),
181  ("RO_SPACE", 0x023a1): (204, "WeakFixedArrayMap"),
182  ("RO_SPACE", 0x023f1): (152, "OnePointerFillerMap"),
183  ("RO_SPACE", 0x02441): (152, "TwoPointerFillerMap"),
184  ("RO_SPACE", 0x024c1): (131, "UninitializedMap"),
185  ("RO_SPACE", 0x02539): (8, "OneByteInternalizedStringMap"),
186  ("RO_SPACE", 0x025e1): (131, "UndefinedMap"),
187  ("RO_SPACE", 0x02641): (129, "HeapNumberMap"),
188  ("RO_SPACE", 0x026c1): (131, "TheHoleMap"),
189  ("RO_SPACE", 0x02771): (131, "BooleanMap"),
190  ("RO_SPACE", 0x02869): (136, "ByteArrayMap"),
191  ("RO_SPACE", 0x028b9): (182, "FixedArrayMap"),
192  ("RO_SPACE", 0x02909): (182, "FixedCOWArrayMap"),
193  ("RO_SPACE", 0x02959): (184, "HashTableMap"),
194  ("RO_SPACE", 0x029a9): (128, "SymbolMap"),
195  ("RO_SPACE", 0x029f9): (72, "OneByteStringMap"),
196  ("RO_SPACE", 0x02a49): (193, "ScopeInfoMap"),
197  ("RO_SPACE", 0x02a99): (216, "SharedFunctionInfoMap"),
198  ("RO_SPACE", 0x02ae9): (133, "CodeMap"),
199  ("RO_SPACE", 0x02b39): (199, "FunctionContextMap"),
200  ("RO_SPACE", 0x02b89): (208, "CellMap"),
201  ("RO_SPACE", 0x02bd9): (215, "GlobalPropertyCellMap"),
202  ("RO_SPACE", 0x02c29): (135, "ForeignMap"),
203  ("RO_SPACE", 0x02c79): (206, "TransitionArrayMap"),
204  ("RO_SPACE", 0x02cc9): (211, "FeedbackVectorMap"),
205  ("RO_SPACE", 0x02d69): (131, "ArgumentsMarkerMap"),
206  ("RO_SPACE", 0x02e11): (131, "ExceptionMap"),
207  ("RO_SPACE", 0x02eb9): (131, "TerminationExceptionMap"),
208  ("RO_SPACE", 0x02f69): (131, "OptimizedOutMap"),
209  ("RO_SPACE", 0x03011): (131, "StaleRegisterMap"),
210  ("RO_SPACE", 0x03089): (201, "NativeContextMap"),
211  ("RO_SPACE", 0x030d9): (200, "ModuleContextMap"),
212  ("RO_SPACE", 0x03129): (198, "EvalContextMap"),
213  ("RO_SPACE", 0x03179): (202, "ScriptContextMap"),
214  ("RO_SPACE", 0x031c9): (195, "BlockContextMap"),
215  ("RO_SPACE", 0x03219): (196, "CatchContextMap"),
216  ("RO_SPACE", 0x03269): (203, "WithContextMap"),
217  ("RO_SPACE", 0x032b9): (197, "DebugEvaluateContextMap"),
218  ("RO_SPACE", 0x03309): (194, "ScriptContextTableMap"),
219  ("RO_SPACE", 0x03359): (151, "FeedbackMetadataArrayMap"),
220  ("RO_SPACE", 0x033a9): (182, "ArrayListMap"),
221  ("RO_SPACE", 0x033f9): (130, "BigIntMap"),
222  ("RO_SPACE", 0x03449): (183, "ObjectBoilerplateDescriptionMap"),
223  ("RO_SPACE", 0x03499): (137, "BytecodeArrayMap"),
224  ("RO_SPACE", 0x034e9): (209, "CodeDataContainerMap"),
225  ("RO_SPACE", 0x03539): (150, "FixedDoubleArrayMap"),
226  ("RO_SPACE", 0x03589): (188, "GlobalDictionaryMap"),
227  ("RO_SPACE", 0x035d9): (210, "ManyClosuresCellMap"),
228  ("RO_SPACE", 0x03629): (182, "ModuleInfoMap"),
229  ("RO_SPACE", 0x03679): (134, "MutableHeapNumberMap"),
230  ("RO_SPACE", 0x036c9): (187, "NameDictionaryMap"),
231  ("RO_SPACE", 0x03719): (210, "NoClosuresCellMap"),
232  ("RO_SPACE", 0x03769): (189, "NumberDictionaryMap"),
233  ("RO_SPACE", 0x037b9): (210, "OneClosureCellMap"),
234  ("RO_SPACE", 0x03809): (185, "OrderedHashMapMap"),
235  ("RO_SPACE", 0x03859): (186, "OrderedHashSetMap"),
236  ("RO_SPACE", 0x038a9): (213, "PreParsedScopeDataMap"),
237  ("RO_SPACE", 0x038f9): (214, "PropertyArrayMap"),
238  ("RO_SPACE", 0x03949): (207, "SideEffectCallHandlerInfoMap"),
239  ("RO_SPACE", 0x03999): (207, "SideEffectFreeCallHandlerInfoMap"),
240  ("RO_SPACE", 0x039e9): (207, "NextCallSideEffectFreeCallHandlerInfoMap"),
241  ("RO_SPACE", 0x03a39): (190, "SimpleNumberDictionaryMap"),
242  ("RO_SPACE", 0x03a89): (182, "SloppyArgumentsElementsMap"),
243  ("RO_SPACE", 0x03ad9): (217, "SmallOrderedHashMapMap"),
244  ("RO_SPACE", 0x03b29): (218, "SmallOrderedHashSetMap"),
245  ("RO_SPACE", 0x03b79): (191, "StringTableMap"),
246  ("RO_SPACE", 0x03bc9): (220, "UncompiledDataWithoutPreParsedScopeMap"),
247  ("RO_SPACE", 0x03c19): (221, "UncompiledDataWithPreParsedScopeMap"),
248  ("RO_SPACE", 0x03c69): (222, "WeakArrayListMap"),
249  ("RO_SPACE", 0x03cb9): (192, "EphemeronHashTableMap"),
250  ("RO_SPACE", 0x03d09): (106, "NativeSourceStringMap"),
251  ("RO_SPACE", 0x03d59): (64, "StringMap"),
252  ("RO_SPACE", 0x03da9): (73, "ConsOneByteStringMap"),
253  ("RO_SPACE", 0x03df9): (65, "ConsStringMap"),
254  ("RO_SPACE", 0x03e49): (77, "ThinOneByteStringMap"),
255  ("RO_SPACE", 0x03e99): (69, "ThinStringMap"),
256  ("RO_SPACE", 0x03ee9): (67, "SlicedStringMap"),
257  ("RO_SPACE", 0x03f39): (75, "SlicedOneByteStringMap"),
258  ("RO_SPACE", 0x03f89): (66, "ExternalStringMap"),
259  ("RO_SPACE", 0x03fd9): (82, "ExternalStringWithOneByteDataMap"),
260  ("RO_SPACE", 0x04029): (74, "ExternalOneByteStringMap"),
261  ("RO_SPACE", 0x04079): (98, "ShortExternalStringMap"),
262  ("RO_SPACE", 0x040c9): (114, "ShortExternalStringWithOneByteDataMap"),
263  ("RO_SPACE", 0x04119): (0, "InternalizedStringMap"),
264  ("RO_SPACE", 0x04169): (2, "ExternalInternalizedStringMap"),
265  ("RO_SPACE", 0x041b9): (18, "ExternalInternalizedStringWithOneByteDataMap"),
266  ("RO_SPACE", 0x04209): (10, "ExternalOneByteInternalizedStringMap"),
267  ("RO_SPACE", 0x04259): (34, "ShortExternalInternalizedStringMap"),
268  ("RO_SPACE", 0x042a9): (50, "ShortExternalInternalizedStringWithOneByteDataMap"),
269  ("RO_SPACE", 0x042f9): (42, "ShortExternalOneByteInternalizedStringMap"),
270  ("RO_SPACE", 0x04349): (106, "ShortExternalOneByteStringMap"),
271  ("RO_SPACE", 0x04399): (140, "FixedUint8ArrayMap"),
272  ("RO_SPACE", 0x043e9): (139, "FixedInt8ArrayMap"),
273  ("RO_SPACE", 0x04439): (142, "FixedUint16ArrayMap"),
274  ("RO_SPACE", 0x04489): (141, "FixedInt16ArrayMap"),
275  ("RO_SPACE", 0x044d9): (144, "FixedUint32ArrayMap"),
276  ("RO_SPACE", 0x04529): (143, "FixedInt32ArrayMap"),
277  ("RO_SPACE", 0x04579): (145, "FixedFloat32ArrayMap"),
278  ("RO_SPACE", 0x045c9): (146, "FixedFloat64ArrayMap"),
279  ("RO_SPACE", 0x04619): (147, "FixedUint8ClampedArrayMap"),
280  ("RO_SPACE", 0x04669): (149, "FixedBigUint64ArrayMap"),
281  ("RO_SPACE", 0x046b9): (148, "FixedBigInt64ArrayMap"),
282  ("RO_SPACE", 0x04709): (131, "SelfReferenceMarkerMap"),
283  ("RO_SPACE", 0x04771): (171, "Tuple2Map"),
284  ("RO_SPACE", 0x04811): (173, "ArrayBoilerplateDescriptionMap"),
285  ("RO_SPACE", 0x04b01): (161, "InterceptorInfoMap"),
286  ("RO_SPACE", 0x04bf9): (169, "ScriptMap"),
287  ("RO_SPACE", 0x09aa1): (154, "AccessorInfoMap"),
288  ("RO_SPACE", 0x09af1): (153, "AccessCheckInfoMap"),
289  ("RO_SPACE", 0x09b41): (155, "AccessorPairMap"),
290  ("RO_SPACE", 0x09b91): (156, "AliasedArgumentsEntryMap"),
291  ("RO_SPACE", 0x09be1): (157, "AllocationMementoMap"),
292  ("RO_SPACE", 0x09c31): (158, "AsyncGeneratorRequestMap"),
293  ("RO_SPACE", 0x09c81): (159, "DebugInfoMap"),
294  ("RO_SPACE", 0x09cd1): (160, "FunctionTemplateInfoMap"),
295  ("RO_SPACE", 0x09d21): (162, "InterpreterDataMap"),
296  ("RO_SPACE", 0x09d71): (163, "ModuleInfoEntryMap"),
297  ("RO_SPACE", 0x09dc1): (164, "ModuleMap"),
298  ("RO_SPACE", 0x09e11): (165, "ObjectTemplateInfoMap"),
299  ("RO_SPACE", 0x09e61): (166, "PromiseCapabilityMap"),
300  ("RO_SPACE", 0x09eb1): (167, "PromiseReactionMap"),
301  ("RO_SPACE", 0x09f01): (168, "PrototypeInfoMap"),
302  ("RO_SPACE", 0x09f51): (170, "StackFrameInfoMap"),
303  ("RO_SPACE", 0x09fa1): (172, "Tuple3Map"),
304  ("RO_SPACE", 0x09ff1): (174, "WasmDebugInfoMap"),
305  ("RO_SPACE", 0x0a041): (175, "WasmExportedFunctionDataMap"),
306  ("RO_SPACE", 0x0a091): (176, "CallableTaskMap"),
307  ("RO_SPACE", 0x0a0e1): (177, "CallbackTaskMap"),
308  ("RO_SPACE", 0x0a131): (178, "PromiseFulfillReactionJobTaskMap"),
309  ("RO_SPACE", 0x0a181): (179, "PromiseRejectReactionJobTaskMap"),
310  ("RO_SPACE", 0x0a1d1): (180, "PromiseResolveThenableJobTaskMap"),
311  ("RO_SPACE", 0x0a221): (181, "AllocationSiteMap"),
312  ("RO_SPACE", 0x0a271): (181, "AllocationSiteMap"),
313  ("MAP_SPACE", 0x02201): (1057, "ExternalMap"),
314  ("MAP_SPACE", 0x02251): (1072, "JSMessageObjectMap"),
315}
316
317# List of known V8 objects.
318KNOWN_OBJECTS = {
319  ("RO_SPACE", 0x022a1): "NullValue",
320  ("RO_SPACE", 0x02321): "EmptyDescriptorArray",
321  ("RO_SPACE", 0x02491): "UninitializedValue",
322  ("RO_SPACE", 0x025b1): "UndefinedValue",
323  ("RO_SPACE", 0x02631): "NanValue",
324  ("RO_SPACE", 0x02691): "TheHoleValue",
325  ("RO_SPACE", 0x02731): "HoleNanValue",
326  ("RO_SPACE", 0x02741): "TrueValue",
327  ("RO_SPACE", 0x02801): "FalseValue",
328  ("RO_SPACE", 0x02851): "empty_string",
329  ("RO_SPACE", 0x02d19): "EmptyScopeInfo",
330  ("RO_SPACE", 0x02d29): "EmptyFixedArray",
331  ("RO_SPACE", 0x02d39): "ArgumentsMarker",
332  ("RO_SPACE", 0x02de1): "Exception",
333  ("RO_SPACE", 0x02e89): "TerminationException",
334  ("RO_SPACE", 0x02f39): "OptimizedOut",
335  ("RO_SPACE", 0x02fe1): "StaleRegister",
336  ("RO_SPACE", 0x047d1): "EmptyByteArray",
337  ("RO_SPACE", 0x04861): "EmptyFixedUint8Array",
338  ("RO_SPACE", 0x04881): "EmptyFixedInt8Array",
339  ("RO_SPACE", 0x048a1): "EmptyFixedUint16Array",
340  ("RO_SPACE", 0x048c1): "EmptyFixedInt16Array",
341  ("RO_SPACE", 0x048e1): "EmptyFixedUint32Array",
342  ("RO_SPACE", 0x04901): "EmptyFixedInt32Array",
343  ("RO_SPACE", 0x04921): "EmptyFixedFloat32Array",
344  ("RO_SPACE", 0x04941): "EmptyFixedFloat64Array",
345  ("RO_SPACE", 0x04961): "EmptyFixedUint8ClampedArray",
346  ("RO_SPACE", 0x049c1): "EmptySloppyArgumentsElements",
347  ("RO_SPACE", 0x049e1): "EmptySlowElementDictionary",
348  ("RO_SPACE", 0x04a29): "EmptyOrderedHashMap",
349  ("RO_SPACE", 0x04a51): "EmptyOrderedHashSet",
350  ("RO_SPACE", 0x04a89): "EmptyPropertyCell",
351  ("RO_SPACE", 0x04b69): "InfinityValue",
352  ("RO_SPACE", 0x04b79): "MinusZeroValue",
353  ("RO_SPACE", 0x04b89): "MinusInfinityValue",
354  ("RO_SPACE", 0x04b99): "SelfReferenceMarker",
355  ("OLD_SPACE", 0x02211): "EmptyScript",
356  ("OLD_SPACE", 0x02291): "ManyClosuresCell",
357  ("OLD_SPACE", 0x022b1): "NoElementsProtector",
358  ("OLD_SPACE", 0x022d9): "IsConcatSpreadableProtector",
359  ("OLD_SPACE", 0x022e9): "ArraySpeciesProtector",
360  ("OLD_SPACE", 0x02311): "TypedArraySpeciesProtector",
361  ("OLD_SPACE", 0x02339): "PromiseSpeciesProtector",
362  ("OLD_SPACE", 0x02361): "StringLengthProtector",
363  ("OLD_SPACE", 0x02371): "ArrayIteratorProtector",
364  ("OLD_SPACE", 0x02399): "ArrayBufferNeuteringProtector",
365}
366
367# List of known V8 Frame Markers.
368FRAME_MARKERS = (
369  "ENTRY",
370  "CONSTRUCT_ENTRY",
371  "EXIT",
372  "OPTIMIZED",
373  "WASM_COMPILED",
374  "WASM_TO_JS",
375  "JS_TO_WASM",
376  "WASM_INTERPRETER_ENTRY",
377  "C_WASM_ENTRY",
378  "WASM_COMPILE_LAZY",
379  "INTERPRETED",
380  "STUB",
381  "BUILTIN_CONTINUATION",
382  "JAVA_SCRIPT_BUILTIN_CONTINUATION",
383  "JAVA_SCRIPT_BUILTIN_CONTINUATION_WITH_CATCH",
384  "INTERNAL",
385  "CONSTRUCT",
386  "ARGUMENTS_ADAPTOR",
387  "BUILTIN",
388  "BUILTIN_EXIT",
389  "NATIVE",
390)
391
392# This set of constants is generated from a shipping build.
393