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

Method default

python/lineformatter.py:50–59  ·  view source on GitHub ↗

Gets the default line formatter settings for High Level IL code.

(settings: Optional['function.DisassemblySettings'], hlil: 'highlevelil.HighLevelILFunction')

Source from the content-addressed store, hash-verified

48
49 @staticmethod
50 def default(settings: Optional['function.DisassemblySettings'], hlil: 'highlevelil.HighLevelILFunction') -> 'LineFormatterSettings':
51 """
52 Gets the default line formatter settings for High Level IL code.
53 """
54 if settings is not None:
55 settings = settings.handle
56 api_obj = core.BNGetDefaultLineFormatterSettings(settings, hlil.handle)
57 result = LineFormatterSettings._from_core_struct(api_obj[0])
58 core.BNFreeLineFormatterSettings(api_obj)
59 return result
60
61 @staticmethod
62 def language_representation_settings(

Callers

nothing calls this directly

Calls 1

_from_core_structMethod · 0.45

Tested by

no test coverage detected