Skip to content

Decompiling .dart.snapshot into Dart sourcecode #36826

@Reza-saeedi

Description

@Reza-saeedi

According to dart-lang/sdk:

Starting in 1.21, the Dart VM also supports application snapshots, which include all the parsed classes and compiled code generated during a training run of a program.

$ dart --snapshot=hello.dart.snapshot --snapshot-kind=app-jit hello.dart
Hello, world!
$ dart hello.dart.snapshot arguments-for-use
Hello, world!

Now,how can i decompile this hello.dart.snapshot file to hello.dart?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions