MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / apply_to_hlil_block

Method apply_to_hlil_block

rust/src/render_layer.rs:229–235  ·  view source on GitHub ↗

Apply this Render Layer to a single Basic Block of High Level IL lines. Modify the lines to change the presentation of the block. This function will NOT apply to High Level IL bodies as displayed in Linear View! Those are handled by [`RenderLayer::apply_to_hlil_body`] instead as they do not have a [`BasicBlock`] associated with them.

(
        &self,
        _block: &BasicBlock<NativeBlock>,
        lines: Vec<DisassemblyTextLine>,
    )

Source from the content-addressed store, hash-verified

227 /// Those are handled by [`RenderLayer::apply_to_hlil_body`] instead as they do not
228 /// have a [`BasicBlock`] associated with them.
229 fn apply_to_hlil_block(
230 &self,
231 _block: &BasicBlock<NativeBlock>,
232 lines: Vec<DisassemblyTextLine>,
233 ) -> Vec<DisassemblyTextLine> {
234 lines
235 }
236
237 /// Apply this Render Layer to the entire body of a High Level IL function.
238 ///

Callers 1

apply_to_blockMethod · 0.80

Implementers 2

test_render_layer_registerrust/tests/render_layer.rs
test_render_layer_linear_viewrust/tests/render_layer.rs

Calls

no outgoing calls

Tested by

no test coverage detected