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

Method eligibility_settings

python/workflow.py:571–587  ·  view source on GitHub ↗

``eligibility_settings`` Retrieve the list of eligibility settings for the Workflow. :return: list of eligibility settings :rtype: list[str]

(self)

Source from the content-addressed store, hash-verified

569 core.BNWorkflowShowReport(self.handle, "topology")
570
571 def eligibility_settings(self) -> List[str]:
572 """
573 ``eligibility_settings`` Retrieve the list of eligibility settings for the Workflow.
574
575 :return: list of eligibility settings
576 :rtype: list[str]
577 """
578 length = ctypes.c_ulonglong()
579 result = core.BNWorkflowGetEligibilitySettings(self.handle, ctypes.byref(length))
580 assert result is not None, "core.BNWorkflowGetEligibilitySettings returned None"
581 out_list = []
582 try:
583 for i in range(length.value):
584 out_list.append(result[i].decode('utf-8'))
585 return out_list
586 finally:
587 core.BNFreeStringList(result, length.value)
588
589 @property
590 def machine(self):

Callers

nothing calls this directly

Calls 2

appendMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected