OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 } | 131 } |
132 | 132 |
133 # List of known V8 maps. | 133 # List of known V8 maps. |
134 KNOWN_MAPS = { | 134 KNOWN_MAPS = { |
135 0x08081: (136, "ByteArrayMap"), | 135 0x08081: (136, "ByteArrayMap"), |
136 0x080a9: (129, "MetaMap"), | 136 0x080a9: (129, "MetaMap"), |
137 0x080d1: (131, "OddballMap"), | 137 0x080d1: (131, "OddballMap"), |
138 0x080f9: (4, "AsciiInternalizedStringMap"), | 138 0x080f9: (4, "AsciiInternalizedStringMap"), |
139 0x08121: (179, "FixedArrayMap"), | 139 0x08121: (179, "FixedArrayMap"), |
140 0x08149: (134, "HeapNumberMap"), | 140 0x08149: (134, "HeapNumberMap"), |
141 0x08171: (130, "CodeMap"), | 141 0x08171: (137, "FreeSpaceMap"), |
142 0x08199: (180, "ConstantPoolArrayMap"), | 142 0x08199: (157, "OnePointerFillerMap"), |
143 0x081c1: (137, "FreeSpaceMap"), | 143 0x081c1: (157, "TwoPointerFillerMap"), |
144 0x081e9: (157, "OnePointerFillerMap"), | 144 0x081e9: (132, "CellMap"), |
145 0x08211: (157, "TwoPointerFillerMap"), | 145 0x08211: (133, "GlobalPropertyCellMap"), |
146 0x08239: (132, "CellMap"), | 146 0x08239: (181, "SharedFunctionInfoMap"), |
147 0x08261: (133, "GlobalPropertyCellMap"), | 147 0x08261: (179, "NativeContextMap"), |
148 0x08289: (181, "SharedFunctionInfoMap"), | 148 0x08289: (130, "CodeMap"), |
149 0x082b1: (179, "NativeContextMap"), | 149 0x082b1: (179, "ScopeInfoMap"), |
150 0x082d9: (179, "ScopeInfoMap"), | 150 0x082d9: (179, "FixedCOWArrayMap"), |
151 0x08301: (179, "FixedCOWArrayMap"), | 151 0x08301: (156, "FixedDoubleArrayMap"), |
152 0x08329: (156, "FixedDoubleArrayMap"), | 152 0x08329: (180, "ConstantPoolArrayMap"), |
153 0x08351: (179, "HashTableMap"), | 153 0x08351: (179, "HashTableMap"), |
154 0x08379: (128, "SymbolMap"), | 154 0x08379: (128, "SymbolMap"), |
155 0x083a1: (64, "StringMap"), | 155 0x083a1: (64, "StringMap"), |
156 0x083c9: (68, "AsciiStringMap"), | 156 0x083c9: (68, "AsciiStringMap"), |
157 0x083f1: (65, "ConsStringMap"), | 157 0x083f1: (65, "ConsStringMap"), |
158 0x08419: (69, "ConsAsciiStringMap"), | 158 0x08419: (69, "ConsAsciiStringMap"), |
159 0x08441: (67, "SlicedStringMap"), | 159 0x08441: (67, "SlicedStringMap"), |
160 0x08469: (71, "SlicedAsciiStringMap"), | 160 0x08469: (71, "SlicedAsciiStringMap"), |
161 0x08491: (66, "ExternalStringMap"), | 161 0x08491: (66, "ExternalStringMap"), |
162 0x084b9: (74, "ExternalStringWithOneByteDataMap"), | 162 0x084b9: (74, "ExternalStringWithOneByteDataMap"), |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 0x08eb9: (174, "TypeFeedbackInfoMap"), | 224 0x08eb9: (174, "TypeFeedbackInfoMap"), |
225 0x08ee1: (175, "AliasedArgumentsEntryMap"), | 225 0x08ee1: (175, "AliasedArgumentsEntryMap"), |
226 0x08f09: (177, "DebugInfoMap"), | 226 0x08f09: (177, "DebugInfoMap"), |
227 0x08f31: (178, "BreakPointInfoMap"), | 227 0x08f31: (178, "BreakPointInfoMap"), |
228 } | 228 } |
229 | 229 |
230 # List of known V8 objects. | 230 # List of known V8 objects. |
231 KNOWN_OBJECTS = { | 231 KNOWN_OBJECTS = { |
232 ("OLD_POINTER_SPACE", 0x08081): "NullValue", | 232 ("OLD_POINTER_SPACE", 0x08081): "NullValue", |
233 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", | 233 ("OLD_POINTER_SPACE", 0x08091): "UndefinedValue", |
234 ("OLD_POINTER_SPACE", 0x08111): "TheHoleValue", | 234 ("OLD_POINTER_SPACE", 0x080a1): "TheHoleValue", |
235 ("OLD_POINTER_SPACE", 0x08121): "TerminationException", | 235 ("OLD_POINTER_SPACE", 0x080b1): "TrueValue", |
236 ("OLD_POINTER_SPACE", 0x08131): "TrueValue", | 236 ("OLD_POINTER_SPACE", 0x080c1): "FalseValue", |
237 ("OLD_POINTER_SPACE", 0x08141): "FalseValue", | 237 ("OLD_POINTER_SPACE", 0x080d1): "UninitializedValue", |
238 ("OLD_POINTER_SPACE", 0x081c1): "UninitializedValue", | 238 ("OLD_POINTER_SPACE", 0x080e1): "NoInterceptorResultSentinel", |
239 ("OLD_POINTER_SPACE", 0x081d1): "NoInterceptorResultSentinel", | 239 ("OLD_POINTER_SPACE", 0x080f1): "ArgumentsMarker", |
240 ("OLD_POINTER_SPACE", 0x081e1): "ArgumentsMarker", | 240 ("OLD_POINTER_SPACE", 0x08101): "NumberStringCache", |
241 ("OLD_POINTER_SPACE", 0x081f1): "NumberStringCache", | 241 ("OLD_POINTER_SPACE", 0x08909): "SingleCharacterStringCache", |
242 ("OLD_POINTER_SPACE", 0x089f9): "SingleCharacterStringCache", | 242 ("OLD_POINTER_SPACE", 0x08d11): "StringSplitCache", |
243 ("OLD_POINTER_SPACE", 0x08e01): "StringSplitCache", | 243 ("OLD_POINTER_SPACE", 0x09119): "RegExpMultipleCache", |
244 ("OLD_POINTER_SPACE", 0x09209): "RegExpMultipleCache", | 244 ("OLD_POINTER_SPACE", 0x09521): "TerminationException", |
245 ("OLD_POINTER_SPACE", 0x09611): "MessageListeners", | 245 ("OLD_POINTER_SPACE", 0x09531): "MessageListeners", |
246 ("OLD_POINTER_SPACE", 0x0962d): "CodeStubs", | 246 ("OLD_POINTER_SPACE", 0x0954d): "CodeStubs", |
247 ("OLD_POINTER_SPACE", 0x10789): "NonMonomorphicCache", | 247 ("OLD_POINTER_SPACE", 0x0ca65): "MegamorphicSymbol", |
248 ("OLD_POINTER_SPACE", 0x10d9d): "PolymorphicCodeCache", | 248 ("OLD_POINTER_SPACE", 0x0ca75): "UninitializedSymbol", |
249 ("OLD_POINTER_SPACE", 0x10da5): "NativesSourceCache", | 249 ("OLD_POINTER_SPACE", 0x10ae9): "NonMonomorphicCache", |
250 ("OLD_POINTER_SPACE", 0x10df1): "EmptyScript", | 250 ("OLD_POINTER_SPACE", 0x110fd): "PolymorphicCodeCache", |
251 ("OLD_POINTER_SPACE", 0x10e29): "IntrinsicFunctionNames", | 251 ("OLD_POINTER_SPACE", 0x11105): "NativesSourceCache", |
252 ("OLD_POINTER_SPACE", 0x13e45): "ObservationState", | 252 ("OLD_POINTER_SPACE", 0x11155): "EmptyScript", |
253 ("OLD_POINTER_SPACE", 0x13e51): "FrozenSymbol", | 253 ("OLD_POINTER_SPACE", 0x11189): "IntrinsicFunctionNames", |
254 ("OLD_POINTER_SPACE", 0x13e61): "ElementsTransitionSymbol", | 254 ("OLD_POINTER_SPACE", 0x141a5): "ObservationState", |
255 ("OLD_POINTER_SPACE", 0x13e71): "EmptySlowElementDictionary", | 255 ("OLD_POINTER_SPACE", 0x141b1): "FrozenSymbol", |
256 ("OLD_POINTER_SPACE", 0x1400d): "ObservedSymbol", | 256 ("OLD_POINTER_SPACE", 0x141c1): "NonExistentSymbol", |
257 ("OLD_POINTER_SPACE", 0x1401d): "AllocationSitesScratchpad", | 257 ("OLD_POINTER_SPACE", 0x141d1): "ElementsTransitionSymbol", |
258 ("OLD_POINTER_SPACE", 0x14425): "MicrotaskState", | 258 ("OLD_POINTER_SPACE", 0x141e1): "EmptySlowElementDictionary", |
259 ("OLD_POINTER_SPACE", 0x32c25): "StringTable", | 259 ("OLD_POINTER_SPACE", 0x1437d): "ObservedSymbol", |
| 260 ("OLD_POINTER_SPACE", 0x1438d): "AllocationSitesScratchpad", |
| 261 ("OLD_POINTER_SPACE", 0x14795): "MicrotaskState", |
| 262 ("OLD_POINTER_SPACE", 0x36241): "StringTable", |
260 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray", | 263 ("OLD_DATA_SPACE", 0x08099): "EmptyDescriptorArray", |
261 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray", | 264 ("OLD_DATA_SPACE", 0x080a1): "EmptyFixedArray", |
262 ("OLD_DATA_SPACE", 0x080a9): "NanValue", | 265 ("OLD_DATA_SPACE", 0x080a9): "NanValue", |
263 ("OLD_DATA_SPACE", 0x080e5): "EmptyConstantPoolArray", | 266 ("OLD_DATA_SPACE", 0x08141): "EmptyByteArray", |
264 ("OLD_DATA_SPACE", 0x08235): "EmptyByteArray", | 267 ("OLD_DATA_SPACE", 0x08149): "EmptyConstantPoolArray", |
265 ("OLD_DATA_SPACE", 0x08349): "EmptyExternalInt8Array", | 268 ("OLD_DATA_SPACE", 0x0828d): "EmptyExternalInt8Array", |
266 ("OLD_DATA_SPACE", 0x08355): "EmptyExternalUint8Array", | 269 ("OLD_DATA_SPACE", 0x08299): "EmptyExternalUint8Array", |
267 ("OLD_DATA_SPACE", 0x08361): "EmptyExternalInt16Array", | 270 ("OLD_DATA_SPACE", 0x082a5): "EmptyExternalInt16Array", |
268 ("OLD_DATA_SPACE", 0x0836d): "EmptyExternalUint16Array", | 271 ("OLD_DATA_SPACE", 0x082b1): "EmptyExternalUint16Array", |
269 ("OLD_DATA_SPACE", 0x08379): "EmptyExternalInt32Array", | 272 ("OLD_DATA_SPACE", 0x082bd): "EmptyExternalInt32Array", |
270 ("OLD_DATA_SPACE", 0x08385): "EmptyExternalUint32Array", | 273 ("OLD_DATA_SPACE", 0x082c9): "EmptyExternalUint32Array", |
271 ("OLD_DATA_SPACE", 0x08391): "EmptyExternalFloat32Array", | 274 ("OLD_DATA_SPACE", 0x082d5): "EmptyExternalFloat32Array", |
272 ("OLD_DATA_SPACE", 0x0839d): "EmptyExternalFloat64Array", | 275 ("OLD_DATA_SPACE", 0x082e1): "EmptyExternalFloat64Array", |
273 ("OLD_DATA_SPACE", 0x083a9): "EmptyExternalUint8ClampedArray", | 276 ("OLD_DATA_SPACE", 0x082ed): "EmptyExternalUint8ClampedArray", |
274 ("OLD_DATA_SPACE", 0x083b5): "InfinityValue", | 277 ("OLD_DATA_SPACE", 0x082f9): "InfinityValue", |
275 ("OLD_DATA_SPACE", 0x083c1): "MinusZeroValue", | 278 ("OLD_DATA_SPACE", 0x08305): "MinusZeroValue", |
276 ("CODE_SPACE", 0x13c81): "JsConstructEntryCode", | 279 ("CODE_SPACE", 0x138e1): "JsConstructEntryCode", |
277 ("CODE_SPACE", 0x215a1): "JsEntryCode", | 280 ("CODE_SPACE", 0x21361): "JsEntryCode", |
278 } | 281 } |
OLD | NEW |