Sunflower is an open-source, user-friendly, crossplatform disassembler and plugin-driven system designed for binary analysis.
Was inspired by IDA, ReDasm, Binary Ninja, Ghidra, PEAnathomist, CFFExplrer, Semi VB Decompiler, and other various toolkits.
Main idea was "Make a hybrid architecture and avoid any embedded functional".
This repository contains just loader details and the client.
This repository includes following parts of my work:
- Base definitions (
abstractions) - Plugins manager (
kernel) - Avalonia client (
client) - Core Disassembler (
dasm)
Note
Sources of plugins contains in SunFlower.Plugins repository and not depend on this reporsitory life
User interface inherits completely not only Avalonia Fluent Theme.
This project was migrated from WPF where main UI decorations were in a HandyControls assembly.
The experimental HandyControls.Avalonia assembly was included. The controls design concept
mostly bases on handy controls, In any case, I tried to follow this UI concept
The second idea was a friendly user interface and the most minimal user experience concept. That's why you can't see a system/user control menu here. To operate with any project entry/user control you should to use a command palette.
First [ ]-rounded arguments tell what UI components or input are needed to execute a command.
Shorten command arguments are means:
$- Slice/Sized object#- Numeric object/Quantity@- Order/Ordinal of object
Tip
Command "[$Hex] Struct Layout" accepts an active Hex tab
and selection of bytes in this active tab.
Every release of Sunflower here contains not only four core components. In releases always will be represented plugins for definition
MZExecutables (real-mode x86 applications);NEsegmented Executables (first protected-mode x86 applications);LEOS/2-Windows386 executables;LXOS/2-ArcaOS standard executables;PEWindows NT stndard applications;- MS-DOS
PIFfiles. A-OutIris/Solaris/Plan9/other Unix plain executables;ELFLinux/BSD executables
But you sunflower gives a chance to make your own extension of it and run it with all plugins too.
For making new sunflower plugin:
- Create Visual Studio solution.
- Add reference
SunFlower.Abstractions.dll - Make sure: no differences between Client app version and Abstractions
- Read documents at the end of "README"!
- Build and Drop .DLL into
%Application%/Plugins - Run SunFlower and see what you can!
- Versions incompatibility - Unfortunately Sunflower plugins which are differ the foundation are incompatible. Any differences between foundation file version and plugins foundation calls force exit (means conflict behaviour).
All frameworks and toolkits
- .NET
8.0- Foundation of everything - Avalonia XPF
11.3- Foundation of crossplatform client - HandyControls - better Window controls / little MVVM experience
- Markdown.Avalonia instead of Monaco Editor and JavaScript bindings
- Avalonia Hex
- Avalonia Edit
- Avalonia Dock
Tip
At the moment of publishing Sunflower the HandyControls not supports
Avalonia. In the /external directory exists experimental assembly of
HandyControls for Avalonia.
- Plugins development notes (5.x) - first stages & abstractions application
- Plugins develoment notes (1.x-4.x) - stages & abstractions application
- Versioning notes - Which plugins/extensions are be accepted by Sunflower kernel


