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

Method apply_to_medium_level_il_block

python/renderlayer.py:191–207  ·  view source on GitHub ↗

Apply this Render Layer to a single Basic Block of Medium Level IL lines. Subclasses should return a modified list of lines to be rendered in the UI. .. note:: This function will only handle MLIL/MLIL(SSA)/Mapped MLIL/Mapped MLIL(SSA) lines. \ You can use the block's ``function_graph_type`

(
			self,
			block: 'binaryninja.MediumLevelILBasicBlock',
			lines: List['binaryninja.DisassemblyTextLine']
	)

Source from the content-addressed store, hash-verified

189 return lines
190
191 def apply_to_medium_level_il_block(
192 self,
193 block: 'binaryninja.MediumLevelILBasicBlock',
194 lines: List['binaryninja.DisassemblyTextLine']
195 ) -> List['binaryninja.DisassemblyTextLine']:
196 """
197 Apply this Render Layer to a single Basic Block of Medium Level IL lines.
198 Subclasses should return a modified list of lines to be rendered in the UI.
199
200 .. note:: This function will only handle MLIL/MLIL(SSA)/Mapped MLIL/Mapped MLIL(SSA) lines. \
201 You can use the block's ``function_graph_type`` property to determine which is being handled.
202
203 :param block: Basic Block containing those lines
204 :param lines: Original lines of text for the block
205 :return: Modified list of lines
206 """
207 return lines
208
209 def apply_to_high_level_il_block(
210 self,

Callers 1

apply_to_blockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected