Apply this Render Layer to all IL blocks and disassembly blocks. If not implemented this will handle calling the view specific apply functions: - [`RenderLayer::apply_to_disassembly_block`] - [`RenderLayer::apply_to_llil_block`] - [`RenderLayer::apply_to_mlil_block`] - [`RenderLayer::apply_to_hlil_block`] Modify the lines to change the presentation of the block.
(
&self,
block: &BasicBlock<NativeBlock>,
lines: Vec<DisassemblyTextLine>,
)
| 274 | /// |
| 275 | /// Modify the lines to change the presentation of the block. |
| 276 | fn apply_to_block( |
| 277 | &self, |
| 278 | block: &BasicBlock<NativeBlock>, |
| 279 | lines: Vec<DisassemblyTextLine>, |
| 280 | ) -> Vec<DisassemblyTextLine> { |
| 281 | match block.block_type() { |
| 282 | BasicBlockType::Native => self.apply_to_disassembly_block(block, lines), |
| 283 | BasicBlockType::LowLevelIL => self.apply_to_llil_block(block, lines), |
| 284 | BasicBlockType::MediumLevelIL => self.apply_to_mlil_block(block, lines), |
| 285 | BasicBlockType::HighLevelIL => self.apply_to_hlil_block(block, lines), |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | #[repr(transparent)] |
no test coverage detected