Skip to content

Add language representation API to Rust #6484

@emesare

Description

@emesare

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: Rust APIIssue needs changes to the Rust APIEffort: MediumIssue should take < 1 monthImpact: MediumIssue is impactful with a bad, or no, workaround

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions