Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riptl/binaryninja-ebpf
Binary Ninja eBPF & Solana plugin (disasm & LLIL)
https://github.com/riptl/binaryninja-ebpf
binary-ninja binary-ninja-plugin ebpf solana
Last synced: about 1 month ago
JSON representation
Binary Ninja eBPF & Solana plugin (disasm & LLIL)
- Host: GitHub
- URL: https://github.com/riptl/binaryninja-ebpf
- Owner: riptl
- License: apache-2.0
- Created: 2022-08-25T15:23:38.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-27T03:13:54.000Z (over 2 years ago)
- Last Synced: 2024-11-09T00:02:25.564Z (about 1 month ago)
- Topics: binary-ninja, binary-ninja-plugin, ebpf, solana
- Language: C++
- Homepage:
- Size: 49.8 KB
- Stars: 33
- Watchers: 3
- Forks: 6
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-web3-tools-and-dapps - Binary Ninja eBPF - This plugin uses Capstone to provide a disassembler and lifter for Solana's bytecode format. (dApps directory / Dissassemblers)
README
# Binary Ninja eBPF & Solana support
Author: **[terorie](https://github.com/terorie)**
This BN plugin implements a Capstone-powered disassembler and lifter for the Solana bytecode format.
Kernel eBPF support is WIP.
## Dependencies
```shell
# For Capstone v5
git submodule update --init# Binary Ninja SDK
git clone https://github.com/Vector35/binaryninja-api --depth=1# Qt6 (macOS)
brew install qt6
# Qt6 (Debian)
apt install qt6-base-dev libgl1-mesa-dev# An installation of Binary Ninja
# Use latest development build, stable is always broken
#
# macOS: /Applications/Binary Ninja.app
# Linux: ~/binaryninja
```## Building
```shell
mkdir build# protip: use -DHEADLESS=1 if you don't want to get Qt6
cmake -B build . -G Ninja -DBN_API_PATH=./binaryninja-apicmake --build build
```To install, copy or symlink `build/libarch_ebpf.so` into `~/.binaryninja/plugins`.
When starting BN, the log should display: `[Core] Loaded native plugin arch_ebpf`.