5#ifndef RUNTIME_VM_COMPILER_ASSEMBLER_DISASSEMBLER_H_
6#define RUNTIME_VM_COMPILER_ASSEMBLER_DISASSEMBLER_H_
13#if !defined(DART_PRECOMPILED_RUNTIME)
88#if !defined(PRODUCT) || defined(FORCE_INCLUDE_DISASSEMBLER)
128 const CodeComments* comments =
nullptr);
139 const CodeComments* comments) {
144#if !defined(PRODUCT) || defined(FORCE_INCLUDE_DISASSEMBLER)
147 if (!
code.IsNull()) {
158#if !defined(PRODUCT) || defined(FORCE_INCLUDE_DISASSEMBLER)
161 Disassemble(
start,
end, &stdout_formatter);
171#if !defined(PRODUCT) || defined(FORCE_INCLUDE_DISASSEMBLER)
174 Disassemble(
start,
end, &memory_formatter);
197 static void DisassembleStub(
const char*
name,
const Code&
code);
200 static void DisassembleCodeHelper(
const char* function_fullname,
201 const char* function_info,
205 static constexpr int kHexadecimalBufferSize = 32;
206 static constexpr int kUserReadableBufferSize = 256;
static uint32_t buffer_size(uint32_t offset, uint32_t maxAlignment)
~DisassembleToJSONStream()
DisassembleToJSONStream(const JSONArray &jsarr)
DisassembleToMemory(char *buffer, uintptr_t length)
virtual void ConsumeInstruction(char *hex_buffer, intptr_t hex_size, char *human_buffer, intptr_t human_size, Object *object, uword pc)
static void Disassemble(uword start, uword end, DisassemblyFormatter *formatter)
static void Disassemble(uword start, uword end, const Code &code)
static void Disassemble(uword start, uword end, char *buffer, uintptr_t buffer_size)
static void Disassemble(uword start, uword end, DisassemblyFormatter *formatter, const CodeComments *comments)
static void Disassemble(uword start, uword end)
static void DecodeInstruction(char *hex_buffer, intptr_t hex_size, char *human_buffer, intptr_t human_size, int *out_instr_len, const Code &code, Object **object, uword pc)
uint32_t uint32_t * format
Dart_NativeFunction function
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer