summaryrefslogtreecommitdiff
path: root/rust/examples
AgeCommit message (Collapse)Author
2023-04-07Disable DWARF Export by default for stableKyleMiles
2023-03-17Fix dwarfexport CMakeLists.txt (Now Includes Mac Builds!)KyleMiles
2023-03-08DWARF Export; add CIKyleMiles
2023-03-08DWARF Export Plugin : Fix circular references causing infinite recursionKyleMiles
2023-02-20Rust API : Add minidump exampleCindy Xiao
Squashed commit message history: Initial commit chore: Add files from cargo new, Binary Ninja Rust API template chore: Add README feat: Add basic plugin registration code feat: Add command to print memory information from minidump I can't believe this actually worked the first time feat: Set up registration of Minidump BinaryView type Also set architecture based on contents of MinidumpSystemInfo stream in the minidump. feat: Perform basic segment mapping from MinidumpMemoryList, MinidumpMemory64List feat: Read and apply memory segment protection info from MinidumpMemoryInfoList feat: Log action to add segments at info level docs: Update readme with build instructions, screenshot style: Minor cleanup of types refactor: Remove use of unwrap when parsing raw BaseRVA docs: Add doc comments to view module feat: More logging in print_memory_information command, remove unwrap refactor: Add struct for representing memory protection flags fix: Correct information about difference between MinidumpMemoryList, MinidumpMemory64List MinidumpMemory64List is always used for "full dumps", i.e. dumps which include the full process memory. It does not have to do with 64-bit segments specifically. docs: Clarify Windows-only support for now in README fix: First try to find full dump memory in MinidumpMemory64List before looking for partial dump memory in MinidumpMemoryList docs: Update README with examples of how to generate minidumps feat: Parse module information in MinidumpModuleList, and add modules as sections docs: Add information about unsupported features docs: Update README with screenshots, explanation of memory map docs: Update TODOs in BinaryViewBase impl Rust Minidump example : Clippy appeasements; remove network dependency
2023-02-14Add DWARF ExportKyleMiles
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
2023-01-06Rust API: Lots and lots of clippy changesKyleMiles
2023-01-06Fix update copyright year leftoverXusheng
2023-01-05Bump to 2021Joe Rozner
2022-09-29Fix updated rust apiGlenn Smith
2022-09-29[Rust API] Add support for MetadataGlenn Smith
2022-08-31Rust API : Major docs update (still need detailed module and function ↵KyleMiles
documentation)
2022-08-29Rust API Examples : Fix uses of `InstructionTextToken::new`KyleMiles
2022-06-23Rust API: Update basic_script Cargo.lockrose
2022-06-08Generate fat binary for Mac Rust pluginsRusty Wagner
2022-02-14Rust: Minor tweaks to 2890; merge architecture::InstructionTextToken and ↵KyleMiles
disassembly::InstructionTextToken; update examples
2022-02-14rust: add linearview and related APIsFabian Freyer
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
2022-02-11Rust: Update `basic_script`'s Cargo.lockKyleMiles
2022-02-03CMake: consistency with arch/platform pluginsGlenn Smith
2022-02-02Fancier CMake: find scripts, out-of-tree example buildsGlenn Smith
2022-01-28Format All FilesKyleMiles
2021-08-10Rust API : Remove nightly requirement; Remove custom Clang args to simplify ↵KyleMiles
getting bindgen to work
2021-08-05Correctly detect if the current build is executed on the build serverXusheng
2021-07-05Remove unneccessary target on Rust example to build on native platformRusty Wagner
2021-06-29Rust API : No longer update to latest cargo nightly; Add link args back to ↵KyleMiles
-sys to reduce build errors
2021-06-29Resolves #2521; Rust API Linking ErrorsKyleMiles
2021-05-11Rust API : Better headless support; Introducing `binaryninja::open_view` and ↵KyleMiles
`binaryninja::open_view_with_options`, updated init/shutdown, script example, more setting support, and misc fixes
2021-04-28Fix wrong CorePluginABIVersion, plugin_abi_version, and ↵Markus Piéton
plugin_abi_minimum_version
2021-03-18Better type supportKyleMiles
2021-03-17Misc typo changes, const changes, code cleanup, and example updatesKyleMiles
2021-01-21cargo fmt and all my changesKyleMiles