Doldrums : A Flutter/Dart Reverse Engineering Tool

Doldrums is a reverse engineering tool for Flutter apps targetting Android. Concretely, it is a parser and information extractor for the Flutter/Dart Android binary, conventionally named libapp.so, for all Dart version 2.10 releases. When run, it outputs a full dump of all classes present in the isolate snapshot.

The tool is currently in beta, and missing some deserialization routines and class information. If it does not work out-of-the-box, please let me know.

Dependencies

Doldrums requires pyelftools to parse the ELF format. You can install it with

pip3 install pyelftools

Usage

To use, simply run the following command, substituting libapp.so for the appropriate binary, and output for the desired output file. Note that the verbose option only works for Dart snapshot v2.12.

python3 src/main.py [-v] libapp.so output

The expected output is a dump of all classes, in the following format:

class MyApp extends StatelessWidget {
Widget build(DynamicType, DynamicType) {
Code at absolute offset: 0xec85c
}
String myPrint(DynamicType, DynamicType) {
Code at absolute offset: 0xeca80
}
}

The absolute code offset indicates the offset into the libapp.so file where the native function may be found.

R K

Recent Posts

Bootable Ubuntu USB Guide: Create One from Linux Fast

A Bootable Ubuntu USB is one of the most useful tools for Linux users. Whether…

1 day ago

VSFTPD FTP Server Setup on Ubuntu 20.04 Securely

Managing file transfers across networks remains a common requirement for businesses and administrators. A VSFTPD…

1 day ago

Install Asterisk Ubuntu: Complete Setup Guide for 2026

Voice communication remains a critical part of modern business operations, and Install Asterisk Ubuntu is…

1 day ago

VNC Server Ubuntu: Secure Remote Desktop Setup Guide

Managing Linux servers remotely is a common requirement for system administrators and developers. While command-line…

1 day ago

NFS Server Setup on Ubuntu 20.04: Complete Configuration Guide

Network file sharing remains an essential part of Linux infrastructure, and NFS Server Setup is…

2 days ago

Install Gitea Ubuntu: Complete Setup Guide for Developers

Managing source code efficiently is essential for modern software development, and Install Gitea Ubuntu is…

3 days ago