Skip to content

Add language representation API to Rust #6484

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
emesare opened this issue Mar 13, 2025 · 0 comments · May be fixed by #6621
Open

Add language representation API to Rust #6484

emesare opened this issue Mar 13, 2025 · 0 comments · May be fixed by #6621
Labels
Component: Rust API Issue needs changes to the Rust API Effort: Medium Issue should take < 1 month Impact: Medium Issue is impactful with a bad, or no, workaround

Comments

@emesare
Copy link
Member

emesare commented Mar 13, 2025

Currently the language representation API (see C++: https://github.com/Vector35/binaryninja-api/blob/dev/languagerepresentation.cpp) is only exposed in python and C++ this was done as there was a large scale refactor occurring for rust at the time. The language representation API should now be implemented in the Rust API as all of the dependent API's (text token related stuff) has been implemented and tested for the Rust render layers API.

For the rust side the render layer API offers a lot of example code that could be used as reference: https://github.com/Vector35/binaryninja-api/blob/dev/rust/src/render_layer.rs

See the C++ impl of language representation as well: https://github.com/Vector35/binaryninja-api/blob/dev/languagerepresentation.cpp

@emesare emesare added the Component: Rust API Issue needs changes to the Rust API label Mar 13, 2025
@xusheng6 xusheng6 added Effort: Medium Issue should take < 1 month Impact: Medium Issue is impactful with a bad, or no, workaround labels Mar 18, 2025
@emesare emesare linked a pull request Apr 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Rust API Issue needs changes to the Rust API Effort: Medium Issue should take < 1 month Impact: Medium Issue is impactful with a bad, or no, workaround
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants