From 6cd49edb317112acc73f7caeb285f4134a472d72 Mon Sep 17 00:00:00 2001 From: Fabian Freyer Date: Fri, 28 Jan 2022 01:36:26 +0100 Subject: rust: add linearview and related APIs This should include everything required to retrieve linear disassembly for a function. * add `highest_address` method to `Function` * add `DisassemblySettings` * add text getter for `InstructionTextToken` * add `LinearViewObject`, `LinearViewCursor` * add decompilation example --- rust/examples/decompile/Cargo.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rust/examples/decompile/Cargo.toml (limited to 'rust/examples/decompile/Cargo.toml') diff --git a/rust/examples/decompile/Cargo.toml b/rust/examples/decompile/Cargo.toml new file mode 100644 index 00000000..2a6ac3b1 --- /dev/null +++ b/rust/examples/decompile/Cargo.toml @@ -0,0 +1,10 @@ +[package] +name = "decompile" +version = "0.1.0" +authors = ["Fabian Freyer "] +edition = "2018" + +[dependencies] +binaryninja = {path="../../"} +clap = { version = "3.0", features = ["derive"] } + -- cgit v1.3.1