BinaryNinja - DWARF Plugin¶
Export as DWARF¶
BinaryNinja builtin plugin
Binary Ninja already embeds a DWARF export plugin that exposes most of the functionality provided by this plugin. However, this plugin exports additional information, such as stack variables and basic blocks.
To export DWARF information from a BinaryNinja BinaryView representation, use the menu: Plugins > LIEF > Export as DWARF

Support & Limitations¶
This extension tries to convert most of the information registered in a BinaryView into DWARF structures, but this support is not exhaustive; here is an overview of what is and is not exported.
BinaryNinja::BinaryView
Function
Data Variables
Types
Comments
BinaryNinja::Function
Name
Address range
Parameters
Type of parameters
Return type
Stack variables
Types of stack variables
Basic Blocks
Comments
BinaryNinja::DataVariable
Name
Type
Address
Comments
BinaryNinja::Type
BNTypeClass::VoidTypeClassBNTypeClass::BoolTypeClassBNTypeClass::IntegerTypeClassBNTypeClass::FloatTypeClassBNTypeClass::PointerTypeClassBNTypeClass::PointerTypeClassBNTypeClass::StructureTypeClassBNTypeClass::ClassStructureTypeBNTypeClass::UnionStructureTypeBNTypeClass::StructStructureType
BNTypeClass::EnumerationTypeClassBNTypeClass::NamedTypeReferenceClassBNTypeClass::ArrayTypeClassBNTypeClass::WideCharTypeClassBNTypeClass::FunctionTypeClassBNTypeClass::VarArgsTypeClassBNTypeClass::ValueTypeClass
Any types not mentioned here are not supported.