Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Trace Google V8 Source Code without IDE & Debugger

Dan Chen
August 16, 2019

Trace Google V8 Source Code without IDE & Debugger

A compact walkthrough example for beginners to trace Google V8 source code using grep only. Based on V8 v7.3 checkout.

Dan Chen

August 16, 2019
Tweet

More Decks by Dan Chen

Other Decks in Technology

Transcript

  1. Trace Google V8 Source Code without IDE & Debugger (Using

    grep Only... Learn V8 the “Hard” Way) Dan Chen | 2019/08/16
  2. Object └ HeapObject └ JSReceiver └ JSObject └ JSFunction +0x00

    : HeapObject::kMapOffset +0x08 : JSReceiver::kPropertiesOrHashOffset +0x10 : JSObject::kElementsOffset +0x18 : JSFunction::kSharedFunctionInfoOffset