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

Method apply_to_high_level_il_body

python/renderlayer.py:231–248  ·  view source on GitHub ↗

Apply this Render Layer to the entire body of a High Level IL function. Subclasses should return a modified list of lines to be rendered in the UI. .. warning:: This function only applies to Linear View, and not to Graph View! \ If you want to handle Graph View too, you will need to use ``

(
			self,
			function: 'binaryninja.Function',
			lines: List['binaryninja.LinearDisassemblyLine']
	)

Source from the content-addressed store, hash-verified

229 return lines
230
231 def apply_to_high_level_il_body(
232 self,
233 function: 'binaryninja.Function',
234 lines: List['binaryninja.LinearDisassemblyLine']
235 ) -> List['binaryninja.LinearDisassemblyLine']:
236 """
237 Apply this Render Layer to the entire body of a High Level IL function.
238 Subclasses should return a modified list of lines to be rendered in the UI.
239
240 .. warning:: This function only applies to Linear View, and not to Graph View! \
241 If you want to handle Graph View too, you will need to use ``apply_to_high_level_il_block`` \
242 and handle the lines one block at a time.
243
244 :param function: Function containing those lines
245 :param lines: Original lines of text for the function
246 :return: Modified list of lines
247 """
248 return lines
249
250 def apply_to_misc_linear_lines(
251 self,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected