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

Method __str__

python/highlevelil.py:336–348  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

334 return ILInstruction[instr.operation](func, expr_index, core_instr, as_ast, instr_index)
335
336 def __str__(self):
337 settings = function.DisassemblySettings.default_settings()
338 settings.set_option(DisassemblyOption.DisableLineFormatting)
339 lines = self.get_lines(settings)
340 if lines is None:
341 return "invalid"
342 result = []
343 for line in lines:
344 cur = ""
345 for token in line.tokens:
346 cur += token.text
347 result.append(cur)
348 return '\n'.join(result)
349
350 def __repr__(self):
351 settings = function.DisassemblySettings.default_settings()

Callers

nothing calls this directly

Calls 5

get_linesMethod · 0.95
default_settingsMethod · 0.80
joinMethod · 0.80
set_optionMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected