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

Method apply_to_disassembly_block

python/renderlayer.py:156–171  ·  view source on GitHub ↗

Apply this Render Layer to a single Basic Block of Disassembly lines. Subclasses should return a modified list of lines to be rendered in the UI. .. note:: This function will only handle Disassembly lines, and not any ILs. :param block: Basic Block containing those lines :param lines: O

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

Source from the content-addressed store, hash-verified

154 log_error(traceback.format_exc())
155
156 def apply_to_disassembly_block(
157 self,
158 block: 'binaryninja.BasicBlock',
159 lines: List['binaryninja.DisassemblyTextLine']
160 ) -> List['binaryninja.DisassemblyTextLine']:
161 """
162 Apply this Render Layer to a single Basic Block of Disassembly lines.
163 Subclasses should return a modified list of lines to be rendered in the UI.
164
165 .. note:: This function will only handle Disassembly lines, and not any ILs.
166
167 :param block: Basic Block containing those lines
168 :param lines: Original lines of text for the block
169 :return: Modified list of lines
170 """
171 return lines
172
173 def apply_to_low_level_il_block(
174 self,

Callers 1

apply_to_blockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected