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

Method apply_to_high_level_il_block

python/renderlayer.py:209–229  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

207 return lines
208
209 def apply_to_high_level_il_block(
210 self,
211 block: 'binaryninja.HighLevelILBasicBlock',
212 lines: List['binaryninja.DisassemblyTextLine']
213 ) -> List['binaryninja.DisassemblyTextLine']:
214 """
215 Apply this Render Layer to a single Basic Block of High Level IL lines.
216 Subclasses should return a modified list of lines to be rendered in the UI.
217
218 .. note:: This function will only handle HLIL/HLIL(SSA)/Language Representation lines. \
219 You can use the block's ``function_graph_type`` property to determine which is being handled.
220
221 .. warning:: This function will NOT apply to High Level IL bodies as displayed \
222 in Linear View! Those are handled by ``apply_to_high_level_il_body`` instead as they \
223 do not have a Basic Block associated with them.
224
225 :param block: Basic Block containing those lines
226 :param lines: Original lines of text for the block
227 :return: Modified list of lines
228 """
229 return lines
230
231 def apply_to_high_level_il_body(
232 self,

Callers 1

apply_to_blockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected