The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.
Please select the desired protocol below to get the URL.
This URL has Read-Only access.
main_repo / deps / mdb_v8 / mdb_v8_cfg.c @ e851fef6
History | View | Annotate | Download (33.4 KB)
1 |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
---|---|
2 |
*
|
3 |
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
4 |
* of this software and associated documentation files (the "Software"), to
|
5 |
* deal in the Software without restriction, including without limitation the
|
6 |
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
7 |
* sell copies of the Software, and to permit persons to whom the Software is
|
8 |
* furnished to do so, subject to the following conditions:
|
9 |
*
|
10 |
* The above copyright notice and this permission notice shall be included in
|
11 |
* all copies or substantial portions of the Software.
|
12 |
*
|
13 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14 |
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16 |
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17 |
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
18 |
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
19 |
* IN THE SOFTWARE.
|
20 |
*/
|
21 |
|
22 |
/*
|
23 |
* mdb_v8_cfg.c: canned configurations for previous V8 versions.
|
24 |
*
|
25 |
* The functions and data defined here enable this dmod to support debugging
|
26 |
* Node.js binaries that predated V8's built-in postmortem debugging support.
|
27 |
*/
|
28 |
|
29 |
#include "v8cfg.h" |
30 |
|
31 |
/*ARGSUSED*/
|
32 |
static int |
33 |
v8cfg_target_iter(v8_cfg_t *cfgp, int (*func)(mdb_symbol_t *, void *), |
34 |
void *arg)
|
35 |
{ |
36 |
return (mdb_symbol_iter(MDB_OBJ_EVERY, MDB_DYNSYM,
|
37 |
MDB_BIND_GLOBAL | MDB_TYPE_OBJECT | MDB_TYPE_FUNC, |
38 |
func, arg)); |
39 |
} |
40 |
|
41 |
/*ARGSUSED*/
|
42 |
static int |
43 |
v8cfg_target_readsym(v8_cfg_t *cfgp, const char *name, intptr_t *valp) |
44 |
{ |
45 |
int val, rval;
|
46 |
|
47 |
if ((rval = mdb_readsym(&val, sizeof (val), name)) != -1) |
48 |
*valp = (intptr_t)val; |
49 |
|
50 |
return (rval);
|
51 |
} |
52 |
|
53 |
/*
|
54 |
* Analog of mdb_symbol_iter() for a canned configuration.
|
55 |
*/
|
56 |
static int |
57 |
v8cfg_canned_iter(v8_cfg_t *cfgp, int (*func)(mdb_symbol_t *, void *), |
58 |
void *arg)
|
59 |
{ |
60 |
v8_cfg_symbol_t *v8sym; |
61 |
mdb_symbol_t mdbsym; |
62 |
int rv;
|
63 |
|
64 |
for (v8sym = cfgp->v8cfg_symbols; v8sym->v8cs_name != NULL; v8sym++) { |
65 |
mdbsym.sym_name = v8sym->v8cs_name; |
66 |
mdbsym.sym_object = NULL;
|
67 |
mdbsym.sym_sym = NULL;
|
68 |
mdbsym.sym_table = 0;
|
69 |
mdbsym.sym_id = 0;
|
70 |
|
71 |
if ((rv = func(&mdbsym, arg)) != 0) |
72 |
return (rv);
|
73 |
} |
74 |
|
75 |
return (0); |
76 |
} |
77 |
|
78 |
/*
|
79 |
* Analog of mdb_readsym() for a canned configuration.
|
80 |
*/
|
81 |
static int |
82 |
v8cfg_canned_readsym(v8_cfg_t *cfgp, const char *name, intptr_t *valp) |
83 |
{ |
84 |
v8_cfg_symbol_t *v8sym; |
85 |
|
86 |
for (v8sym = cfgp->v8cfg_symbols; v8sym->v8cs_name != NULL; v8sym++) { |
87 |
if (strcmp(name, v8sym->v8cs_name) == 0) |
88 |
break;
|
89 |
} |
90 |
|
91 |
if (v8sym->v8cs_name == NULL) |
92 |
return (-1); |
93 |
|
94 |
*valp = v8sym->v8cs_value; |
95 |
return (0); |
96 |
} |
97 |
|
98 |
/*
|
99 |
* Canned configuration for the V8 bundled with Node.js v0.4.8 and later.
|
100 |
*/
|
101 |
static v8_cfg_symbol_t v8_symbols_node_04[] = {
|
102 |
{ "v8dbg_type_AccessCheckInfo__ACCESS_CHECK_INFO_TYPE", 0x91 }, |
103 |
{ "v8dbg_type_AccessorInfo__ACCESSOR_INFO_TYPE", 0x90 }, |
104 |
{ "v8dbg_type_BreakPointInfo__BREAK_POINT_INFO_TYPE", 0x9b }, |
105 |
{ "v8dbg_type_ByteArray__BYTE_ARRAY_TYPE", 0x86 }, |
106 |
{ "v8dbg_type_CallHandlerInfo__CALL_HANDLER_INFO_TYPE", 0x93 }, |
107 |
{ "v8dbg_type_Code__CODE_TYPE", 0x81 }, |
108 |
{ "v8dbg_type_CodeCache__CODE_CACHE_TYPE", 0x99 }, |
109 |
{ "v8dbg_type_ConsString__CONS_ASCII_STRING_TYPE", 0x5 }, |
110 |
{ "v8dbg_type_ConsString__CONS_ASCII_SYMBOL_TYPE", 0x45 }, |
111 |
{ "v8dbg_type_ConsString__CONS_STRING_TYPE", 0x1 }, |
112 |
{ "v8dbg_type_ConsString__CONS_SYMBOL_TYPE", 0x41 }, |
113 |
{ "v8dbg_type_DebugInfo__DEBUG_INFO_TYPE", 0x9a }, |
114 |
{ "v8dbg_type_ExternalAsciiString__EXTERNAL_ASCII_STRING_TYPE", 0x6 }, |
115 |
{ "v8dbg_type_ExternalAsciiString__EXTERNAL_ASCII_SYMBOL_TYPE", 0x46 }, |
116 |
{ "v8dbg_type_ExternalByteArray__EXTERNAL_BYTE_ARRAY_TYPE", 0x88 }, |
117 |
{ "v8dbg_type_ExternalFloatArray__EXTERNAL_FLOAT_ARRAY_TYPE", 0x8e }, |
118 |
{ "v8dbg_type_ExternalIntArray__EXTERNAL_INT_ARRAY_TYPE", 0x8c }, |
119 |
{ "v8dbg_type_ExternalShortArray__EXTERNAL_SHORT_ARRAY_TYPE", 0x8a }, |
120 |
{ "v8dbg_type_ExternalString__EXTERNAL_STRING_TYPE", 0x2 }, |
121 |
{ "v8dbg_type_ExternalString__EXTERNAL_SYMBOL_TYPE", 0x42 }, |
122 |
{ "v8dbg_type_ExternalUnsignedByteArray__"
|
123 |
"EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE", 0x89 }, |
124 |
{ "v8dbg_type_ExternalUnsignedIntArray__"
|
125 |
"EXTERNAL_UNSIGNED_INT_ARRAY_TYPE", 0x8d }, |
126 |
{ "v8dbg_type_ExternalUnsignedShortArray__"
|
127 |
"EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE", 0x8b }, |
128 |
{ "v8dbg_type_FixedArray__FIXED_ARRAY_TYPE", 0x9c }, |
129 |
{ "v8dbg_type_FunctionTemplateInfo__"
|
130 |
"FUNCTION_TEMPLATE_INFO_TYPE", 0x94 }, |
131 |
{ "v8dbg_type_HeapNumber__HEAP_NUMBER_TYPE", 0x84 }, |
132 |
{ "v8dbg_type_InterceptorInfo__INTERCEPTOR_INFO_TYPE", 0x92 }, |
133 |
{ "v8dbg_type_JSArray__JS_ARRAY_TYPE", 0xa5 }, |
134 |
{ "v8dbg_type_JSBuiltinsObject__JS_BUILTINS_OBJECT_TYPE", 0xa3 }, |
135 |
{ "v8dbg_type_JSFunction__JS_FUNCTION_TYPE", 0xa7 }, |
136 |
{ "v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE", 0xa2 }, |
137 |
{ "v8dbg_type_JSGlobalPropertyCell__"
|
138 |
"JS_GLOBAL_PROPERTY_CELL_TYPE", 0x83 }, |
139 |
{ "v8dbg_type_JSGlobalProxy__JS_GLOBAL_PROXY_TYPE", 0xa4 }, |
140 |
{ "v8dbg_type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE", 0x9e }, |
141 |
{ "v8dbg_type_JSObject__JS_OBJECT_TYPE", 0xa0 }, |
142 |
{ "v8dbg_type_JSRegExp__JS_REGEXP_TYPE", 0xa6 }, |
143 |
{ "v8dbg_type_JSValue__JS_VALUE_TYPE", 0x9f }, |
144 |
{ "v8dbg_type_Map__MAP_TYPE", 0x80 }, |
145 |
{ "v8dbg_type_ObjectTemplateInfo__OBJECT_TEMPLATE_INFO_TYPE", 0x95 }, |
146 |
{ "v8dbg_type_Oddball__ODDBALL_TYPE", 0x82 }, |
147 |
{ "v8dbg_type_Script__SCRIPT_TYPE", 0x98 }, |
148 |
{ "v8dbg_type_SeqAsciiString__ASCII_STRING_TYPE", 0x4 }, |
149 |
{ "v8dbg_type_SeqAsciiString__ASCII_SYMBOL_TYPE", 0x44 }, |
150 |
{ "v8dbg_type_SharedFunctionInfo__SHARED_FUNCTION_INFO_TYPE", 0x9d }, |
151 |
{ "v8dbg_type_SignatureInfo__SIGNATURE_INFO_TYPE", 0x96 }, |
152 |
{ "v8dbg_type_String__STRING_TYPE", 0x0 }, |
153 |
{ "v8dbg_type_String__SYMBOL_TYPE", 0x40 }, |
154 |
{ "v8dbg_type_TypeSwitchInfo__TYPE_SWITCH_INFO_TYPE", 0x97 }, |
155 |
|
156 |
{ "v8dbg_class_AccessCheckInfo__data__Object", 0xc }, |
157 |
{ "v8dbg_class_AccessCheckInfo__indexed_callback__Object", 0x8 }, |
158 |
{ "v8dbg_class_AccessCheckInfo__named_callback__Object", 0x4 }, |
159 |
{ "v8dbg_class_AccessorInfo__data__Object", 0xc }, |
160 |
{ "v8dbg_class_AccessorInfo__flag__Smi", 0x14 }, |
161 |
{ "v8dbg_class_AccessorInfo__getter__Object", 0x4 }, |
162 |
{ "v8dbg_class_AccessorInfo__name__Object", 0x10 }, |
163 |
{ "v8dbg_class_AccessorInfo__setter__Object", 0x8 }, |
164 |
{ "v8dbg_class_BreakPointInfo__break_point_objects__Object", 0x10 }, |
165 |
{ "v8dbg_class_BreakPointInfo__code_position__Smi", 0x4 }, |
166 |
{ "v8dbg_class_BreakPointInfo__source_position__Smi", 0x8 }, |
167 |
{ "v8dbg_class_BreakPointInfo__statement_position__Smi", 0xc }, |
168 |
{ "v8dbg_class_ByteArray__length__SMI", 0x4 }, |
169 |
{ "v8dbg_class_CallHandlerInfo__callback__Object", 0x4 }, |
170 |
{ "v8dbg_class_CallHandlerInfo__data__Object", 0x8 }, |
171 |
{ "v8dbg_class_Code__deoptimization_data__FixedArray", 0xc }, |
172 |
{ "v8dbg_class_Code__instruction_size__int", 0x4 }, |
173 |
{ "v8dbg_class_Code__instruction_start__int", 0x20 }, |
174 |
{ "v8dbg_class_Code__relocation_info__ByteArray", 0x8 }, |
175 |
{ "v8dbg_class_CodeCache__default_cache__FixedArray", 0x4 }, |
176 |
{ "v8dbg_class_CodeCache__normal_type_cache__Object", 0x8 }, |
177 |
{ "v8dbg_class_ConsString__first__String", 0xc }, |
178 |
{ "v8dbg_class_ConsString__second__String", 0x10 }, |
179 |
{ "v8dbg_class_DebugInfo__break_points__FixedArray", 0x14 }, |
180 |
{ "v8dbg_class_DebugInfo__code__Code", 0xc }, |
181 |
{ "v8dbg_class_DebugInfo__original_code__Code", 0x8 }, |
182 |
{ "v8dbg_class_DebugInfo__shared__SharedFunctionInfo", 0x4 }, |
183 |
{ "v8dbg_class_ExternalString__resource__Object", 0xc }, |
184 |
{ "v8dbg_class_FixedArray__data__uintptr_t", 0x8 }, |
185 |
{ "v8dbg_class_FixedArray__length__SMI", 0x4 }, |
186 |
{ "v8dbg_class_FunctionTemplateInfo__access_check_info__Object", 0x38 }, |
187 |
{ "v8dbg_class_FunctionTemplateInfo__call_code__Object", 0x10 }, |
188 |
{ "v8dbg_class_FunctionTemplateInfo__class_name__Object", 0x2c }, |
189 |
{ "v8dbg_class_FunctionTemplateInfo__flag__Smi", 0x3c }, |
190 |
{ "v8dbg_class_FunctionTemplateInfo__"
|
191 |
"indexed_property_handler__Object", 0x24 }, |
192 |
{ "v8dbg_class_FunctionTemplateInfo__"
|
193 |
"instance_call_handler__Object", 0x34 }, |
194 |
{ "v8dbg_class_FunctionTemplateInfo__instance_template__Object", 0x28 }, |
195 |
{ "v8dbg_class_FunctionTemplateInfo__"
|
196 |
"named_property_handler__Object", 0x20 }, |
197 |
{ "v8dbg_class_FunctionTemplateInfo__parent_template__Object", 0x1c }, |
198 |
{ "v8dbg_class_FunctionTemplateInfo__"
|
199 |
"property_accessors__Object", 0x14 }, |
200 |
{ "v8dbg_class_FunctionTemplateInfo__"
|
201 |
"prototype_template__Object", 0x18 }, |
202 |
{ "v8dbg_class_FunctionTemplateInfo__serial_number__Object", 0xc }, |
203 |
{ "v8dbg_class_FunctionTemplateInfo__signature__Object", 0x30 }, |
204 |
{ "v8dbg_class_GlobalObject__builtins__JSBuiltinsObject", 0xc }, |
205 |
{ "v8dbg_class_GlobalObject__global_context__Context", 0x10 }, |
206 |
{ "v8dbg_class_GlobalObject__global_receiver__JSObject", 0x14 }, |
207 |
{ "v8dbg_class_HeapNumber__value__SMI", 0x4 }, |
208 |
{ "v8dbg_class_HeapObject__map__Map", 0x0 }, |
209 |
{ "v8dbg_class_InterceptorInfo__data__Object", 0x18 }, |
210 |
{ "v8dbg_class_InterceptorInfo__deleter__Object", 0x10 }, |
211 |
{ "v8dbg_class_InterceptorInfo__enumerator__Object", 0x14 }, |
212 |
{ "v8dbg_class_InterceptorInfo__getter__Object", 0x4 }, |
213 |
{ "v8dbg_class_InterceptorInfo__query__Object", 0xc }, |
214 |
{ "v8dbg_class_InterceptorInfo__setter__Object", 0x8 }, |
215 |
{ "v8dbg_class_JSArray__length__Object", 0xc }, |
216 |
{ "v8dbg_class_JSFunction__literals__FixedArray", 0x1c }, |
217 |
{ "v8dbg_class_JSFunction__next_function_link__Object", 0x20 }, |
218 |
{ "v8dbg_class_JSFunction__prototype_or_initial_map__Object", 0x10 }, |
219 |
{ "v8dbg_class_JSFunction__shared__SharedFunctionInfo", 0x14 }, |
220 |
{ "v8dbg_class_JSGlobalProxy__context__Object", 0xc }, |
221 |
{ "v8dbg_class_JSMessageObject__arguments__JSArray", 0x10 }, |
222 |
{ "v8dbg_class_JSMessageObject__end_position__SMI", 0x24 }, |
223 |
{ "v8dbg_class_JSMessageObject__script__Object", 0x14 }, |
224 |
{ "v8dbg_class_JSMessageObject__stack_frames__Object", 0x1c }, |
225 |
{ "v8dbg_class_JSMessageObject__stack_trace__Object", 0x18 }, |
226 |
{ "v8dbg_class_JSMessageObject__start_position__SMI", 0x20 }, |
227 |
{ "v8dbg_class_JSMessageObject__type__String", 0xc }, |
228 |
{ "v8dbg_class_JSObject__elements__Object", 0x8 }, |
229 |
{ "v8dbg_class_JSObject__properties__FixedArray", 0x4 }, |
230 |
{ "v8dbg_class_JSRegExp__data__Object", 0xc }, |
231 |
{ "v8dbg_class_JSValue__value__Object", 0xc }, |
232 |
{ "v8dbg_class_Map__code_cache__Object", 0x18 }, |
233 |
{ "v8dbg_class_Map__constructor__Object", 0x10 }, |
234 |
{ "v8dbg_class_Map__inobject_properties__int", 0x5 }, |
235 |
{ "v8dbg_class_Map__instance_size__int", 0x4 }, |
236 |
{ "v8dbg_class_Map__instance_attributes__int", 0x8 }, |
237 |
{ "v8dbg_class_Map__instance_descriptors__DescriptorArray", 0x14 }, |
238 |
{ "v8dbg_class_ObjectTemplateInfo__constructor__Object", 0xc }, |
239 |
{ "v8dbg_class_ObjectTemplateInfo__"
|
240 |
"internal_field_count__Object", 0x10 }, |
241 |
{ "v8dbg_class_Oddball__to_number__Object", 0x8 }, |
242 |
{ "v8dbg_class_Oddball__to_string__String", 0x4 }, |
243 |
{ "v8dbg_class_Script__column_offset__Smi", 0x10 }, |
244 |
{ "v8dbg_class_Script__compilation_type__Smi", 0x24 }, |
245 |
{ "v8dbg_class_Script__context_data__Object", 0x18 }, |
246 |
{ "v8dbg_class_Script__data__Object", 0x14 }, |
247 |
{ "v8dbg_class_Script__eval_from_instructions_offset__Smi", 0x34 }, |
248 |
{ "v8dbg_class_Script__eval_from_shared__Object", 0x30 }, |
249 |
{ "v8dbg_class_Script__id__Object", 0x2c }, |
250 |
{ "v8dbg_class_Script__line_ends__Object", 0x28 }, |
251 |
{ "v8dbg_class_Script__line_offset__Smi", 0xc }, |
252 |
{ "v8dbg_class_Script__name__Object", 0x8 }, |
253 |
{ "v8dbg_class_Script__source__Object", 0x4 }, |
254 |
{ "v8dbg_class_Script__type__Smi", 0x20 }, |
255 |
{ "v8dbg_class_Script__wrapper__Proxy", 0x1c }, |
256 |
{ "v8dbg_class_SeqAsciiString__chars__char", 0xc }, |
257 |
{ "v8dbg_class_SharedFunctionInfo__code__Code", 0x8 }, |
258 |
{ "v8dbg_class_SharedFunctionInfo__compiler_hints__SMI", 0x50 }, |
259 |
{ "v8dbg_class_SharedFunctionInfo__construct_stub__Code", 0x10 }, |
260 |
{ "v8dbg_class_SharedFunctionInfo__debug_info__Object", 0x20 }, |
261 |
{ "v8dbg_class_SharedFunctionInfo__end_position__SMI", 0x48 }, |
262 |
{ "v8dbg_class_SharedFunctionInfo__"
|
263 |
"expected_nof_properties__SMI", 0x3c }, |
264 |
{ "v8dbg_class_SharedFunctionInfo__formal_parameter_count__SMI", 0x38 }, |
265 |
{ "v8dbg_class_SharedFunctionInfo__function_data__Object", 0x18 }, |
266 |
{ "v8dbg_class_SharedFunctionInfo__"
|
267 |
"function_token_position__SMI", 0x4c }, |
268 |
{ "v8dbg_class_SharedFunctionInfo__inferred_name__String", 0x24 }, |
269 |
{ "v8dbg_class_SharedFunctionInfo__initial_map__Object", 0x28 }, |
270 |
{ "v8dbg_class_SharedFunctionInfo__instance_class_name__Object", 0x14 }, |
271 |
{ "v8dbg_class_SharedFunctionInfo__length__SMI", 0x34 }, |
272 |
{ "v8dbg_class_SharedFunctionInfo__name__Object", 0x4 }, |
273 |
{ "v8dbg_class_SharedFunctionInfo__num_literals__SMI", 0x40 }, |
274 |
{ "v8dbg_class_SharedFunctionInfo__opt_count__SMI", 0x58 }, |
275 |
{ "v8dbg_class_SharedFunctionInfo__script__Object", 0x1c }, |
276 |
{ "v8dbg_class_SharedFunctionInfo__"
|
277 |
"start_position_and_type__SMI", 0x44 }, |
278 |
{ "v8dbg_class_SharedFunctionInfo__"
|
279 |
"this_property_assignments__Object", 0x2c }, |
280 |
{ "v8dbg_class_SharedFunctionInfo__"
|
281 |
"this_property_assignments_count__SMI", 0x54 }, |
282 |
{ "v8dbg_class_SignatureInfo__args__Object", 0x8 }, |
283 |
{ "v8dbg_class_SignatureInfo__receiver__Object", 0x4 }, |
284 |
{ "v8dbg_class_String__length__SMI", 0x4 }, |
285 |
{ "v8dbg_class_TemplateInfo__property_list__Object", 0x8 }, |
286 |
{ "v8dbg_class_TemplateInfo__tag__Object", 0x4 }, |
287 |
{ "v8dbg_class_TypeSwitchInfo__types__Object", 0x4 }, |
288 |
|
289 |
{ "v8dbg_parent_AccessCheckInfo__Struct", 0x0 }, |
290 |
{ "v8dbg_parent_AccessorInfo__Struct", 0x0 }, |
291 |
{ "v8dbg_parent_BreakPointInfo__Struct", 0x0 }, |
292 |
{ "v8dbg_parent_ByteArray__HeapObject", 0x0 }, |
293 |
{ "v8dbg_parent_CallHandlerInfo__Struct", 0x0 }, |
294 |
{ "v8dbg_parent_Code__HeapObject", 0x0 }, |
295 |
{ "v8dbg_parent_CodeCache__Struct", 0x0 }, |
296 |
{ "v8dbg_parent_ConsString__String", 0x0 }, |
297 |
{ "v8dbg_parent_DebugInfo__Struct", 0x0 }, |
298 |
{ "v8dbg_parent_DeoptimizationInputData__FixedArray", 0x0 }, |
299 |
{ "v8dbg_parent_DeoptimizationOutputData__FixedArray", 0x0 }, |
300 |
{ "v8dbg_parent_DescriptorArray__FixedArray", 0x0 }, |
301 |
{ "v8dbg_parent_ExternalArray__HeapObject", 0x0 }, |
302 |
{ "v8dbg_parent_ExternalAsciiString__ExternalString", 0x0 }, |
303 |
{ "v8dbg_parent_ExternalByteArray__ExternalArray", 0x0 }, |
304 |
{ "v8dbg_parent_ExternalFloatArray__ExternalArray", 0x0 }, |
305 |
{ "v8dbg_parent_ExternalIntArray__ExternalArray", 0x0 }, |
306 |
{ "v8dbg_parent_ExternalShortArray__ExternalArray", 0x0 }, |
307 |
{ "v8dbg_parent_ExternalString__String", 0x0 }, |
308 |
{ "v8dbg_parent_ExternalTwoByteString__ExternalString", 0x0 }, |
309 |
{ "v8dbg_parent_ExternalUnsignedByteArray__ExternalArray", 0x0 }, |
310 |
{ "v8dbg_parent_ExternalUnsignedIntArray__ExternalArray", 0x0 }, |
311 |
{ "v8dbg_parent_ExternalUnsignedShortArray__ExternalArray", 0x0 }, |
312 |
{ "v8dbg_parent_Failure__MaybeObject", 0x0 }, |
313 |
{ "v8dbg_parent_FixedArray__HeapObject", 0x0 }, |
314 |
{ "v8dbg_parent_FunctionTemplateInfo__TemplateInfo", 0x0 }, |
315 |
{ "v8dbg_parent_GlobalObject__JSObject", 0x0 }, |
316 |
{ "v8dbg_parent_HeapNumber__HeapObject", 0x0 }, |
317 |
{ "v8dbg_parent_HeapObject__Object", 0x0 }, |
318 |
{ "v8dbg_parent_InterceptorInfo__Struct", 0x0 }, |
319 |
{ "v8dbg_parent_JSArray__JSObject", 0x0 }, |
320 |
{ "v8dbg_parent_JSBuiltinsObject__GlobalObject", 0x0 }, |
321 |
{ "v8dbg_parent_JSFunction__JSObject", 0x0 }, |
322 |
{ "v8dbg_parent_JSFunctionResultCache__FixedArray", 0x0 }, |
323 |
{ "v8dbg_parent_JSGlobalObject__GlobalObject", 0x0 }, |
324 |
{ "v8dbg_parent_JSGlobalPropertyCell__HeapObject", 0x0 }, |
325 |
{ "v8dbg_parent_JSGlobalProxy__JSObject", 0x0 }, |
326 |
{ "v8dbg_parent_JSMessageObject__JSObject", 0x0 }, |
327 |
{ "v8dbg_parent_JSObject__HeapObject", 0x0 }, |
328 |
{ "v8dbg_parent_JSRegExp__JSObject", 0x0 }, |
329 |
{ "v8dbg_parent_JSRegExpResult__JSArray", 0x0 }, |
330 |
{ "v8dbg_parent_JSValue__JSObject", 0x0 }, |
331 |
{ "v8dbg_parent_Map__HeapObject", 0x0 }, |
332 |
{ "v8dbg_parent_NormalizedMapCache__FixedArray", 0x0 }, |
333 |
{ "v8dbg_parent_Object__MaybeObject", 0x0 }, |
334 |
{ "v8dbg_parent_ObjectTemplateInfo__TemplateInfo", 0x0 }, |
335 |
{ "v8dbg_parent_Oddball__HeapObject", 0x0 }, |
336 |
{ "v8dbg_parent_Script__Struct", 0x0 }, |
337 |
{ "v8dbg_parent_SeqAsciiString__SeqString", 0x0 }, |
338 |
{ "v8dbg_parent_SeqString__String", 0x0 }, |
339 |
{ "v8dbg_parent_SeqTwoByteString__SeqString", 0x0 }, |
340 |
{ "v8dbg_parent_SharedFunctionInfo__HeapObject", 0x0 }, |
341 |
{ "v8dbg_parent_SignatureInfo__Struct", 0x0 }, |
342 |
{ "v8dbg_parent_Smi__Object", 0x0 }, |
343 |
{ "v8dbg_parent_String__HeapObject", 0x0 }, |
344 |
{ "v8dbg_parent_Struct__HeapObject", 0x0 }, |
345 |
{ "v8dbg_parent_TemplateInfo__Struct", 0x0 }, |
346 |
{ "v8dbg_parent_TypeSwitchInfo__Struct", 0x0 }, |
347 |
|
348 |
{ "v8dbg_frametype_ArgumentsAdaptorFrame", 0x8 }, |
349 |
{ "v8dbg_frametype_ConstructFrame", 0x7 }, |
350 |
{ "v8dbg_frametype_EntryConstructFrame", 0x2 }, |
351 |
{ "v8dbg_frametype_EntryFrame", 0x1 }, |
352 |
{ "v8dbg_frametype_ExitFrame", 0x3 }, |
353 |
{ "v8dbg_frametype_InternalFrame", 0x6 }, |
354 |
{ "v8dbg_frametype_JavaScriptFrame", 0x4 }, |
355 |
{ "v8dbg_frametype_OptimizedFrame", 0x5 }, |
356 |
|
357 |
{ "v8dbg_off_fp_context", -0x4 }, |
358 |
{ "v8dbg_off_fp_function", -0x8 }, |
359 |
{ "v8dbg_off_fp_marker", -0x8 }, |
360 |
{ "v8dbg_off_fp_args", 0x8 }, |
361 |
|
362 |
{ "v8dbg_prop_idx_content", 0x0 }, |
363 |
{ "v8dbg_prop_idx_first", 0x2 }, |
364 |
{ "v8dbg_prop_type_field", 0x1 }, |
365 |
{ "v8dbg_prop_type_first_phantom", 0x6 }, |
366 |
{ "v8dbg_prop_type_mask", 0xf }, |
367 |
|
368 |
{ "v8dbg_AsciiStringTag", 0x4 }, |
369 |
{ "v8dbg_ConsStringTag", 0x1 }, |
370 |
{ "v8dbg_ExternalStringTag", 0x2 }, |
371 |
{ "v8dbg_FailureTag", 0x3 }, |
372 |
{ "v8dbg_FailureTagMask", 0x3 }, |
373 |
{ "v8dbg_FirstNonstringType", 0x80 }, |
374 |
{ "v8dbg_HeapObjectTag", 0x1 }, |
375 |
{ "v8dbg_HeapObjectTagMask", 0x3 }, |
376 |
{ "v8dbg_IsNotStringMask", 0x80 }, |
377 |
{ "v8dbg_NotStringTag", 0x80 }, |
378 |
{ "v8dbg_SeqStringTag", 0x0 }, |
379 |
{ "v8dbg_SmiTag", 0x0 }, |
380 |
{ "v8dbg_SmiTagMask", 0x1 }, |
381 |
{ "v8dbg_SmiValueShift", 0x1 }, |
382 |
{ "v8dbg_StringEncodingMask", 0x4 }, |
383 |
{ "v8dbg_StringRepresentationMask", 0x3 }, |
384 |
{ "v8dbg_StringTag", 0x0 }, |
385 |
{ "v8dbg_TwoByteStringTag", 0x0 }, |
386 |
{ "v8dbg_PointerSizeLog2", 0x2 }, |
387 |
|
388 |
{ NULL }
|
389 |
}; |
390 |
|
391 |
/*
|
392 |
* Canned configuration for the V8 bundled with Node.js v0.6.5.
|
393 |
*/
|
394 |
static v8_cfg_symbol_t v8_symbols_node_06[] = {
|
395 |
{ "v8dbg_type_AccessCheckInfo__ACCESS_CHECK_INFO_TYPE", 0x93 }, |
396 |
{ "v8dbg_type_AccessorInfo__ACCESSOR_INFO_TYPE", 0x92 }, |
397 |
{ "v8dbg_type_BreakPointInfo__BREAK_POINT_INFO_TYPE", 0x9e }, |
398 |
{ "v8dbg_type_ByteArray__BYTE_ARRAY_TYPE", 0x86 }, |
399 |
{ "v8dbg_type_CallHandlerInfo__CALL_HANDLER_INFO_TYPE", 0x95 }, |
400 |
{ "v8dbg_type_Code__CODE_TYPE", 0x81 }, |
401 |
{ "v8dbg_type_CodeCache__CODE_CACHE_TYPE", 0x9b }, |
402 |
{ "v8dbg_type_ConsString__CONS_ASCII_STRING_TYPE", 0x5 }, |
403 |
{ "v8dbg_type_ConsString__CONS_ASCII_SYMBOL_TYPE", 0x45 }, |
404 |
{ "v8dbg_type_ConsString__CONS_STRING_TYPE", 0x1 }, |
405 |
{ "v8dbg_type_ConsString__CONS_SYMBOL_TYPE", 0x41 }, |
406 |
{ "v8dbg_type_DebugInfo__DEBUG_INFO_TYPE", 0x9d }, |
407 |
{ "v8dbg_type_ExternalAsciiString__EXTERNAL_ASCII_STRING_TYPE", 0x6 }, |
408 |
{ "v8dbg_type_ExternalAsciiString__EXTERNAL_ASCII_SYMBOL_TYPE", 0x46 }, |
409 |
{ "v8dbg_type_ExternalByteArray__EXTERNAL_BYTE_ARRAY_TYPE", 0x87 }, |
410 |
{ "v8dbg_type_ExternalDoubleArray__EXTERNAL_DOUBLE_ARRAY_TYPE", 0x8e }, |
411 |
{ "v8dbg_type_ExternalFloatArray__EXTERNAL_FLOAT_ARRAY_TYPE", 0x8d }, |
412 |
{ "v8dbg_type_ExternalIntArray__EXTERNAL_INT_ARRAY_TYPE", 0x8b }, |
413 |
{ "v8dbg_type_ExternalPixelArray__EXTERNAL_PIXEL_ARRAY_TYPE", 0x8f }, |
414 |
{ "v8dbg_type_ExternalShortArray__EXTERNAL_SHORT_ARRAY_TYPE", 0x89 }, |
415 |
{ "v8dbg_type_ExternalTwoByteString__EXTERNAL_STRING_TYPE", 0x2 }, |
416 |
{ "v8dbg_type_ExternalTwoByteString__EXTERNAL_SYMBOL_TYPE", 0x42 }, |
417 |
{ "v8dbg_type_ExternalUnsignedByteArray__"
|
418 |
"EXTERNAL_UNSIGNED_BYTE_ARRAY_TYPE", 0x88 }, |
419 |
{ "v8dbg_type_ExternalUnsignedIntArray__"
|
420 |
"EXTERNAL_UNSIGNED_INT_ARRAY_TYPE", 0x8c }, |
421 |
{ "v8dbg_type_ExternalUnsignedShortArray__"
|
422 |
"EXTERNAL_UNSIGNED_SHORT_ARRAY_TYPE", 0x8a }, |
423 |
{ "v8dbg_type_FixedArray__FIXED_ARRAY_TYPE", 0x9f }, |
424 |
{ "v8dbg_type_FixedDoubleArray__FIXED_DOUBLE_ARRAY_TYPE", 0x90 }, |
425 |
{ "v8dbg_type_Foreign__FOREIGN_TYPE", 0x85 }, |
426 |
{ "v8dbg_type_FunctionTemplateInfo__FUNCTION_TEMPLATE_INFO_TYPE",
|
427 |
0x96 },
|
428 |
{ "v8dbg_type_HeapNumber__HEAP_NUMBER_TYPE", 0x84 }, |
429 |
{ "v8dbg_type_InterceptorInfo__INTERCEPTOR_INFO_TYPE", 0x94 }, |
430 |
{ "v8dbg_type_JSArray__JS_ARRAY_TYPE", 0xa8 }, |
431 |
{ "v8dbg_type_JSBuiltinsObject__JS_BUILTINS_OBJECT_TYPE", 0xa6 }, |
432 |
{ "v8dbg_type_JSFunction__JS_FUNCTION_TYPE", 0xac }, |
433 |
{ "v8dbg_type_JSFunctionProxy__JS_FUNCTION_PROXY_TYPE", 0xad }, |
434 |
{ "v8dbg_type_JSGlobalObject__JS_GLOBAL_OBJECT_TYPE", 0xa5 }, |
435 |
{ "v8dbg_type_JSGlobalPropertyCell__JS_GLOBAL_PROPERTY_CELL_TYPE",
|
436 |
0x83 },
|
437 |
{ "v8dbg_type_JSMessageObject__JS_MESSAGE_OBJECT_TYPE", 0xa1 }, |
438 |
{ "v8dbg_type_JSObject__JS_OBJECT_TYPE", 0xa3 }, |
439 |
{ "v8dbg_type_JSProxy__JS_PROXY_TYPE", 0xa9 }, |
440 |
{ "v8dbg_type_JSRegExp__JS_REGEXP_TYPE", 0xab }, |
441 |
{ "v8dbg_type_JSValue__JS_VALUE_TYPE", 0xa2 }, |
442 |
{ "v8dbg_type_JSWeakMap__JS_WEAK_MAP_TYPE", 0xaa }, |
443 |
{ "v8dbg_type_Map__MAP_TYPE", 0x80 }, |
444 |
{ "v8dbg_type_ObjectTemplateInfo__OBJECT_TEMPLATE_INFO_TYPE", 0x97 }, |
445 |
{ "v8dbg_type_Oddball__ODDBALL_TYPE", 0x82 }, |
446 |
{ "v8dbg_type_PolymorphicCodeCache__POLYMORPHIC_CODE_CACHE_TYPE",
|
447 |
0x9c },
|
448 |
{ "v8dbg_type_Script__SCRIPT_TYPE", 0x9a }, |
449 |
{ "v8dbg_type_SeqAsciiString__ASCII_STRING_TYPE", 0x4 }, |
450 |
{ "v8dbg_type_SeqAsciiString__ASCII_SYMBOL_TYPE", 0x44 }, |
451 |
{ "v8dbg_type_SeqTwoByteString__STRING_TYPE", 0x0 }, |
452 |
{ "v8dbg_type_SeqTwoByteString__SYMBOL_TYPE", 0x40 }, |
453 |
{ "v8dbg_type_SharedFunctionInfo__SHARED_FUNCTION_INFO_TYPE", 0xa0 }, |
454 |
{ "v8dbg_type_SignatureInfo__SIGNATURE_INFO_TYPE", 0x98 }, |
455 |
{ "v8dbg_type_SlicedString__SLICED_ASCII_STRING_TYPE", 0x7 }, |
456 |
{ "v8dbg_type_SlicedString__SLICED_STRING_TYPE", 0x3 }, |
457 |
{ "v8dbg_type_TypeSwitchInfo__TYPE_SWITCH_INFO_TYPE", 0x99 }, |
458 |
|
459 |
{ "v8dbg_class_AccessCheckInfo__data__Object", 0xc }, |
460 |
{ "v8dbg_class_AccessCheckInfo__indexed_callback__Object", 0x8 }, |
461 |
{ "v8dbg_class_AccessCheckInfo__named_callback__Object", 0x4 }, |
462 |
{ "v8dbg_class_AccessorInfo__data__Object", 0xc }, |
463 |
{ "v8dbg_class_AccessorInfo__flag__Smi", 0x14 }, |
464 |
{ "v8dbg_class_AccessorInfo__getter__Object", 0x4 }, |
465 |
{ "v8dbg_class_AccessorInfo__name__Object", 0x10 }, |
466 |
{ "v8dbg_class_AccessorInfo__setter__Object", 0x8 }, |
467 |
{ "v8dbg_class_BreakPointInfo__break_point_objects__Object", 0x10 }, |
468 |
{ "v8dbg_class_BreakPointInfo__code_position__Smi", 0x4 }, |
469 |
{ "v8dbg_class_BreakPointInfo__source_position__Smi", 0x8 }, |
470 |
{ "v8dbg_class_BreakPointInfo__statement_position__Smi", 0xc }, |
471 |
{ "v8dbg_class_CallHandlerInfo__callback__Object", 0x4 }, |
472 |
{ "v8dbg_class_CallHandlerInfo__data__Object", 0x8 }, |
473 |
{ "v8dbg_class_Code__deoptimization_data__FixedArray", 0xc }, |
474 |
{ "v8dbg_class_Code__instruction_size__int", 0x4 }, |
475 |
{ "v8dbg_class_Code__instruction_start__int", 0x20 }, |
476 |
{ "v8dbg_class_Code__next_code_flushing_candidate__Object", 0x10 }, |
477 |
{ "v8dbg_class_Code__relocation_info__ByteArray", 0x8 }, |
478 |
{ "v8dbg_class_CodeCache__default_cache__FixedArray", 0x4 }, |
479 |
{ "v8dbg_class_CodeCache__normal_type_cache__Object", 0x8 }, |
480 |
{ "v8dbg_class_ConsString__first__String", 0xc }, |
481 |
{ "v8dbg_class_ConsString__second__String", 0x10 }, |
482 |
{ "v8dbg_class_DebugInfo__break_points__FixedArray", 0x14 }, |
483 |
{ "v8dbg_class_DebugInfo__code__Code", 0xc }, |
484 |
{ "v8dbg_class_DebugInfo__original_code__Code", 0x8 }, |
485 |
{ "v8dbg_class_DebugInfo__shared__SharedFunctionInfo", 0x4 }, |
486 |
{ "v8dbg_class_ExternalString__resource__Object", 0xc }, |
487 |
{ "v8dbg_class_FixedArray__data__uintptr_t", 0x8 }, |
488 |
{ "v8dbg_class_FixedArrayBase__length__SMI", 0x4 }, |
489 |
{ "v8dbg_class_FunctionTemplateInfo__access_check_info__Object", 0x38 }, |
490 |
{ "v8dbg_class_FunctionTemplateInfo__call_code__Object", 0x10 }, |
491 |
{ "v8dbg_class_FunctionTemplateInfo__class_name__Object", 0x2c }, |
492 |
{ "v8dbg_class_FunctionTemplateInfo__flag__Smi", 0x3c }, |
493 |
{ "v8dbg_class_FunctionTemplateInfo__indexed_property_handler__Object",
|
494 |
0x24 },
|
495 |
{ "v8dbg_class_FunctionTemplateInfo__instance_call_handler__Object",
|
496 |
0x34 },
|
497 |
{ "v8dbg_class_FunctionTemplateInfo__instance_template__Object", 0x28 }, |
498 |
{ "v8dbg_class_FunctionTemplateInfo__named_property_handler__Object",
|
499 |
0x20 },
|
500 |
{ "v8dbg_class_FunctionTemplateInfo__parent_template__Object", 0x1c }, |
501 |
{ "v8dbg_class_FunctionTemplateInfo__property_accessors__Object",
|
502 |
0x14 },
|
503 |
{ "v8dbg_class_FunctionTemplateInfo__prototype_template__Object",
|
504 |
0x18 },
|
505 |
{ "v8dbg_class_FunctionTemplateInfo__serial_number__Object", 0xc }, |
506 |
{ "v8dbg_class_FunctionTemplateInfo__signature__Object", 0x30 }, |
507 |
{ "v8dbg_class_GlobalObject__builtins__JSBuiltinsObject", 0xc }, |
508 |
{ "v8dbg_class_GlobalObject__global_context__Context", 0x10 }, |
509 |
{ "v8dbg_class_GlobalObject__global_receiver__JSObject", 0x14 }, |
510 |
{ "v8dbg_class_HeapNumber__value__double", 0x4 }, |
511 |
{ "v8dbg_class_HeapObject__map__Map", 0x0 }, |
512 |
{ "v8dbg_class_InterceptorInfo__data__Object", 0x18 }, |
513 |
{ "v8dbg_class_InterceptorInfo__deleter__Object", 0x10 }, |
514 |
{ "v8dbg_class_InterceptorInfo__enumerator__Object", 0x14 }, |
515 |
{ "v8dbg_class_InterceptorInfo__getter__Object", 0x4 }, |
516 |
{ "v8dbg_class_InterceptorInfo__query__Object", 0xc }, |
517 |
{ "v8dbg_class_InterceptorInfo__setter__Object", 0x8 }, |
518 |
{ "v8dbg_class_JSArray__length__Object", 0xc }, |
519 |
{ "v8dbg_class_JSFunction__literals__FixedArray", 0x1c }, |
520 |
{ "v8dbg_class_JSFunction__next_function_link__Object", 0x20 }, |
521 |
{ "v8dbg_class_JSFunction__prototype_or_initial_map__Object", 0x10 }, |
522 |
{ "v8dbg_class_JSFunction__shared__SharedFunctionInfo", 0x14 }, |
523 |
{ "v8dbg_class_JSFunctionProxy__call_trap__Object", 0x8 }, |
524 |
{ "v8dbg_class_JSFunctionProxy__construct_trap__Object", 0xc }, |
525 |
{ "v8dbg_class_JSGlobalProxy__context__Object", 0xc }, |
526 |
{ "v8dbg_class_JSMessageObject__arguments__JSArray", 0x10 }, |
527 |
{ "v8dbg_class_JSMessageObject__end_position__SMI", 0x24 }, |
528 |
{ "v8dbg_class_JSMessageObject__script__Object", 0x14 }, |
529 |
{ "v8dbg_class_JSMessageObject__stack_frames__Object", 0x1c }, |
530 |
{ "v8dbg_class_JSMessageObject__stack_trace__Object", 0x18 }, |
531 |
{ "v8dbg_class_JSMessageObject__start_position__SMI", 0x20 }, |
532 |
{ "v8dbg_class_JSMessageObject__type__String", 0xc }, |
533 |
{ "v8dbg_class_JSObject__elements__Object", 0x8 }, |
534 |
{ "v8dbg_class_JSObject__properties__FixedArray", 0x4 }, |
535 |
{ "v8dbg_class_JSProxy__handler__Object", 0x4 }, |
536 |
{ "v8dbg_class_JSRegExp__data__Object", 0xc }, |
537 |
{ "v8dbg_class_JSValue__value__Object", 0xc }, |
538 |
{ "v8dbg_class_JSWeakMap__next__Object", 0x10 }, |
539 |
{ "v8dbg_class_JSWeakMap__table__ObjectHashTable", 0xc }, |
540 |
{ "v8dbg_class_Map__code_cache__Object", 0x18 }, |
541 |
{ "v8dbg_class_Map__constructor__Object", 0x10 }, |
542 |
{ "v8dbg_class_Map__inobject_properties__int", 0x5 }, |
543 |
{ "v8dbg_class_Map__instance_attributes__int", 0x8 }, |
544 |
{ "v8dbg_class_Map__instance_descriptors__FixedArray", 0x14 }, |
545 |
{ "v8dbg_class_Map__instance_size__int", 0x4 }, |
546 |
{ "v8dbg_class_Map__prototype_transitions__FixedArray", 0x1c }, |
547 |
{ "v8dbg_class_ObjectTemplateInfo__constructor__Object", 0xc }, |
548 |
{ "v8dbg_class_ObjectTemplateInfo__internal_field_count__Object",
|
549 |
0x10 },
|
550 |
{ "v8dbg_class_Oddball__to_number__Object", 0x8 }, |
551 |
{ "v8dbg_class_Oddball__to_string__String", 0x4 }, |
552 |
{ "v8dbg_class_PolymorphicCodeCache__cache__Object", 0x4 }, |
553 |
{ "v8dbg_class_Script__column_offset__Smi", 0x10 }, |
554 |
{ "v8dbg_class_Script__compilation_type__Smi", 0x24 }, |
555 |
{ "v8dbg_class_Script__context_data__Object", 0x18 }, |
556 |
{ "v8dbg_class_Script__data__Object", 0x14 }, |
557 |
{ "v8dbg_class_Script__eval_from_instructions_offset__Smi", 0x34 }, |
558 |
{ "v8dbg_class_Script__eval_from_shared__Object", 0x30 }, |
559 |
{ "v8dbg_class_Script__id__Object", 0x2c }, |
560 |
{ "v8dbg_class_Script__line_ends__Object", 0x28 }, |
561 |
{ "v8dbg_class_Script__line_offset__Smi", 0xc }, |
562 |
{ "v8dbg_class_Script__name__Object", 0x8 }, |
563 |
{ "v8dbg_class_Script__source__Object", 0x4 }, |
564 |
{ "v8dbg_class_Script__type__Smi", 0x20 }, |
565 |
{ "v8dbg_class_Script__wrapper__Foreign", 0x1c }, |
566 |
{ "v8dbg_class_SeqAsciiString__chars__char", 0xc }, |
567 |
{ "v8dbg_class_SharedFunctionInfo__code__Code", 0x8 }, |
568 |
{ "v8dbg_class_SharedFunctionInfo__compiler_hints__SMI", 0x50 }, |
569 |
{ "v8dbg_class_SharedFunctionInfo__construct_stub__Code", 0x10 }, |
570 |
{ "v8dbg_class_SharedFunctionInfo__debug_info__Object", 0x20 }, |
571 |
{ "v8dbg_class_SharedFunctionInfo__end_position__SMI", 0x48 }, |
572 |
{ "v8dbg_class_SharedFunctionInfo__expected_nof_properties__SMI",
|
573 |
0x3c },
|
574 |
{ "v8dbg_class_SharedFunctionInfo__formal_parameter_count__SMI", 0x38 }, |
575 |
{ "v8dbg_class_SharedFunctionInfo__function_data__Object", 0x18 }, |
576 |
{ "v8dbg_class_SharedFunctionInfo__function_token_position__SMI",
|
577 |
0x4c },
|
578 |
{ "v8dbg_class_SharedFunctionInfo__inferred_name__String", 0x24 }, |
579 |
{ "v8dbg_class_SharedFunctionInfo__initial_map__Object", 0x28 }, |
580 |
{ "v8dbg_class_SharedFunctionInfo__instance_class_name__Object", 0x14 }, |
581 |
{ "v8dbg_class_SharedFunctionInfo__length__SMI", 0x34 }, |
582 |
{ "v8dbg_class_SharedFunctionInfo__name__Object", 0x4 }, |
583 |
{ "v8dbg_class_SharedFunctionInfo__num_literals__SMI", 0x40 }, |
584 |
{ "v8dbg_class_SharedFunctionInfo__opt_count__SMI", 0x58 }, |
585 |
{ "v8dbg_class_SharedFunctionInfo__script__Object", 0x1c }, |
586 |
{ "v8dbg_class_SharedFunctionInfo__"
|
587 |
"start_position_and_type__SMI", 0x44 }, |
588 |
{ "v8dbg_class_SharedFunctionInfo__"
|
589 |
"this_property_assignments__Object", 0x2c }, |
590 |
{ "v8dbg_class_SharedFunctionInfo__"
|
591 |
"this_property_assignments_count__SMI", 0x54 }, |
592 |
{ "v8dbg_class_SignatureInfo__args__Object", 0x8 }, |
593 |
{ "v8dbg_class_SignatureInfo__receiver__Object", 0x4 }, |
594 |
{ "v8dbg_class_SlicedString__offset__SMI", 0x10 }, |
595 |
{ "v8dbg_class_String__length__SMI", 0x4 }, |
596 |
{ "v8dbg_class_TemplateInfo__property_list__Object", 0x8 }, |
597 |
{ "v8dbg_class_TemplateInfo__tag__Object", 0x4 }, |
598 |
{ "v8dbg_class_TypeSwitchInfo__types__Object", 0x4 }, |
599 |
|
600 |
{ "v8dbg_parent_AccessCheckInfo__Struct", 0x0 }, |
601 |
{ "v8dbg_parent_AccessorInfo__Struct", 0x0 }, |
602 |
{ "v8dbg_parent_BreakPointInfo__Struct", 0x0 }, |
603 |
{ "v8dbg_parent_ByteArray__FixedArrayBase", 0x0 }, |
604 |
{ "v8dbg_parent_CallHandlerInfo__Struct", 0x0 }, |
605 |
{ "v8dbg_parent_Code__HeapObject", 0x0 }, |
606 |
{ "v8dbg_parent_CodeCache__Struct", 0x0 }, |
607 |
{ "v8dbg_parent_ConsString__String", 0x0 }, |
608 |
{ "v8dbg_parent_DebugInfo__Struct", 0x0 }, |
609 |
{ "v8dbg_parent_DeoptimizationInputData__FixedArray", 0x0 }, |
610 |
{ "v8dbg_parent_DeoptimizationOutputData__FixedArray", 0x0 }, |
611 |
{ "v8dbg_parent_DescriptorArray__FixedArray", 0x0 }, |
612 |
{ "v8dbg_parent_ExternalArray__FixedArrayBase", 0x0 }, |
613 |
{ "v8dbg_parent_ExternalAsciiString__ExternalString", 0x0 }, |
614 |
{ "v8dbg_parent_ExternalByteArray__ExternalArray", 0x0 }, |
615 |
{ "v8dbg_parent_ExternalDoubleArray__ExternalArray", 0x0 }, |
616 |
{ "v8dbg_parent_ExternalFloatArray__ExternalArray", 0x0 }, |
617 |
{ "v8dbg_parent_ExternalIntArray__ExternalArray", 0x0 }, |
618 |
{ "v8dbg_parent_ExternalPixelArray__ExternalArray", 0x0 }, |
619 |
{ "v8dbg_parent_ExternalShortArray__ExternalArray", 0x0 }, |
620 |
{ "v8dbg_parent_ExternalString__String", 0x0 }, |
621 |
{ "v8dbg_parent_ExternalTwoByteString__ExternalString", 0x0 }, |
622 |
{ "v8dbg_parent_ExternalUnsignedByteArray__ExternalArray", 0x0 }, |
623 |
{ "v8dbg_parent_ExternalUnsignedIntArray__ExternalArray", 0x0 }, |
624 |
{ "v8dbg_parent_ExternalUnsignedShortArray__ExternalArray", 0x0 }, |
625 |
{ "v8dbg_parent_Failure__MaybeObject", 0x0 }, |
626 |
{ "v8dbg_parent_FixedArray__FixedArrayBase", 0x0 }, |
627 |
{ "v8dbg_parent_FixedArrayBase__HeapObject", 0x0 }, |
628 |
{ "v8dbg_parent_FixedDoubleArray__FixedArrayBase", 0x0 }, |
629 |
{ "v8dbg_parent_Foreign__HeapObject", 0x0 }, |
630 |
{ "v8dbg_parent_FunctionTemplateInfo__TemplateInfo", 0x0 }, |
631 |
{ "v8dbg_parent_GlobalObject__JSObject", 0x0 }, |
632 |
{ "v8dbg_parent_HashTable__FixedArray", 0x0 }, |
633 |
{ "v8dbg_parent_HeapNumber__HeapObject", 0x0 }, |
634 |
{ "v8dbg_parent_HeapObject__Object", 0x0 }, |
635 |
{ "v8dbg_parent_InterceptorInfo__Struct", 0x0 }, |
636 |
{ "v8dbg_parent_JSArray__JSObject", 0x0 }, |
637 |
{ "v8dbg_parent_JSBuiltinsObject__GlobalObject", 0x0 }, |
638 |
{ "v8dbg_parent_JSFunction__JSObject", 0x0 }, |
639 |
{ "v8dbg_parent_JSFunctionProxy__JSProxy", 0x0 }, |
640 |
{ "v8dbg_parent_JSFunctionResultCache__FixedArray", 0x0 }, |
641 |
{ "v8dbg_parent_JSGlobalObject__GlobalObject", 0x0 }, |
642 |
{ "v8dbg_parent_JSGlobalPropertyCell__HeapObject", 0x0 }, |
643 |
{ "v8dbg_parent_JSMessageObject__JSObject", 0x0 }, |
644 |
{ "v8dbg_parent_JSObject__JSReceiver", 0x0 }, |
645 |
{ "v8dbg_parent_JSProxy__JSReceiver", 0x0 }, |
646 |
{ "v8dbg_parent_JSReceiver__HeapObject", 0x0 }, |
647 |
{ "v8dbg_parent_JSRegExp__JSObject", 0x0 }, |
648 |
{ "v8dbg_parent_JSRegExpResult__JSArray", 0x0 }, |
649 |
{ "v8dbg_parent_JSValue__JSObject", 0x0 }, |
650 |
{ "v8dbg_parent_JSWeakMap__JSObject", 0x0 }, |
651 |
{ "v8dbg_parent_Map__HeapObject", 0x0 }, |
652 |
{ "v8dbg_parent_NormalizedMapCache__FixedArray", 0x0 }, |
653 |
{ "v8dbg_parent_ObjectTemplateInfo__TemplateInfo", 0x0 }, |
654 |
{ "v8dbg_parent_Oddball__HeapObject", 0x0 }, |
655 |
{ "v8dbg_parent_PolymorphicCodeCache__Struct", 0x0 }, |
656 |
{ "v8dbg_parent_Script__Struct", 0x0 }, |
657 |
{ "v8dbg_parent_SeqAsciiString__SeqString", 0x0 }, |
658 |
{ "v8dbg_parent_SeqString__String", 0x0 }, |
659 |
{ "v8dbg_parent_SeqTwoByteString__SeqString", 0x0 }, |
660 |
{ "v8dbg_parent_SharedFunctionInfo__HeapObject", 0x0 }, |
661 |
{ "v8dbg_parent_SignatureInfo__Struct", 0x0 }, |
662 |
{ "v8dbg_parent_SlicedString__String", 0x0 }, |
663 |
{ "v8dbg_parent_Smi__Object", 0x0 }, |
664 |
{ "v8dbg_parent_String__HeapObject", 0x0 }, |
665 |
{ "v8dbg_parent_Struct__HeapObject", 0x0 }, |
666 |
{ "v8dbg_parent_TemplateInfo__Struct", 0x0 }, |
667 |
{ "v8dbg_parent_TypeSwitchInfo__Struct", 0x0 }, |
668 |
|
669 |
{ "v8dbg_frametype_ArgumentsAdaptorFrame", 0x8 }, |
670 |
{ "v8dbg_frametype_ConstructFrame", 0x7 }, |
671 |
{ "v8dbg_frametype_EntryConstructFrame", 0x2 }, |
672 |
{ "v8dbg_frametype_EntryFrame", 0x1 }, |
673 |
{ "v8dbg_frametype_ExitFrame", 0x3 }, |
674 |
{ "v8dbg_frametype_InternalFrame", 0x6 }, |
675 |
{ "v8dbg_frametype_JavaScriptFrame", 0x4 }, |
676 |
{ "v8dbg_frametype_OptimizedFrame", 0x5 }, |
677 |
|
678 |
{ "v8dbg_off_fp_args", 0x8 }, |
679 |
{ "v8dbg_off_fp_context", -0x4 }, |
680 |
{ "v8dbg_off_fp_function", -0x8 }, |
681 |
{ "v8dbg_off_fp_marker", -0x8 }, |
682 |
|
683 |
{ "v8dbg_prop_idx_content", 0x1 }, |
684 |
{ "v8dbg_prop_idx_first", 0x3 }, |
685 |
{ "v8dbg_prop_type_field", 0x1 }, |
686 |
{ "v8dbg_prop_type_first_phantom", 0x6 }, |
687 |
{ "v8dbg_prop_type_mask", 0xf }, |
688 |
|
689 |
{ "v8dbg_AsciiStringTag", 0x4 }, |
690 |
{ "v8dbg_PointerSizeLog2", 0x2 }, |
691 |
{ "v8dbg_SeqStringTag", 0x0 }, |
692 |
{ "v8dbg_SmiTag", 0x0 }, |
693 |
{ "v8dbg_SmiTagMask", 0x1 }, |
694 |
{ "v8dbg_SmiValueShift", 0x1 }, |
695 |
{ "v8dbg_StringEncodingMask", 0x4 }, |
696 |
{ "v8dbg_StringRepresentationMask", 0x3 }, |
697 |
{ "v8dbg_StringTag", 0x0 }, |
698 |
{ "v8dbg_TwoByteStringTag", 0x0 }, |
699 |
{ "v8dbg_ConsStringTag", 0x1 }, |
700 |
{ "v8dbg_ExternalStringTag", 0x2 }, |
701 |
{ "v8dbg_FailureTag", 0x3 }, |
702 |
{ "v8dbg_FailureTagMask", 0x3 }, |
703 |
{ "v8dbg_FirstNonstringType", 0x80 }, |
704 |
{ "v8dbg_HeapObjectTag", 0x1 }, |
705 |
{ "v8dbg_HeapObjectTagMask", 0x3 }, |
706 |
{ "v8dbg_IsNotStringMask", 0x80 }, |
707 |
{ "v8dbg_NotStringTag", 0x80 }, |
708 |
|
709 |
{ NULL },
|
710 |
}; |
711 |
|
712 |
v8_cfg_t v8_cfg_04 = { "node-0.4", "node v0.4", v8_symbols_node_04, |
713 |
v8cfg_canned_iter, v8cfg_canned_readsym }; |
714 |
|
715 |
v8_cfg_t v8_cfg_06 = { "node-0.6", "node v0.6", v8_symbols_node_06, |
716 |
v8cfg_canned_iter, v8cfg_canned_readsym }; |
717 |
|
718 |
v8_cfg_t *v8_cfgs[] = { |
719 |
&v8_cfg_04, |
720 |
&v8_cfg_06, |
721 |
NULL
|
722 |
}; |
723 |
|
724 |
v8_cfg_t v8_cfg_target = { NULL, NULL, NULL, v8cfg_target_iter, |
725 |
v8cfg_target_readsym }; |