Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DebugPrint: 0x2beb08215ee9: [JSArray] in OldSpace
- map: 0x2beb08247399 <Map(HOLEY_DOUBLE_ELEMENTS)> [FastProperties]
- prototype: 0x2beb0820b899 <JSArray[1]>
- elements: 0x2beb08215ed9 <FixedDoubleArray[1]> [HOLEY_DOUBLE_ELEMENTS]
- length: 1
- properties: 0x2beb082166d9 <PropertyArray[3]>
- All own properties (excluding elements): {
0x2beb080446d1: [String] in ReadOnlySpace: #length: 0x2beb0818215d <AccessorInfo> (const accessor descriptor), location: descriptor
0x2beb08044115: [String] in ReadOnlySpace: #constructor: 0x2beb0821661d <JSFunction (sfi = 0x2beb08213349)> (const data field 0), location: properties[0]
}
- elements: 0x2beb08215ed9 <FixedDoubleArray[1]> {
0: <the_hole>
}
0x2beb08247399: [Map]
- type: JS_ARRAY_TYPE
- instance size: 16
- inobject properties: 0
- elements kind: HOLEY_DOUBLE_ELEMENTS
- unused property fields: 2
- enum length: invalid
- stable_map
- back pointer: 0x2beb08243a19 <Map(HOLEY_DOUBLE_ELEMENTS)>
- prototype_validity cell: 0x2beb08213439 <Cell value= 0>
- instance descriptors (own) #2: 0x2beb082166b1 <DescriptorArray[2]>
[0]: 0x2beb080446d1: [String] in ReadOnlySpace: #length (const accessor descriptor, p: 1, attrs: [W__]) [ const ] @ 0x2beb0818215d <AccessorInfo>
[1]: 0x2beb08044115: [String] in ReadOnlySpace: #constructor (const data field 0:t, p: 0, attrs: [WEC]) [ const ] @ Any
- prototype: 0x2beb0820b899 <JSArray[1]>
- constructor: 0x2beb0820b635 <JSFunction Array (sfi = 0x2beb0818ac2d)>
- dependent code: 0x2beb080421b9 <Other heap object (WEAK_FIXED_ARRAY_TYPE)>
- construction counter: 0
DebugPrint: 0x2beb08215f79: [JSTypedArray] in OldSpace
- map: 0x2beb082432e9 <Map(FLOAT64ELEMENTS)> [FastProperties]
- prototype: 0x2beb08209e4d <Object map = 0x2beb08243311>
- elements: 0x2beb08215f31 <ByteArray[64]> [FLOAT64ELEMENTS]
- embedder fields: 2
- buffer: 0x2beb08215ef9 <ArrayBuffer map = 0x2beb082431f9>
- byte_offset: 0
- byte_length: 64
- length: 8
- data_ptr: 0x2beb08215f38
- base_pointer: 0x8215f31
- external_pointer: 0x2beb00000007
- properties: 0x2beb0804222d <FixedArray[0]>
- All own properties (excluding elements): {}
- elements: 0x2beb08215f31 <ByteArray[64]> {
0: 1.1
1-7: 0
}
- embedder fields = {
0, aligned pointer: (nil)
0, aligned pointer: (nil)
}
0x2beb082432e9: [Map]
- type: JS_TYPED_ARRAY_TYPE
- instance size: 68
- inobject properties: 0
- elements kind: FLOAT64ELEMENTS
- unused property fields: 0
- enum length: invalid
- stable_map
- back pointer: 0x2beb080423b5 <undefined>
- prototype_validity cell: 0x2beb08182405 <Cell value= 1>
- instance descriptors (own) #0: 0x2beb080421c1 <Other heap object (STRONG_DESCRIPTOR_ARRAY_TYPE)>
- prototype: 0x2beb08209e4d <Object map = 0x2beb08243311>
- constructor: 0x2beb08209dd5 <JSFunction Float64Array (sfi = 0x2beb08189b95)>
- dependent code: 0x2beb080421b9 <Other heap object (WEAK_FIXED_ARRAY_TYPE)>
- construction counter: 0
[New Thread 529.530]
Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
[ Legend: Modified register | Code | Heap | Stack | String ]
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── registers ────
$rax : 0x0
$rbx : 0x00002beb00000000 → 0x00007ffc7fc9f148 → 0x00002beb00000000 → [loop detected]
$rcx : 0x000055f25e3494a0 → <Builtins_CallRuntimeHandler+0> push rbp
$rdx : 0x00002beb00000000 → 0x00007ffc7fc9f148 → 0x00002beb00000000 → [loop detected]
$rsp : 0x00007ffc7fc9e8c0 → 0x00007ffc7fc9e8f0 → 0x00007ffc7fc9e910 → 0x00007ffc7fc9e930 → 0x00007ffc7fc9e9b0 → 0x00007ffc7fc9e9d8 → 0x00007ffc7fc9ea40 → 0x00007ffc7fc9eb90
$rbp : 0x00007ffc7fc9e8c0 → 0x00007ffc7fc9e8f0 → 0x00007ffc7fc9e910 → 0x00007ffc7fc9e930 → 0x00007ffc7fc9e9b0 → 0x00007ffc7fc9e9d8 → 0x00007ffc7fc9ea40 → 0x00007ffc7fc9eb90
$rsi : 0x00007ffc7fc9e980 → 0x00002beb080423b5 → 0x0000000000080423
$rdi : 0x0
$rip : 0x000055f25e3c6105 → <v8::base::OS::DebugBreak()+5> pop rbp
$r8 : 0x00002beb08212f69 → 0x810000000c082442
$r9 : 0x21b
$r10 : 0xa
$r11 : 0xfffffffffffffffa
$r12 : 0x000055f25f918a40 → 0x0000000000000000
$r13 : 0x00002beb00000000 → 0x00007ffc7fc9f148 → 0x00002beb00000000 → [loop detected]
$r14 : 0x0
$r15 : 0x000055f25f916ee0 → 0x1baddead0baddeaf
$eflags: [zero carry PARITY adjust sign trap INTERRUPT direction overflow resume virtualx86 identification]
$cs: 0x0033 $ss: 0x002b $ds: 0x0000 $es: 0x0000 $fs: 0x0000 $gs: 0x0000
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── stack ────
0x00007ffc7fc9e8c0│+0x0000: 0x00007ffc7fc9e8f0 → 0x00007ffc7fc9e910 → 0x00007ffc7fc9e930 → 0x00007ffc7fc9e9b0 → 0x00007ffc7fc9e9d8 → 0x00007ffc7fc9ea40 → 0x00007ffc7fc9eb90 ← $rsp, $rbp
0x00007ffc7fc9e8c8│+0x0008: 0x000055f25dd371e5 → <v8::internal::Runtime_SystemBreak(int,+0> mov r14, QWORD PTR [rbx+0x90]
0x00007ffc7fc9e8d0│+0x0010: 0x000055f25dd371b0 → <v8::internal::Runtime_SystemBreak(int,+0> push rbp
0x00007ffc7fc9e8d8│+0x0018: 0x000055f25e569800 → 0x0000000000000000
0x00007ffc7fc9e8e0│+0x0020: 0x0000000000000000
0x00007ffc7fc9e8e8│+0x0028: 0x00007ffc7fc9e980 → 0x00002beb080423b5 → 0x0000000000080423
0x00007ffc7fc9e8f0│+0x0030: 0x00007ffc7fc9e910 → 0x00007ffc7fc9e930 → 0x00007ffc7fc9e9b0 → 0x00007ffc7fc9e9d8 → 0x00007ffc7fc9ea40 → 0x00007ffc7fc9eb90 → 0x00007ffc7fc9ec20
0x00007ffc7fc9e8f8│+0x0038: 0x000055f25e2ba1d3 → <Builtins_CEntry_Return1_DontSaveFPRegs_ArgvInRegister_NoBuiltinExit+51> cmp eax, DWORD PTR [r13+0x170]
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── code:x86:64 ────
0x55f25e3c6100 <v8::base::OS::DebugBreak()+0> push rbp
0x55f25e3c6101 <v8::base::OS::DebugBreak()+1> mov rbp, rsp
0x55f25e3c6104 <v8::base::OS::DebugBreak()+4> int3
→ 0x55f25e3c6105 <v8::base::OS::DebugBreak()+5> pop rbp
0x55f25e3c6106 <v8::base::OS::DebugBreak()+6> ret
0x55f25e3c6107 int3
0x55f25e3c6108 int3
0x55f25e3c6109 int3
0x55f25e3c610a int3
──────────────────────────────────────────────────────────────────────────────────────────────────── source:../../src/base/[...].cc+532 ────
527 #elif V8_HOST_ARCH_RISCV64
528 asm("ebreak");
529 #else
530 #error Unsupported host architecture.
531 #endif
→ 532 }
533
534
535 class PosixMemoryMappedFile final : public OS::MemoryMappedFile {
536 public:
537 PosixMemoryMappedFile(FILE* file, void* memory, size_t size)
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── threads ────
[#0] Id 1, stopped 0x55f25e3c6105 in v8::base::OS::DebugBreak (), reason: SIGTRAP
[#1] Id 2, stopped 0x7f23affbc711 in clone (), reason: SIGTRAP
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── trace ────
[#0] 0x55f25e3c6105 → v8::base::OS::DebugBreak()
[#1] 0x55f25dd371e5 → v8::internal::__RT_impl_Runtime_SystemBreak(isolate=0x2beb00000000, args=<optimized out>)
[#2] 0x55f25dd371e5 → v8::internal::Runtime_SystemBreak(args_length=0x0, args_object=0x7ffc7fc9e980, isolate=0x2beb00000000)
[#3] 0x55f25e2ba1d3 → Builtins_CEntry_Return1_DontSaveFPRegs_ArgvInRegister_NoBuiltinExit()
[#4] 0x55f25e3494eb → Builtins_CallRuntimeHandler()
[#5] 0x55f25e2506db → Builtins_InterpreterEntryTrampoline()
[#6] 0x2beb08215a7d → and ah, BYTE PTR [rax+rcx*1]
[#7] 0x2beb08215a61 → and ah, BYTE PTR [rax+rcx*1]
[#8] 0x2beb08215a45 → and ah, BYTE PTR [rax+rcx*1]
[#9] 0x2beb08215cc1 → jae 0x2beb08215ce7
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
v8::base::OS::DebugBreak () at ../../src/base/platform/platform-posix.cc:532
532 }
gef➤ telescope 0x2beb08215ed8 100
0x00002beb08215ed8│+0x0000: 0x0000000208042a99 <--- elements
0x00002beb08215ee0│+0x0008: 0xfff7fffffff7ffff
0x00002beb08215ee8│+0x0010: 0x082166d908247399
0x00002beb08215ef0│+0x0018: 0x0000000208215ed9
0x00002beb08215ef8│+0x0020: 0x0804222d082431f9
0x00002beb08215f00│+0x0028: 0x000000400804222d
0x00002beb08215f08│+0x0030: 0x0000000000000000
0x00002beb08215f10│+0x0038: 0x0000000000000000
0x00002beb08215f18│+0x0040: 0x0000000300000000
0x00002beb08215f20│+0x0048: 0x0000000000000000
0x00002beb08215f28│+0x0050: 0x0000000000000000
0x00002beb08215f30│+0x0058: 0x0000008008042509
0x00002beb08215f38│+0x0060: 0x3ff199999999999a <---- ByteArray
0x00002beb08215f40│+0x0068: 0x0000000000000000
0x00002beb08215f48│+0x0070: 0x0000000000000000
0x00002beb08215f50│+0x0078: 0x0000000000000000
0x00002beb08215f58│+0x0080: 0x0000000000000000
0x00002beb08215f60│+0x0088: 0x0000000000000000
0x00002beb08215f68│+0x0090: 0x0000000000000000
0x00002beb08215f70│+0x0098: 0x0000000000000000
0x00002beb08215f78│+0x00a0: 0x0804222d082432e9 <---- JSTypedArray object
0x00002beb08215f80│+0x00a8: 0x08215ef908215f31
0x00002beb08215f88│+0x00b0: 0x0000000000000000
0x00002beb08215f90│+0x00b8: 0x0000000000000040 ("@"?)
0x00002beb08215f98│+0x00c0: 0x0000000000000008
0x00002beb08215fa0│+0x00c8: 0x00002beb00000007 → 0x0000000000000000
0x00002beb08215fa8│+0x00d0: 0x0000000008215f31
0x00002beb08215fb0│+0x00d8: 0x0000000000000000
0x00002beb08215fb8│+0x00e0: 0x080425a900000000
0x00002beb08215fc0│+0x00e8: 0x0000001ca716f42a
0x00002beb08215fc8│+0x00f0: 0x6f6974636e756628
0x00002beb08215fd0│+0x00f8: 0x6d796e6f6e61206e
0x00002beb08215fd8│+0x0100: 0x7b20290a2873756f
0x00002beb08215fe0│+0x0108: 0x08042559297d0a0a
0x00002beb08215fe8│+0x0110: 0x0000000200000306
0x00002beb08215ff0│+0x0118: 0x0000010000000000
gef➤
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment