Module types

Module types 

Source
Expand description

The model for representing types in Binary Ninja.

Type’s are fundamental to analysis. With types, you can influence how decompilation resolves accesses, renders data, and tell the analysis of properties such as volatility and constness.

Types are typically stored within a BinaryView, TypeArchive or a TypeLibrary.

Types can be created using the TypeBuilder or one of the convenience functions. Another way to create a type is with a TypeParser if you have C type definitions.

Some interfaces may expect to be passed a TypeContainer which itself does not store any type information, rather a generic interface to query for types by name or by id.

Re-exports§

pub use archive::TypeArchive;
pub use archive::TypeArchiveId;
pub use archive::TypeArchiveSnapshotId;
pub use container::TypeContainer;
pub use enumeration::Enumeration;
pub use enumeration::EnumerationBuilder;
pub use enumeration::EnumerationMember;
pub use library::TypeLibrary;
pub use parser::CoreTypeParser;
pub use parser::ParsedType;
pub use parser::TypeParser;
pub use parser::TypeParserError;
pub use parser::TypeParserErrorSeverity;
pub use parser::TypeParserResult;
pub use printer::CoreTypePrinter;
pub use printer::TypePrinter;
pub use structure::BaseStructure;
pub use structure::InheritedStructureMember;
pub use structure::Structure;
pub use structure::StructureBuilder;
pub use structure::StructureMember;
pub use crate::qualified_name::QualifiedName;

Modules§

archive
container
enumeration
library
parser
printer
structure

Structs§

FunctionParameter
NameAndType
NamedTypeReference
QualifiedNameAndType
QualifiedNameTypeAndId
Type
The core model for types in Binary Ninja.
TypeBuilder

Type Aliases§

IntegerDisplayType
MemberAccess
MemberScope
NamedTypeReferenceClass
PointerBaseType
ReferenceType
StructureType
TypeClass