From da48fde5958ad3eedcd3c4b82d7dc5b9428c9e93 Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Fri, 10 Feb 2023 13:19:07 -0500 Subject: Add DWARF Export This plugin exports: - Functions - Addresses - Name - Return type - Argument names and types - Data Variables - Name - Tyoe - Address - Types - All types in a BNDB except for: - TypeClass::FunctionTypeClass - TypeClass::VarArgsTypeClass - TypeClass::ValueTypeClass Current MAJOR TODOs include: - Finish exporting all the types - Verify what we export can be imported by other toosl - Auto-detect settings for the initial interaction dialouge - Allow the functions to be more easily called in a headless mode - Local function variable names and types - All my todo comments in the code --- rust/examples/dwarfexport/Cargo.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rust/examples/dwarfexport/Cargo.toml (limited to 'rust/examples/dwarfexport/Cargo.toml') diff --git a/rust/examples/dwarfexport/Cargo.toml b/rust/examples/dwarfexport/Cargo.toml new file mode 100644 index 00000000..a95bc4e6 --- /dev/null +++ b/rust/examples/dwarfexport/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "dwarfexport" +version = "0.1.0" +edition = "2021" + +[lib] +crate-type = ["cdylib"] + +[dependencies] +binaryninja = {path="../../"} +gimli = "^0.27" +log = "^0.4" +object = { version = "0.30.3", features = ["write"] } -- cgit v1.3.1